Truck animated / solid
Moderator: Moderators
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
dani you fool... you are so dense in the skull... How many time will we hae to tell you you dont need a script object,model,or anything but a vehicle->german->opel truck. that is ALL you need. As to the truck being solid, give it a targetname(lets say ''trk''), and in your script type
Code: Select all
truck:
$trk solid
''blah blah truck moving stuff''This is my script:
main:
exec global/ai.scr
exec global/loadout.scr maps/test_truckmove.scr
exec gloal/friendly.scr
level waittill prespawn
$gate time 3
$cogs time 3
$car time 2
$gate2 time 3
level waittill spawn
thread startmove
end
startmove:
wait 5
$gate moveup 432
$gate loopsound wall_slide
$gate waitmove
$gate stoploopsound
$trk solid
$trk drive $wap
end
gate2move:
wait 2
$gate movedown 432
$gate loopsound wall_slide
$gate waitmove
$gate stoploopsound
end
I can still walk through the truck, wat to do???
main:
exec global/ai.scr
exec global/loadout.scr maps/test_truckmove.scr
exec gloal/friendly.scr
level waittill prespawn
$gate time 3
$cogs time 3
$car time 2
$gate2 time 3
level waittill spawn
thread startmove
end
startmove:
wait 5
$gate moveup 432
$gate loopsound wall_slide
$gate waitmove
$gate stoploopsound
$trk solid
$trk drive $wap
end
gate2move:
wait 2
$gate movedown 432
$gate loopsound wall_slide
$gate waitmove
$gate stoploopsound
end
I can still walk through the truck, wat to do???
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
ok, now that my head isnt on fire, let me take another crack at it... you could make a script_object textured with common/clip and give it a targetname of ''clip''(dont use quotes). In your script type(i think this is the command)
or it might be
i think either 1 will work but im not entirely sure.
Code: Select all
$clip bind $trkCode: Select all
$clip glue $trk
