Scripting a checkpoint

For Descent, Descent II and Descent3 level editing and modification assistance.
Post Reply
User avatar
Sapphire Wolf
DBB Admiral
DBB Admiral
Posts: 1463
Joined: Mon Nov 24, 2003 3:01 am
Location: Nope.avi , gender: male
Contact:

Scripting a checkpoint

Post by Sapphire Wolf »

How do I script a checkpoint, you know, where you respawn after you die. What should I do?

Any solutions?
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

For future reference, D3Edit topics go in Descent Development, not the Coders' Corner.

And there's no scripting required for waypoints. Just add one to the level (they're on the Object bar I believe, they used to be on the Sound bar a while ago). When the player runs over the waypoint, D3 will remember. When the player dies, he will respawn at the last waypoint he touched.
User avatar
Sapphire Wolf
DBB Admiral
DBB Admiral
Posts: 1463
Joined: Mon Nov 24, 2003 3:01 am
Location: Nope.avi , gender: male
Contact:

Post by Sapphire Wolf »

thank you
User avatar
DarkFlameWolf
DBB Admiral
DBB Admiral
Posts: 1022
Joined: Sat Mar 13, 2004 9:21 pm
Location: North Carolina

Post by DarkFlameWolf »

there's gotta be more specific than that. Is the waypoint like a portal or an object that the player must get NEAR to activate?
User avatar
Sapphire Wolf
DBB Admiral
DBB Admiral
Posts: 1463
Joined: Mon Nov 24, 2003 3:01 am
Location: Nope.avi , gender: male
Contact:

Post by Sapphire Wolf »

DCrazy wrote:For future reference, D3Edit topics go in Descent Development, not the Coders' Corner.

And there's no scripting required for waypoints. Just add one to the level (they're on the Object bar I believe, they used to be on the Sound bar a while ago). When the player runs over the waypoint, D3 will remember. When the player dies, he will respawn at the last waypoint he touched.
Actually, they're on the sound bar. I Think
DarkFlameWolf wrote:there's gotta be more specific than that. Is the waypoint like a portal or an object that the player must get NEAR to activate?
Hmmmmm... Good Question.

I think Gameedit.com should include a description about waypoint.
Arbitar
DBB Ace
DBB Ace
Posts: 186
Joined: Sun Apr 04, 2004 1:49 am

Post by Arbitar »

you heard the man Skyalmian :wink:
User avatar
Interceptor6
DBB Ace
DBB Ace
Posts: 138
Joined: Sat Mar 01, 2003 3:01 am
Location: baton rouge, LA, USA

Post by Interceptor6 »

You only need to go in the room with the waypoint to activate it. It is an object, placed in the level. It is on the sound bar (for some unknown reason).
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

Are you guys running the absolute latest version of D3Edit? I could have sworn that at some point OtherOne moved the Waypoint button to the Object bar.

OG3 used waypoints as well. If you died in the middle of a race, you respawned at the last waypoint you touched. Unfortunately, collisions with waypoints are never reported to the mod, so we had to use "special" room flags (S1, S2, etc.) -- we called them checkpoints -- to determine where players were, and waypoints to respawn them at certain locations. This limited the number of checkpoints in a level to 5 + the starting line (room S1).

[edit]You only need to go into the room with the waypoint in it? No wonder collisions with waypoints are never noted, because they never happen...[/edit]
Post Reply