Truck animated / solid
Moderator: Moderators
Truck animated / solid
Hi
I have a german truck (vehicle_german_opeltruckgreen) and i want to animte it using script, but i can not turn it into a script_object so it does not animate how do i make it so that it will work, i have all the right script and targetnames ect but even if i give it the targetname it still won't work because it is not a script_object. Also how do i make it so that the truck is solid, because at the moment you can walk through it.
Thanks for your help
Dani
I have a german truck (vehicle_german_opeltruckgreen) and i want to animte it using script, but i can not turn it into a script_object so it does not animate how do i make it so that it will work, i have all the right script and targetnames ect but even if i give it the targetname it still won't work because it is not a script_object. Also how do i make it so that the truck is solid, because at the moment you can walk through it.
Thanks for your help
Dani
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
M&M, i think he meant to say ''SCRIPT_MODEL''. Is that what ur saying? Because if you want a ''SCRIPT_MODEL'' to be your opel, you have to make the ''SCRIPT_MODEL''(arent quotes fun?) and then type in the model of the entity you want. In this case you'd want the key/value to be...
model/animate/vehicle_german_opeltruckgreen_canopy.tik
then, in the game you would have a script object that looks like an opel truck that has moving wheels(but the truck OBVIOUSLY wont move
)
and on the editor youd have a blue box from range(about 1000 units away) and an opeltruck model if you look at it normally(like 64 units away in 3d view) I hope i helped
model/animate/vehicle_german_opeltruckgreen_canopy.tik
then, in the game you would have a script object that looks like an opel truck that has moving wheels(but the truck OBVIOUSLY wont move
and on the editor youd have a blue box from range(about 1000 units away) and an opeltruck model if you look at it normally(like 64 units away in 3d view) I hope i helped
oh man. here we go. a truck does not need to be a script_object to move. no entity does. put it on a-
no, wait. here. go here.
it'll give you info on collision masks, making stuff move, and all that. come back if you have questions.
no, wait. here. go here.
it'll give you info on collision masks, making stuff move, and all that. come back if you have questions.
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
uhhh lizard, you might not ahve noticed but THATS A SPEARHEAD TUT!
i think Dani is talking about AA. He very confused. DANI yuo NEED a SCRIPT_MODEL(and MAYBE a BRAIN?)! NOT AN OBJECT YOU NEED A SCRIPT MODEL YOU CONFUSED LITTLE PERSON!
GO TO THIS LINK! it will tell all on how to MOVE a truck!
http://map.moh-central.net/t.php?id=68
you dont NEED to make a script_ANYTHING to make a truck drive! weve been telling you that from the beginning! just goto the link!
i think Dani is talking about AA. He very confused. DANI yuo NEED a SCRIPT_MODEL(and MAYBE a BRAIN?)! NOT AN OBJECT YOU NEED A SCRIPT MODEL YOU CONFUSED LITTLE PERSON!
GO TO THIS LINK! it will tell all on how to MOVE a truck!
http://map.moh-central.net/t.php?id=68
you dont NEED to make a script_ANYTHING to make a truck drive! weve been telling you that from the beginning! just goto the link!
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
First if i selct all the clips + truck it won't let me turn it into a script_object but if i select clips withoue the truck i can. I gave them the correct targetname. But in the game all that happens is the truck appers on top of the invisible clips, and it doesn't move. And the clips don't move either u just can't run through them. Oh well wat to do????
the truck is an entity .so u cant change it into another entity (which is a script_object)
but the clips u can turn into an entity cause they are brushes .the clips are used to block the path of a player from walking into the truck.
to move the truck and its "mask" u need to give them targetnames (or one name) and script the movement
but the clips u can turn into an entity cause they are brushes .the clips are used to block the path of a player from walking into the truck.
to move the truck and its "mask" u need to give them targetnames (or one name) and script the movement



