UGX-Mods
Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: KDXDARK on March 26, 2013, 10:45:34 pm
-
is possible i can get the electric fence (script and prefab) from the UGX Cabin? i want to add it to my map :)
-
Make a fence, put a trigger multiple around the fence that in code damages the player when the player is touching the trigger multiple using the "DoDamage( int );" function and set the player as teleported so the electricity will run over the screen like when you get hit by the wunderwaffle. Then just play the fx on a loop through server script and stop the loop and damage whenever whatever event you want is triggered to turn off the fence.
Edit: "SetTransported( int );" is the function to put electricity on the players screen, just call it on the players.
-
yeah but i want with the electric pole and all the things :)
-
yeah but i want with the electric pole and all the things :)
then just make them in radiant or model them?
-
then just make them in radiant or model them?
you never play UGX Cabin?
please see some videos, and you going to know what i am talking about :)
-
you never play UGX Cabin?
please see some videos, and you going to know what i am talking about :)
dude im pretty sure he helped make that map lol
-
dude im pretty sure he helped make that map lol
lol i wish. I didn't get here until comosea.
-
dude im pretty sure he helped make that map lol
UGX was only comprised of myself, W1NG3D, and Cold when UGX Cabin was made. I mapped the outside area and scripted the map, W1NG3D mapped the cabin and underground areas and did the voiceovers, and Cold composed all of the music.
-
UGX was only comprised of myself, W1NG3D, and Cold when UGX Cabin was made. I mapped the outside area and scripted the map, W1NG3D mapped the cabin and underground areas and did the voiceovers, and Cold composed all of the music.
ok, now i edit the title :)
-
ok, now i edit the title :)
I don't have the source anymore, so no I cannot give you a prefab. You are welcome to use the electric fence script from the UGX Cabin iwd if you can make your own prefab. It just uses the zapper fx if I remember correctly.
-
I don't have the source anymore, so no I cannot give you a prefab. You are welcome to use the electric fence script from the UGX Cabin iwd if you can make your own prefab. It just uses the zapper fx if I remember correctly.
i see the script but at what i need give the kvps? that is the problem :)
-
i see the script but at what i need give the kvps? that is the problem :)
The KVPs should be fully evident in the script.