What is the easiest way to move a couple of brushes from A -> B?
I want to do this in a script but I don’t know where to start…
/SteelRat
What is the easiest way to move a couple of brushes from A -> B?
I want to do this in a script but I don’t know where to start…
/SteelRat
well first, make your brushes a script_mover, give them a targetname and a scriptname (they have to be the same or it gets complicated)
now, we need a path_corner, placeone and give it targetname and scriptname
so for our example we have
script_mover - targetname + scriptname of move_me (the origon brush will go into the centre of the path_corner so place it wisely)
path_corner - targetname + scriptname of pointb (at point b)
so far it wont do anything in-game because it needs script
move_me
{
spawn
{
trigger self move
}
trigger move
{
stopsound
playsound sound/movers/misc/garage_door_start_01.wav volume 600
wait 50
playsound sound/movers/misc/garage_door_loop_01.wav looping volume 750
gotomarker pointa 1000 wait
stopsound
playsound sound/movers/misc/garage_door_end_01.wav volume 600
wait 50
}
}
that should be it, is that what you want?
If you want a ‘curved’ path instead of a straight line, you’ll have to use the spline path system instead of path corners. It’s fairly similar to the pathcorners. Just need a few different entities and a few different script commands.
Thanks Nutter and Mustard, I’ll play with this and see if it suits my needs. 
I did take a look in the LDR about spline path system but I got confused after looking at gooldrush 
/SteelRat
If you need more info on the spline-path system, just post. I didn’t want to go into it here unless you needed it (why confuse the issue???
)
The spline path system gives you a lot of flexibility – which makes it appear more confusing then it is.
I would like 2 know how u let (4 example) a truck move…
im gunna put 1 in my new map…
Scripting a moving vehicle is the most challenging scripting adventure you can undertake…(trust me, I have two in my map). If you fear the scriptiing of a CP or a multi-stage construction (ie. think they are difficult), then I suggest you run away…
Seriously, learn the basics of scripting. Once you think a CP or a multi-stage construction is a ‘piece of cake’ then move to a vehicle. If you are thinking of jumping into the scripting of a truck, it will beat you into submission. I have the scars to prove it…
Not to mention the 8-12 entities you need associated with a moving vehicle…
I had started a ‘moving_vehicle’ tutorial a while back…I can try to dig it up for you. But it is far from complete. It might help you some though
if its just from 1 point to the other my tut will help, if it stops of at more than 20 places i recomment uding the spline system
Can u take turns with ur TUT crazy?!
anywayz… looking at the map file of goldrush there r them green boxes… (dont remember name)
isnt scripting it just gunna b telling it 2 move from 1 green box 2 the other?!
like the puzzles in the puzzle-magazines?!
bcuz all i know about scripting is destroyable stuff…
anywayz… looking at the map file of goldrush there r them green boxes… (dont remember name)
isnt scripting it just gunna b telling it 2 move from 1 green box 2 the other?!
If you want a vehicle that a player must escort, that can be damaged and repaired, etc then there is a LOT more scripting then just go from point A to point B. And it’s not easy to follow. Look at the goldrush script for the truck - all parts of the truck.
First you have to see if a player is near the truck, if the truck is damaged, if the truck is ‘stuck’ - ie. a barrier. Many, many branches for a vehicle. It’s not hard once you can follow the scripting. IMO, it is the toughest, by far, scripting to do in ET
The ‘green boxes’ are main spline points.
Genesis, i thought he meant in a straight line
the goldrush scripting makes sense to me, so PM me is you want me to help you with tanks, ill place one in 4 ya 
Nutter, thanks you helped me solve the problem 
You can the result out when Ringa releases his first map ever called U-Boot, should not be too far away now.
/SteelRat