Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: A-Grand on October 28, 2014, 08:31:59 am
Title: Zapper FX not showing up
Post by: A-Grand on October 28, 2014, 08:31:59 am
hi
I have a trap in my map that works and everything, but it does not show the FX...
look at the handle, and the light changes color when it's on... (https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi59.tinypic.com%2Fx36c28.jpg&hash=0bf61960cf1d8b3a63ed58957a9495a7b7c58f82)
It does kill players and zombies... (https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi57.tinypic.com%2F2d0fcbq.jpg&hash=c957318b30629975c9cb11fdf6f492fb3b1fe91e)
Only the FX not showing up... Anyone have any idea how to fix this? ???
Thx
Title: Re: Zapper FX not showing up
Post by: HitmanVere on October 28, 2014, 10:11:55 am
You might have commented out the FX from zone_source or you dont have the FX at all
Title: Re: Zapper FX not showing up
Post by: A-Grand on October 28, 2014, 12:23:51 pm
Title: Re: Zapper FX not showing up
Post by: jjbradman on October 29, 2014, 09:55:32 pm
do the script you're using sets the angle something like this?
i dont remember if it was correct like that but you need that -90 for it to be vertical(cause in my case it was underground lol) also theres one zapper fx which doesnt play, but i dont remember well. if you need more help ill look into my files :)
Title: Re: Zapper FX not showing up
Post by: A-Grand on October 30, 2014, 04:11:22 am
I finally managed to get it to work. these two lines were commented out. I simply removed "//" and now it works in the game. Also, instead of using a script_struct (which is linked to the trap trigger) in radiant, I used script_origin.
do the script you're using sets the angle something like this?
i dont remember if it was correct like that but you need that -90 for it to be vertical(cause in my case it was underground lol) also theres one zapper fx which doesnt play, but i dont remember well. if you need more help ill look into my files :)
Please do. This might help with the FX being off few grids in the game. Thanks :)
Title: Re: Zapper FX not showing up
Post by: Harry Bo21 on October 30, 2014, 04:26:33 am
ah so it wasnt not loaded, it was the call to the FX that was commented out
So the engine loaded it, but nothing called for it to display