UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: MikeVLC on June 13, 2015, 04:12:35 pm

Title: Problem with stock traverse
Post by: MikeVLC on June 13, 2015, 04:12:35 pm
I am trying to make zombies jump with stock traverses unsuccessfully, after compile this error is shown
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fhh19xJJ.png&hash=df3ebeb3106d8cd6efb88d9aa25d9e5dec960f47)
I have imported traverses of black ops 2 but I dont know how to convert it and I didnt find some tutorial that would explain how to do correctly so I am using stock traverses.
Title: Re: Problem with stock traverse
Post by: daedra descent on June 13, 2015, 04:20:03 pm
Did you include the script in your map?

If not, try adding this:

Code Snippet
Plaintext
rawfile,animscripts/traverse/stepup_56.gsc
Title: Re: Problem with stock traverse
Post by: MikeVLC on June 13, 2015, 04:23:34 pm
I didnt do this. Now I am using like 6 or 8 stock traverses without including like you said and these traverses work but I am gonna try like you said.
Title: Re: Problem with stock traverse
Post by: daedra descent on June 13, 2015, 05:08:09 pm
I didnt do this. Now I am using like 6 or 8 stock traverses without including like you said and these traverses work but I am gonna try like you said.

A bunch of traverses are included by default which is why you don't need to include their scripts. That traverse however, for whatever reason, isn't one of them. Its possible that the GSC file might not even exist in mod tools, in which case you can use mine:

Code Snippet
Plaintext
#include animscripts\utility;
#include animscripts\traverse\shared;
#using_animtree ("generic_human");

main()
{
traverseData = [];
traverseData[ "traverseAnim" ] = %traverse_stepup_52;

DoTraverse( traverseData );
}

and name it stepup_56.gsc in the file path that the include has.
Title: Re: Problem with stock traverse
Post by: MikeVLC on June 13, 2015, 05:17:08 pm
Like you said the .gsc doesnt exist in mood tools, first I compiled including but after I checked in the folder:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FKP7BDj9.png&hash=0def34069304de6c6815bb47baaf2757834ff9b2)
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F3fciPcR.png&hash=26a6eb033b5341db789fa5dd03b14abaefc50a49)
Thank you very much! I was wathching in notepad a traverse file in this folder but I am gonna try with your fix
Title: Re: Problem with stock traverse
Post by: daedra descent on June 13, 2015, 05:21:21 pm
Like you said the .gsc doesnt exist in mood tools, first I compiled including but after I checked in the folder:
(http://i.imgur.com/KP7BDj9.png)
(http://i.imgur.com/3fciPcR.png)
Thank you very much! I was wathching in notepad a traverse file in this folder but I am gonna try with your fix

Eh thought the file was stepup_56 not jumpup_56. Just rename it to jumpup_56.gsc i guess and see if its what you want.
Title: Re: Problem with stock traverse
Post by: steviewonder87 on June 13, 2015, 05:25:13 pm
On a side note these are SP anims, so after the zombie 'steps up' he will look like he is holding a gun for a second which looks really shitty IMO, unless of course you plan to edit the anims in Maya. :)
Title: Re: Problem with stock traverse
Post by: MikeVLC on June 13, 2015, 05:31:34 pm
I am compiling at this moment, I renamed the four traverses with their "correct" names I guess.
Yeah I know that some stock traverses are shit, fully aware and agree with that statement. I have imported all anims of tranzit but I dont know how to convert and how to implement. Maybe is really easy but I have no good experience improvising in custom maps.

Double Post Merge: June 13, 2015, 06:02:17 pm
I tried but now this error shows
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fyslcd5I.png%3F1&hash=bfb9c914d7be214e27fca906d766db36db5ceae5)
Title: Re: Problem with stock traverse
Post by: steviewonder87 on June 13, 2015, 11:13:31 pm
Copy generic_human.atr from raw/animscripts and add it to your mod. Open it and add 'jumpup_96' (or whatever it's called, also any other traverses that give the error) into it with the other zombies jump traverses.