

Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!weapon_glows = GetEntArray( "weapon_upgrade", "targetname" );
for(i=0;i<weapon_glows.size;i++)
weapon_glows[i] thread glow_weapons();
/*--------------------
ZOMBIE MODE
----------------------*/
[[level.DLC3.weapons]]();
[[level.DLC3.powerUps]]();
maps\_zombiemode::main();
glow_weapons()
{
level._effect["weapon_glow"] = loadfx("weapon_glow");
self.tag_origin = spawn("script_model",self.origin);
self.tag_origin setmodel("tag_origin");
playfxontag(level._effect["weapon_glow"],self.tag_origin,"tag_origin");
}
fx,weapon_glow
The FX looks really weak but none the less good tutorial.
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
level.DLC3.myFX = ::preCacheMyFX;
level._effect["weapon_glow"] = loadfx("weapon_glow");
preCacheMyFX()
{
level._effect["weapon_glow"] = loadfx("weapon_glow");
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
I don't have preCacheMyFX() in my map gsc .... were would Iput that
#include common_scripts\utility;
#include maps\_utility;
#include maps\_zombiemode_utility;
#include maps\_zombiemode_zone_manager;
#include maps\_music;
#include maps\dlc3_code;
#include maps\dlc3_teleporter;
main()
{
level.DLC3 = spawnStruct(); // Leave This Line Or Else It Breaks Everything
// Must Change These To Your Maps
level.DLC3.createArt = maps\createart\ugxm_proboxmap_art::main;
level.DLC3.createFX = maps\createfx\ugxm_proboxmap_fx::main;
level.DLC3.myFX = ::preCacheMyFX; // LINE 16 ----------------------------
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
main()
{
level.DLC3 = spawnStruct(); // Leave This Line Or Else It Breaks Everything
// Must Change These To Your Maps
level.DLC3.createArt = maps\createart\nazi_zombie_undead_town_art::main;
level.DLC3.createFX = maps\createfx\nazi_zombie_undead_town_fx::main;
level.DLC3.myFX = ::preCacheMyFX;
preCacheMyFX()
{
level._effect["weapon_glow"] = loadfx("weapon_glow");
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
oh ok I see wow face palm... so it should look like this after
/*--------------------
ZOMBIE MODE
----------------------*/
[[level.DLC3.weapons]]();
[[level.DLC3.powerUps]]();
maps\_zombiemode::main();
weapon_glows = GetEntArray( "weapon_upgrade", "targetname" );
array_thread(weapon_glows,::glow_weapons);
/*--------------------
FUNCTION CALLS - POST _Load
----------------------*/
level.zone_manager_init_func = ::dlc3_zone_init;
level thread DLC3_threadCalls2();
}
glow_weapons()
{
level._effect["weapon_glow"] = loadfx("weapon_glow");
self.tag_origin = spawn("script_model",self.origin);
self.tag_origin setmodel("tag_origin");
playfxontag(level._effect["weapon_glow"],self.tag_origin,"tag_origin");
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
main()
{
level.DLC3 = spawnStruct(); // Leave This Line Or Else It Breaks Everything
// Must Change These To Your Maps
level.DLC3.createArt = maps\createart\nazi_zombie_undead_town_art::main;
level.DLC3.createFX = maps\createfx\nazi_zombie_undead_town_fx::main;
level.DLC3.myFX = ::preCacheMyFX;
preCacheMyFX()
level._effect["weapon_glow"] = loadfx("weapon_glow"); [color=red] //this line had the error[/color]
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
damn I must be retarded
I got a bad syntex with this
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
preCacheMyFX()
{
level._effect["weapon_glow"] = loadfx("weapon_glow"); [color=red] //this line had the error[/color]
}
main()
{
level.DLC3 = spawnStruct(); // Leave This Line Or Else It Breaks Everything
// Must Change These To Your Maps
level.DLC3.createArt = maps\createart\nazi_zombie_undead_town_art::main;
level.DLC3.createFX = maps\createfx\nazi_zombie_undead_town_fx::main;
level.DLC3.myFX = ::preCacheMyFX;
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |