Triggers
Moderator: Moderators
- XenoPHoXx_NL
- Sergeant
- Posts: 53
- Joined: Thu Feb 16, 2006 11:26 pm
- Contact:
Triggers
Hi guys me again
Im having a problem
Im trying to complete my map but i only want 1 thing in it
a coaster ( adventure park)
i saw a map called snowhill and there was an minecar following a track
im not sure how it is been done.
I thought it has a trigger_push or something
Does someone here know how to make some kind of thing like a rollercoaster and drive the player in a minecar around the map?
Any reply is nice
Thx again greetzz X
Im having a problem
Im trying to complete my map but i only want 1 thing in it
a coaster ( adventure park)
i saw a map called snowhill and there was an minecar following a track
im not sure how it is been done.
I thought it has a trigger_push or something
Does someone here know how to make some kind of thing like a rollercoaster and drive the player in a minecar around the map?
Any reply is nice
Thx again greetzz X
Can't Win The Game? Change The Rules!
- XenoPHoXx_NL
- Sergeant
- Posts: 53
- Joined: Thu Feb 16, 2006 11:26 pm
- Contact:
well it isnt
this is for driving a truck around i mean for let a brush move around
i know the func_door works best but they go only strait in one line
90,180,360,270 degrees what im looking for is going up in a line of 45degrees and then a drop of 40 degrees and making left or right turns
this is for driving a truck around i mean for let a brush move around
i know the func_door works best but they go only strait in one line
90,180,360,270 degrees what im looking for is going up in a line of 45degrees and then a drop of 40 degrees and making left or right turns
Can't Win The Game? Change The Rules!
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
I made that truck drive around my map and on the last waypoint i made its target the first waypoint (wap1) and it ends up at the first waypoint then stops.
Question:
1.how do I make it keep going on that loop?
2. If I use clipping on the truck how does it stick to while its moving, should i give the truck a targetname and give the clipping a target or what?
Cause i want to be able to jump in the back without falling through. lol
Thx
bout time i had a mapping question
Question:
1.how do I make it keep going on that loop?
2. If I use clipping on the truck how does it stick to while its moving, should i give the truck a targetname and give the clipping a target or what?
Cause i want to be able to jump in the back without falling through. lol
Thx
bout time i had a mapping question
"all the governments in the world are corrupt and in the hands of the Illuminati"
at the end of your drive thread do something like this -
Don't respawn your pathnodes - if there all in the same thread break it up into seperate ones. Just repeat your drive commands.
Code: Select all
drive_thread:
stuff for driving
wait 5
goto drive_thread
end
Don't respawn your pathnodes - if there all in the same thread break it up into seperate ones. Just repeat your drive commands.
Im using that basic script from the tut above. This didn't work.
Now that i look at it should it be ( goto truck_thread )
*** Im sorry, didnt mean to hijack this thread but its the same topic.
Code: Select all
main:
exec global/ai.scr
exec global/loadout.scr maps/test_landscape.scr
exec gloal/friendly.scr
level waittill prespawn
exec global/ambient.scr test_landscape
level waittill spawn
level.script = "maps test_landscape.scr"
thread truck
end
truck:
$trk drive $wap
wait 5
goto drive_thread
end
*** Im sorry, didnt mean to hijack this thread but its the same topic.
"all the governments in the world are corrupt and in the hands of the Illuminati"
maybe this -
Code: Select all
main:
exec global/ai.scr
exec global/loadout.scr maps/test_landscape.scr
exec gloal/friendly.scr
level waittill prespawn
exec global/ambient.scr test_landscape
level waittill spawn
level.script = "maps test_landscape.scr"
thread truck
end
truck:
$trk drive $wap
$trk waittil drive
goto truck
end path
I haven't looked at the totorial, but there are a number of other commands you can try. Here are a couple of them.
$trk followpath $wap
$trk flypath $wap
A path can be waypoints that target the next one or splinepaths that do about the samething. I'm not sure, but "drivepath" might be a command to. Also, you can use the commands "glue" and "unglue" to attach the "local.player" to the object--players don't move around corners very well without it.
Btw, for your ambient sound line to work, there would have to be a .mus file with the name "test_landscape". It is easier to just use the background sound from a stock map, like this.
exec global/ambient.scr mohdm7 //<-- wind sounds only
$trk followpath $wap
$trk flypath $wap
A path can be waypoints that target the next one or splinepaths that do about the samething. I'm not sure, but "drivepath" might be a command to. Also, you can use the commands "glue" and "unglue" to attach the "local.player" to the object--players don't move around corners very well without it.
Btw, for your ambient sound line to work, there would have to be a .mus file with the name "test_landscape". It is easier to just use the background sound from a stock map, like this.
exec global/ambient.scr mohdm7 //<-- wind sounds only
hey Viper i added this:
$trk waittil drive
goto truck
and the truck just sits there, remove those two lines and it drives around the loop just one time still.
im trying toms commands now, thx for the sound tip.
Will update this post later today, im not giving up on this one
*************
uh...XenoPHoXx_NL jump in any time, its your thread
tom this didnt work at all, truck just sits there.
$trk waittil drive
goto truck
and the truck just sits there, remove those two lines and it drives around the loop just one time still.
im trying toms commands now, thx for the sound tip.
Will update this post later today, im not giving up on this one
*************
uh...XenoPHoXx_NL jump in any time, its your thread
tom this didnt work at all, truck just sits there.
Code: Select all
main:
exec global/ai.scr
exec global/loadout.scr maps/test_landscape.scr
exec gloal/friendly.scr
level waittill prespawn
exec global/ambient.scr mohdm7
level waittill spawn
level.script = "maps test_landscape.scr"
thread truck
end
truck:
$trk followpath $wap
end "all the governments in the world are corrupt and in the hands of the Illuminati"
not sure then - How long does the loop take? if it takes 60 then try this to test it -
Code: Select all
truck:
$trk drive $wap
wait 62
goto truck
end



