Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.


Caravel Forum : DROD Boards : Feature Requests : Time stop potion/token
New Topic New Poll Post Reply
Poster Message
GerAvos
Level: Delver
Avatar
Rank Points: 46
Registered: 05-28-2016
IP: Logged
icon Time stop potion/token (0)  
It's just an idea. I do believe this game has more than enough objects, though I wanted to share this idea.

If you step on it, time will stop, allowing you to make moves without enemies or anything else making moves. If you press Tab, time will continue. Continuing time counts as a move, so when you press Tab, it counts as a move.

During stopped time you can't kill enemies, hit orbs, activate fuses, destroy bombs or destroy tarstuff and you can walk through potions. Not sure about if scripts should pause.

Additionally, the screen could turn black and white when time is stopped.
06-02-2016 at 02:11 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Nuntar
Level: Smitemaster
Avatar
Rank Points: 3086
Registered: 02-20-2007
IP: Logged
icon Re: Time stop potion/token (0)  
While you can't replicate this exact effect with scripting, you can "freeze" all enemies with the scripting command Set player stealth On.

Here's a little script that turns stealth on when you step on a character, and removes it when the player inputs Special command (not Tab). For this to work, you should have a custom graphic for the character, with its North image being the token's default image, Northeast being the token when activated. The character should not be set to visible -- that makes the player unable to step on it. Imperative 13 is "Ghost display", which makes the character appear in the room despite being "invisible".

Note that the player can break stealth themselves by killing a monster, and this will not change the display mode back to normal. You would need more complex scripting for that, but it could be done.

  Imperative 13
Label loop
  Wait for player to touch me 
  Face direction northeast
  Set player stealth On
  Display Filter B+W
  Wait for player to input Special Command
  Face direction North
  Set player stealth Off
  Display Filter Normal
  Go to loop



____________________________
50th Skywatcher

[Last edited by Nuntar at 06-02-2016 03:02 PM]
06-02-2016 at 02:59 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Xindaris
Level: Smiter
Avatar
Rank Points: 423
Registered: 06-13-2015
IP: Logged
icon Re: Time stop potion/token (0)  
All you'd really need to make it abort when a monster is stabbed/orb is hit/etc. is a couple more labels and a "testing" loop, something with a few commands like:

Label Stealth End Check
If
Wait for event [whatever]
Goto Timestop Over
If End
(more copies of the above four lines for the other events, and one for player inputting special command)
Wait 0
Goto Stealth End Check

I'm not sure how to make the player unable to drink potions though. Maybe make every potion a ghost-display character that builds the relevant potion when the player steps on it unless the player currently has stealth?

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text


[Last edited by Xindaris at 06-02-2016 03:59 PM]
06-02-2016 at 03:58 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : Time stop potion/token
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.