Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : Development : Indicative scared roach
New Topic New Poll Post Reply
Poster Message
averagemoe
Level: Smiter
Avatar
Rank Points: 490
Registered: 03-22-2012
IP: Logged

File: Scared queen.hold (24.4 KB)
Downloaded 61 times.
License: Public Domain
icon Indicative scared roach (+1)  
I found these two sets of unused tiles for alternate roach queens in the TSS Custom Elements pack and thought I'd do something with them. So I decided to make an improvement to the concept of scared roaches.

Attached is an anyone edit hold demonstrating my work.

This funny looking roach queen behaves exactly like the "scared roach" custom element, but when you scare it away, it's markings turn yellow. When it goes back into "attack" mode they return to red. And to think I only had to add two commands to the script and one custom character with no default script to make it happen.

____________________________
The internet is no place to act like a wild animal.

[Last edited by averagemoe at 10-09-2015 07:10 PM]
10-09-2015 at 07:09 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
averagemoe
Level: Smiter
Avatar
Rank Points: 490
Registered: 03-22-2012
IP: Logged
icon Re: Indicative scared roach (0)  
It came to my attention that I may need to specifically state that people have my permission to use these things. You all do by the way. In fact, I'd be pretty drat thrilled if TSS was updated to use these in Beethro's Mansion.

____________________________
The internet is no place to act like a wild animal.
10-24-2015 at 05:14 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
averagemoe
Level: Smiter
Avatar
Rank Points: 490
Registered: 03-22-2012
IP: Logged

File: Scared Roach Deluxe.hold (22.6 KB)
Downloaded 4 times.
License: Public Domain
icon Re: Indicative scared roach (+4)  
So, I got to thinking about the fact that the script for the Scared Roach uses more than twenty variables to define where the flashlight is. That's a lot of variables. I figured that there must be a more efficient way to do that.

Well, the flashlight uses build markers to indicate it's cone of influence, so I made it so the roaches just look for whether they're standing on a build marker.

It was kind of an interesting problem, making them able to detect the flashlight on both the start and end of their move. I had to actually make them check if the square they're about to move to has a build marker before they move to it.

This means it's also fully compatible with any flashlight shape you make out of build markers.

(By the way, I put the script for the flashlight in the "yellow markings" version of the roach. It wears multiple hats.)

As a bonus, I also set it up so that they can handle invisibility and alternate targets. The rule I came up with is that they will be attracted to things like normal roaches, but always flee from the player if they get scared, and will keep fleeing in the same direction even if they can't see the player.

____________________________
The internet is no place to act like a wild animal.

[Last edited by averagemoe at 05-14-2024 12:35 AM]
05-12-2024 at 06:33 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
RoboBob3000
Level: Smitemaster
Avatar
Rank Points: 1980
Registered: 10-23-2003
IP: Logged
icon Re: Indicative scared roach (+2)  
As the guy who created the initial Scared Roach script, I'm pleased to see that someone is looking at it and improving it! I haven't looked at this hold, but I fully endorse the changes you're making, as they sound pretty clever. Good stuff.

____________________________
http://beepsandbloops.wordpress.com/
05-16-2024 at 06:42 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
averagemoe
Level: Smiter
Avatar
Rank Points: 490
Registered: 03-22-2012
IP: Logged

File: timebomb.png (113.8 KB)
Downloaded 67 times.
License: Public Domain
icon Re: Indicative scared roach (+1)  
For what it's worth, here's another thing I've been working on.

A modification of the graphic for the Hand Bomb from RPG that I made for a variation on the "Bomberman" mechanic seen in TSS's post mastery level. The shortening fuse provides a visual countdown to when it detonates. (Obviously, this isn't the actual image used for the script. It's so wide it had to be split across two characters.)

____________________________
The internet is no place to act like a wild animal.
05-18-2024 at 05:20 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : Development : Indicative scared roach
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.