UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

trap

broken avatar :(
Created 2 years ago
by itzz_7sn
0 Members and 1 Guest are viewing this topic.
449 views
broken avatar :(
×
broken avatar :(
Location: sa
Date Registered: 25 October 2014
Last active: 2 years ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
itzz_7sn's Groups
itzz_7sn's Contact & Social Links
so i was trying to make an electric trap using this script (_zombiemode_traps.gsc) and every thing seems to be working fine except for the "zapper" fx, although the damage fx and other sounds are working, i figure is something to do with (script_string) because i don't completely sure what it used for or how to use it.
 
 
edit: turns out you must add in your "clientscripts\your_map_fx.csc" file, under this line
Code Snippet
Plaintext
level thread clientscripts\_zombiemode::init_perk_machines_fx();
add this line
Code Snippet
Plaintext
level thread trap_fx_monitor( "struct_targetname", "script_string", "trap_type" );
example:
Code Snippet
Plaintext
level thread trap_fx_monitor( "elec_trap", "e1", "electric" );
then it should work as intended  :+1:
Last Edit: June 20, 2022, 07:03:21 pm by itzz_7sn
broken avatar :(
×
broken avatar :(
Location: alDurrës
Date Registered: 6 June 2017
Last active: 9 months ago
Posts
222
Respect
Forum Rank
Mr. Elemental
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
My published cod maps:

Mansion of the Undead
Buros Der Toten
Minions by k3nt
×
klevi's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Yeah, i have had this problem before too, i fixed it by taking the same effect from the cod waw one. Make sure you have cod waw mod tools installed, go to raw/fx and search there for electric or something, it should have a similar or the same name as the bo1 one. Then paste it in your bo1/raw/fx folder, or somewhere you want, include the new effect and just replace the line in your script with the one from the new effect. Except from that, you might as well rip it from der riese traps by using a tool or something without the need of the mod tools installed.

 
Loading ...