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 : Player Role: Me
New Topic New Poll Post Reply
Poster Message
12th Archivist
Level: Smitemaster
Avatar
Rank Points: 789
Registered: 12-07-2008
IP: Logged
icon Player Role: Me (0)  
I noticed that there is no way in TCB to move the player without using Go To: Level Entrance commands (which resets the room, of course). Being able to move the player could open some puzzle potential, but it would also make some cutscenes easier to script.

One way of resolving this would be to have the option of setting the role of the player to a character's coordinate data, orientation, and other script effects.

(Another, and probably better, way of resolving this would be to just use the _X, _Y, _O, etc. variables that ought to be in GatEB, but whatever.)

____________________________
It was going well until it exploded.
~Scott Manley

Check out the DROD Wikia project here!
01-22-2012 at 07:18 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged
icon Re: Player Role: Me (0)  
Actually, it is possible.

I am not sure when it was implemented, but to teleport player you have to (looking at Drod's 3.2 source code, Character.cpp#3012-3026):

1. Make sure player is not visible; this means during a cutscene set player's role to None
2. Use "Turn Into Monster" with an NPC which IS NOT a monster

Player insta-appears at the position of this given character with the character's orientation and his role is set to the characters's role. Additionally, the character becomes invisible. This is not a "free" command and it will stop commands execution for this given turn.

____________________________
My website | Facebook | Twitter

[Last edited by skell at 01-22-2012 08:02 PM]
01-22-2012 at 07:59 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
12th Archivist
Level: Smitemaster
Avatar
Rank Points: 789
Registered: 12-07-2008
IP: Logged
icon Re: Player Role: Me (0)  
skell wrote:
Actually, it is possible.
Good! Thank you for your help in confirming this.

Having the RPG's variables available in the next classic version would be quite nice, though.

____________________________
It was going well until it exploded.
~Scott Manley

Check out the DROD Wikia project here!
01-22-2012 at 08:20 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Penwielder
Level: Smitemaster
Rank Points: 628
Registered: 09-12-2009
IP: Logged
icon Re: Player Role: Me (0)  
I think I've heard once or twice that the DROD 4 will have all the applicable scripting advancements of DROD RPG. I could be wrong, though.

____________________________
Penwielder's Palace, Detention Complex, Archipelago, Cube of Memories
01-22-2012 at 08:47 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5056
Registered: 02-04-2003
IP: Logged
icon Re: Player Role: Me (+1)  
Penwielder wrote:
I think I've heard once or twice that the DROD 4 will have all the applicable scripting advancements of DROD RPG. I could be wrong, though.
We do have the X,Y,O player position script vars implemented for DROD 4.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
01-23-2012 at 08:19 PM
View Profile Send Private Message to User Send Email 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 : Player Role: Me
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.