UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: Marsvinking on September 05, 2015, 09:15:33 am

Title: Having problem with Turrets
Post by: Marsvinking on September 05, 2015, 09:15:33 am
If i go close to the turret trigger then this happens      (https://i.gyazo.com/894bf64ec53ca64b0489b2828eb949f2.png)

If anyone has a clue please tell me
Title: Re: Having problem with Turrets
Post by: Harry Bo21 on September 05, 2015, 09:35:44 am
add it to your mod.csv

prettyy sure  had this, had to add a gsc to my mod too

Code Snippet
Plaintext
xmodel,weapon_jap_mg_type92_notripod

thats the one used in the default turret script
Title: Re: Having problem with Turrets
Post by: Marsvinking on September 05, 2015, 09:58:42 am
add it to your mod.csv

prettyy sure  had this, had to add a gsc to my mod too

Code Snippet
Plaintext
xmodel,weapon_jap_mg_type92_notripod

thats the one used in the default turret script

But thats not the model im using though
i dont see why it would be this but imma try it out now

ill upload some more pics
 (https://i.gyazo.com/e008c5d4e4d0271c192260232fb1f7ca.png)

(https://i.gyazo.com/f094ed40e2dfb7c9c563ae2d0dc2a2bc.png)

(https://)

No wories managed to fix it :P
Title: Re: Having problem with Turrets
Post by: Harry Bo21 on September 05, 2015, 10:00:31 am
yup, thats what i was looking for lol

its included in the patch, but for some reason doesnt work that way, so i had to copy the script to my mod. Might have just been me for that tho

and the two models are probably different, with different tags. Check it out in toms program

or maybe coz you chose a mounted one or something
Title: Re: Having problem with Turrets
Post by: Marsvinking on September 05, 2015, 10:02:39 am
yup, thats what i was looking for lol

its included in the patch, but for some reason doesnt work that way, so i had to copy the script to my mod. Might have just been me for that tho

and the two models are probably different, with different tags. Check it out in toms program

or maybe coz you chose a mounted one or something

Everything works now but there is one problem the gun dosent move up, does it only react if there is zombies there ?

Double Post Merge: September 05, 2015, 10:04:49 am
It is a precache (https://i.gyazo.com/e5879b73615ed3024e9d3ab94508530d.gif)
Title: Re: Having problem with Turrets
Post by: Harry Bo21 on September 05, 2015, 10:31:16 am
hmm, not sure man, i just used the stock script, and the prefab in the mod tools, and it just "worked"

Didnt even realise it was already in the mod tools before lol