Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
ShadowRunner

Scripted marine path nodes help.

Recommended Posts

I'm a bit lost and can't seem to find help about this at zdoom.org

But i've got about a couple of scripted marine objects on my map, Well i want to give them a custom color, some actions, and see how it goes from there. The only problem is I can't find help or tutorials about this in the editing section at the zdoom website.

Someone help.

Share this post


Link to post

Yeah, I've tried patrol routes but can't seem to get it right. I'll pm you the wad that i was talking about and you can still me if i messed up a script or node or something.

Share this post


Link to post

If you don't know how to script, you can put a linedef that when you cross it activate the "thing, follow node path" (I don't remember the name), id of the thing, and id of the first path node are needed.
If you want your marine not to attack players also add a line with "thing hate (factor 6)", an id for the same thing and an id for a hated thing are needed (the hated thing doesn't need to be an existing one).
Be sure to put first the thinghate line, and then the other. Another way, is via voodoo dolls in a dumb sector with floor moving, put three lines in that sector, one for the thing hate, another for the follow node, and another for a teleport that warp the voodoo doll to the begining of the dumb sector, so the it is activated all the time (the lines must have a cross-trigger and re flag).

The reason for the last one is because if you shot the scripted marine while is walking he stop in the place if the lines are not activaded in a continue way.

I don't remember id number, but there are scripted with all the weapons, just look in google for "scripted marine with shotgun" and you'll find the list. I suggest you copy it into your editor (DB I suppose) cfg and add a library of scripted marines as I did.

Share this post


Link to post

Heres the script i have so far.
-------------------------------------------------------------------
SCRIPT 12 (VOID)
{
Teleport_NoFog (90);
print(s:"\cgSimulation training complete.");
Delay(35*2);
print(s:"\cgSimulation terminated.");
Delay(35*2);
Light_Fade(14, 175, 175);
Generic_Door (18, 100, 1, 0, 0);
setplayerproperty(1, 1, prop_totallyfrozen);
Delay(35*4);
print(s:"\cgRedMarine:Identification please.");
Delay(35*4);
print(s:"\ciMichael:Cole, Michael, Age 24.");
Delay(35*4);
print(s:"\chBlueMarine:Ah Michael, how did your simulation go?.");
Delay(35*4);
print(s:"\ciMichael:It went just fine.");
Delay(35*4);
print(s:"\cgRedMarine:Commander Banks is expecting you in the lobby.");
Delay(35*4);
print(s:"\chBlueMarine:We'll let you through.");
Thing_SetGoal (89, 6, 2);
Delay(35*2);
Pillar_Open (19, 10, 0, 0);
setplayerproperty(1, 0, prop_totallyfrozen);
Thing_SetGoal (89, 8, 2);
}
--------------------------------------------------------------------

Yes, this is part of Gauntlet Doom.
You people didn't see anything!

Share this post


Link to post

Just look at your avatar and you'll see why you can't make it work

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×