Truck animated / solid

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Dani
Sergeant Major
Posts: 113
Joined: Mon Mar 08, 2004 6:45 pm
Contact:

Post by Dani »

The truck is not needed in my map i think i will leave it out, it's just to confusing
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

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''
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

now imagine master's reply without all the attitude .and try to do what he said and dont give up ;) .
Image
Dani
Sergeant Major
Posts: 113
Joined: Mon Mar 08, 2004 6:45 pm
Contact:

Post by Dani »

I UNDERSTAND U FOOL Master-Of-Fungus-Foo-D!!! but i can still walk through the damn truck. wat i never knew is you could do $trk solid.
Dani
Sergeant Major
Posts: 113
Joined: Mon Mar 08, 2004 6:45 pm
Contact:

Post by Dani »

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???
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

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)

Code: Select all

$clip bind $trk
or it might be

Code: Select all

$clip glue $trk
i think either 1 will work but im not entirely sure.
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Dani
Sergeant Major
Posts: 113
Joined: Mon Mar 08, 2004 6:45 pm
Contact:

Post by Dani »

I can do Actionscript for Flash, but this is just to much, thanks for your help but i think i will leave this god damn truck out!
Post Reply