I need help making a xmodel move up and down. I've made a model in Maya but I'm not sure how to animate it and export it to World At War.
I know how to export a model that's not animated. I'm just not sure how it works in World At War. All I want is for a model to move up and down and repeat that motion. (I'm making a target range )
Would I just animated it with keyframes and then export it like that ? Or do I have to use joints and stuff. If anyone knows let me know.
Last Edit: August 04, 2015, 05:59:22 pm by CanadianTyler
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Has released one or more maps to the UGX-Mods community.
Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
You could make an animation on the model, binding all the meshes to a joint and animate that joint, or you could just put it in as a script_model, and script it so it moves from left to right.
Code Snippet
Plaintext
while(1) { ent moveX(600,1); ent waittill("move_done"); ent moveX(-600,1); ent waittill("move_done"); }
This way it will move 600 units on the X-axis and then move 600 units back, which I think is easier than animating it, exporting and scripting the anim, etc.
Lukkie1998
Last Edit: August 04, 2015, 06:19:32 pm by lukkie1998
You could make an animation on the model, binding all the meshes to a joint and animate that joint, or you could just put it in as a script_model, and script it so it moves from left to right.
Code Snippet
Plaintext
while(1) { ent moveX(600,1); ent waittill("move_done"); ent moveX(-600,1); ent waittill("move_done"); }
This way it will move 600 units on the X-axis and then move 600 units back, which I think is easier than animating it, exporting and scripting the anim, etc.
Lukkie1998
Thanks i'll try that out. I'm new to scripting how do I add this script to my model ?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Has released one or more maps to the UGX-Mods community.
Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
shoot_target_move() { model = getEnt("shoot_target","targetname");
while(1) { model moveX(600,1); model waittill("move_done"); model moveX(-600,1); model waittill("move_done"); } }
Change the 600 and -600 corresponding to the distance you want the models to move, and change the 1 to the time you want the models to move from one side to another.
BTW the script only works for one Target!!!
Lukkie1998
Last Edit: August 04, 2015, 09:05:35 pm by lukkie1998
shoot_target_move() { model = getEnt("shoot_target","targetname");
while(1) { model moveX(600,1); model waittill("move_done"); model moveX(-600,1); model waittill("move_done"); } }
Change the 600 and -600 corresponding to the distance you want the models to move, and change the 1 to the time you want the models to move from one side to another.