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

Zapper FX not showing up

broken avatar :(
Created 9 years ago
by A-Grand
0 Members and 1 Guest are viewing this topic.
5,058 views
broken avatar :(
×
broken avatar :(
Location: saQatif
Date Registered: 5 August 2012
Last active: 10 months ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Community Mapper
My Groups
More
Personal Quote
Shut up, clock in, and load up
Signature
My maps:
Kino der toten (remake) | Shinra Ops | Moon | Thorvik | Oldie | Gateway | Ward | NeoBase | Devastation
×
A-Grand's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
A-Grand's Contact & Social Links
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...


It does kill players and zombies...


Only the FX not showing up...
Anyone have any idea how to fix this?  ???

Thx
Last Edit: October 28, 2014, 08:33:15 am by A-Grand
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 8 months ago
Posts
3,997
Respect
1,024Add +1
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
You might have commented out the FX from zone_source or you dont have the FX at all
broken avatar :(
×
broken avatar :(
Location: saQatif
Date Registered: 5 August 2012
Last active: 10 months ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Community Mapper
My Groups
More
Personal Quote
Shut up, clock in, and load up
×
A-Grand's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
A-Grand's Contact & Social Links
You might have commented out the FX from zone_source or you dont have the FX at all

is it one of these?

Code Snippet
Plaintext
//ESM - added for electrical trap
fx,misc/fx_zombie_electric_trap
fx,env/electrical/fx_elec_sparking_oneshot
fx,misc/fx_zombie_zapper_powerbox_on
fx,misc/fx_zombie_zapper_wall_control_on
fx,maps/zombie/fx_zombie_light_glow_green
fx,maps/zombie/fx_zombie_light_glow_red
fx,misc/fx_zombie_elec_trail_oneshot
fx,env/electrical/fx_elec_wire_spark_dl_oneshot
fx,env/electrical/fx_elec_player_md
fx,env/electrical/fx_elec_player_sm
fx,env/electrical/fx_elec_player_torso
fx,misc/fx_zombie_elec_gen_on
fx,misc/fx_zombie_elec_gen_idle
xmodel,zombie_zapper_cagelight_red
xmodel,zombie_zapper_cagelight_green
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 8 months ago
Posts
3,997
Respect
1,024Add +1
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
is it one of these?

Code Snippet
Plaintext
//ESM - added for electrical trap
fx,misc/fx_zombie_electric_trap
fx,env/electrical/fx_elec_sparking_oneshot
fx,misc/fx_zombie_zapper_powerbox_on
fx,misc/fx_zombie_zapper_wall_control_on
fx,maps/zombie/fx_zombie_light_glow_green
fx,maps/zombie/fx_zombie_light_glow_red
fx,misc/fx_zombie_elec_trail_oneshot
fx,env/electrical/fx_elec_wire_spark_dl_oneshot
fx,env/electrical/fx_elec_player_md
fx,env/electrical/fx_elec_player_sm
fx,env/electrical/fx_elec_player_torso
fx,misc/fx_zombie_elec_gen_on
fx,misc/fx_zombie_elec_gen_idle
xmodel,zombie_zapper_cagelight_red
xmodel,zombie_zapper_cagelight_green

fx,env/electrical/fx_elec_sparking_oneshot This one I believe
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
fx,env/electrical/fx_elec_sparking_oneshot This one I believe

I think one shot is an electric spark, isn't it? I'm not at my pc but I thought it was this one: misc/fx_zombie_electric_trap

Looks like this in dlc3_code.gsc
Code Snippet
Plaintext
level._effect["zapper"]					= loadfx("misc/fx_zombie_electric_trap");

If that isn't the issue, there was an issue with the standard script before. I'm not sure which you are using. You can see here in an old post:
http://www.zombiemodding.com/index.php?topic=2822.0

Unfortunately the links are all broken.
Last Edit: October 28, 2014, 01:38:13 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: saQatif
Date Registered: 5 August 2012
Last active: 10 months ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Community Mapper
My Groups
More
Personal Quote
Shut up, clock in, and load up
×
A-Grand's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
A-Grand's Contact & Social Links
I think one shot is an electric spark, isn't it? I'm not at my pc but I thought it was this one: misc/fx_zombie_electric_trap

Looks like this in dlc3_code.gsc
Code Snippet
Plaintext
level._effect["zapper"]					= loadfx("misc/fx_zombie_electric_trap");

If that isn't the issue, there was an issue with the standard script before. I'm not sure which you are using. You can see here in an old post:
http://www.zombiemodding.com/index.php?topic=2822.0

Unfortunately the links are all broken.

I have that line in my dlc3_code.gsc and also have those FX lines in zone_source.
still have no idea why it's not showing up :(

I'll try some things, thank you both.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
are you using ignore files?

If you are, maybe its in there
broken avatar :(
×
broken avatar :(
Location: saQatif
Date Registered: 5 August 2012
Last active: 10 months ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Community Mapper
My Groups
More
Personal Quote
Shut up, clock in, and load up
×
A-Grand's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
A-Grand's Contact & Social Links
are you using ignore files?

If you are, maybe its in there

I checked, it only got sfx and voiceovers.
broken avatar :(
×
broken avatar :(
drago
Location: mx
Date Registered: 5 July 2013
Last active: 4 years ago
Posts
942
Respect
Forum Rank
The Decider
Primary Group
Member
My Contact & Social Links
More
×
jjbradman's Groups
jjbradman's Contact & Social Linksjjbradmanjjbradmanjjbradman
do the script you're using sets the angle something like this?

Code Snippet
Plaintext
zapperfx_origin.angles = (-90,0,0);

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  :)
Marked as best answer by A-Grand 9 years ago
broken avatar :(
×
broken avatar :(
Location: saQatif
Date Registered: 5 August 2012
Last active: 10 months ago
Posts
88
Respect
Forum Rank
Rotting Walker
Primary Group
Community Mapper
My Groups
More
Personal Quote
Shut up, clock in, and load up
×
A-Grand's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
A-Grand's Contact & Social Links
I finally managed to get it to work.
Code Snippet
Plaintext
 
self.tag_origin setmodel("tag_origin");
playfxontag(level._effect["zapper"],self.tag_origin,"tag_origin");
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?

Code Snippet
Plaintext
zapperfx_origin.angles = (-90,0,0);

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 :)
Last Edit: October 30, 2014, 04:56:24 am by A-Grand
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
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

Glad it worked out for ya ;)

 
Loading ...