Page 1 of 2
Truck animated / solid
Posted: Fri Jul 30, 2004 2:37 pm
by Dani
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
Posted: Fri Jul 30, 2004 8:45 pm
by M&M
u make brushes script_object to turn them into an entity so u can assign a targetname to .and use this targetname in your commands .
but the truck is already an entity ,so just give it a targetname and do whatever u please with it
Posted: Fri Jul 30, 2004 11:15 pm
by Master-Of-Fungus-Foo-D
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
Posted: Sat Jul 31, 2004 11:03 am
by Dani
No sorry you are both wrong, i want a script_object so it can be animated from the script. i have a script_object already and this works fine, but even if i gave the truck the targetname car it still won't budge, also you can walk through it!?
Posted: Sat Jul 31, 2004 2:41 pm
by lizardkid
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.
Posted: Sat Jul 31, 2004 3:57 pm
by Master-Of-Fungus-Foo-D
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!
Posted: Sat Jul 31, 2004 5:35 pm
by lizardkid
and it might be a good idea to LAY OFF THE SUGAR AND STOP TYPING IN CAPS.
btw FOLLOW to tut, it'll show you everything you NEED.
Posted: Sat Jul 31, 2004 7:00 pm
by Master-Of-Fungus-Foo-D
marshmallows and 2 bag of gummi-bears can really get ya hyped up!

Posted: Sun Aug 01, 2004 9:12 am
by Mj
This is gonna turn to war soon! Dont worry, i'll be there laughing at both of you
Or go sort your differences on a MoH:AA server

Posted: Sun Aug 01, 2004 3:17 pm
by Master-Of-Fungus-Foo-D
im a killer with da tom! or the cancarno for bt!
Posted: Thu Aug 05, 2004 2:30 pm
by Dani
OK I'll TRY THIS TUT BUT! i have made objects move by turning them into a script_object, now i'm gona do this tut and see if it works!

Posted: Thu Aug 05, 2004 2:50 pm
by Dani
OK thanks, it worked GREAT this tut but I can still walk through most of the truck, how do i fix this?
Posted: Thu Aug 05, 2004 3:06 pm
by At0miC
Make clips around it, textures/common/metalclip
Make it script_object together with the truck (also same targetname)
Posted: Thu Aug 05, 2004 3:49 pm
by Dani
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????
Posted: Thu Aug 05, 2004 5:03 pm
by M&M
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