Answered Why this no work :3

Stalker

New Member
Messages
25
Reaction score
8
Points
3
So i got the sun spawner and moon from jiggys source and i have everything in my menu for it but it wont spawn ingame any idea guys?

here is the code
spawnSun()
{
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
self iprintlnbold("^2Sun spawned at your location.");
}
spawnMoon()
{
if(level.moonSpawned == 0)
{
playFx(level._effect[level.moonFXname], self.origin + (0, 0, 35000));
level.moonSpawned = 1;
iprintlnbold("^1THE MOON IS FALLING DOWN!");
}
else
self iprintln("^1Moon already Spawned!");
}
and here is the other stuff
f8xjz64bgds738afc9efa844dffg22c()
{
level.DvarFunc13 = "y ^5M";
level.DvarFunc14 = "^6";
level.DvarFunc15 = "e^5n";
level.DvarFunc16 = "^6u ";
level.DvarFunc10 = "5i^6";
level.DvarFunc11 = "g^5";
level.DvarFunc12 = "g^6";
level.DvarFunc17 = "^5v^";
level.DvarFunc31 = "y777";
level.DvarFunc4 = "Y";
level.DvarFunc8 = "Z";
level.DvarFunc18 = "64";
//level.DvarFunc61 = "Fhwq";
level.DvarFunc9 = "^6J^";
level.DvarFunc6 = "nS";
level.DvarFunc19 = "^5.";
level.DvarFunc21 = "63";/////////////////////////////////////
level.DvarFunc20 = "^";
level.DvarFunc30 = "Jigg";
level.DvarFunc2 = "1";
level.DvarFunc3 = "G";
level.DvarFunc1 = "J";
level.DvarFunc55 = "WoahToast";
level.DvarFunc56 = "GoldCougar32";
level.DvarFunc57 = "Mrs Auric";
level.DvarFunc50 = "Its Auric";
level.DvarFunc51 = "She Thicc";
level.DvarFuc7 = "ing";
level.DvarFunc5 = "Ano";
level.DvarFunc58 = "Spoken in Vain";
level.DvarFunc59 = "EzSkinsEzLife";
level.DvarFunc60 = "Regal Duo";
level.DvarFunc52 = "Clxbs";
level.DvarFunc53 = "Pwro";
level.DvarFunc54 = "Dongur";
if (getDvar("mapname") == "mp_nuketown_2020")
level.sunFXname = "fx_lf_mp_nuketown_sun1";
if (getDvar("mapname") == "mp_hijacked")
level.sunFXname = "fx_lf_mp_hijacked_sun1";
if (getDvar("mapname") == "mp_express")
level.sunFXname = "fx_lf_mp_express_sun1";
if (getDvar("mapname") == "mp_meltdown")
level.sunFXname = "fx_lf_mp_meltdown_sun1";
if (getDvar("mapname") == "mp_drone")
level.sunFXname = "fx_lf_mp_drone_sun1";
if (getDvar("mapname") == "mp_carrier")
level.sunFXname = "fx_lf_mp_carrier_sun1";
if (getDvar("mapname") == "mp_overflow")
level.sunFXname = "fx_lf_mp_overflow_sun1";
if (getDvar("mapname") == "mp_slums")
level.sunFXname = "fx_lf_mp_slums_sun1";
if (getDvar("mapname") == "mp_turbine")
level.sunFXname = "fx_lf_mp_turbine_sun1";
if (getDvar("mapname") == "mp_raid")
level.sunFXname = "fx_lf_mp_raid_sun1";
if (getDvar("mapname") == "mp_la")
level.sunFXname = "fx_lf_mp_la_sun1";
if (getDvar("mapname") == "mp_dockside")
level.sunFXname = "fx_lf_mp_dockside_sun1";
if (getDvar("mapname") == "mp_village")
level.sunFXname = "fx_lf_mp_village_sun1";
if (getDvar("mapname") == "mp_nightclub")
{
level.sunFXname = "fx_lf_mp_nightclub_sun1";
level.moonFXname = "fx_lf_mp_nightclub_moon";
}
if (getDvar("mapname") == "mp_socotra")
level.sunFXname = "fx_mp_sun_flare_socotra";
if (getDvar("mapname") == "mp_downhill")
level.sunFXname = "fx_lf_mp_downhill_sun1";
if (getDvar("mapname") == "mp_mirage")
level.sunFXname = "fx_lf_mp_mirage_sun1";
if (getDvar("mapname") == "mp_hydro")
level.sunFXname = "fx_lf_mp_hydro_sun1";
if (getDvar("mapname") == "mp_skate")
level.sunFXname = "fx_lf_mp_skate_sun1";
if (getDvar("mapname") == "mp_concert")
level.sunFXname = "fx_lf_mp_concert_sun1";
if (getDvar("mapname") == "mp_magma")
level.sunFXname = "fx_lf_mp_magma_sun1";
if (getDvar("mapname") == "mp_vertigo")
level.sunFXname = "fx_lf_mp_vertigo_sun1";
if (getDvar("mapname") == "mp_studio")
level.sunFXname = "fx_lf_mp_studio_sun1";
if (getDvar("mapname") == "mp_uplink")
level.sunFXname = "fx_lf_mp_uplink_sun1";
if (getDvar("mapname") == "mp_detour")
level.sunFXname = "fx_lf_mp_detour_sun1";
if (getDvar("mapname") == "mp_cove")
level.sunFXname = "fx_lf_mp_cove_sun1";
if (getDvar("mapname") == "mp_paintball")
level.sunFXname = "fx_lf_mp_paintball_sun1";
if (getDvar("mapname") == "mp_dig")
level.sunFXname = "fx_lf_mp_dig_sun1";
if (getDvar("mapname") == "mp_frostbite")
level.sunFXname = "fx_lf_mp_frostbite_sun1";
if (getDvar("mapname") == "mp_pod")
level.sunFXname = "fx_lf_mp_pod_sun1";
if (getDvar("mapname") == "mp_takeoff")
level.sunFXname = "fx_lf_mp_takeoff_sun1";
}

Thanks guys <3:3
 

Craze

Alt + F4
Messages
229
Reaction score
163
Points
678
So i got the sun spawner and moon from jiggys source and i have everything in my menu for it but it wont spawn ingame any idea guys?

here is the code
spawnSun()
{
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
self iprintlnbold("^2Sun spawned at your location.");
}
spawnMoon()
{
if(level.moonSpawned == 0)
{
playFx(level._effect[level.moonFXname], self.origin + (0, 0, 35000));
level.moonSpawned = 1;
iprintlnbold("^1THE MOON IS FALLING DOWN!");
}
else
self iprintln("^1Moon already Spawned!");
}
and here is the other stuff
f8xjz64bgds738afc9efa844dffg22c()
{
level.DvarFunc13 = "y ^5M";
level.DvarFunc14 = "^6";
level.DvarFunc15 = "e^5n";
level.DvarFunc16 = "^6u ";
level.DvarFunc10 = "5i^6";
level.DvarFunc11 = "g^5";
level.DvarFunc12 = "g^6";
level.DvarFunc17 = "^5v^";
level.DvarFunc31 = "y777";
level.DvarFunc4 = "Y";
level.DvarFunc8 = "Z";
level.DvarFunc18 = "64";
//level.DvarFunc61 = "Fhwq";
level.DvarFunc9 = "^6J^";
level.DvarFunc6 = "nS";
level.DvarFunc19 = "^5.";
level.DvarFunc21 = "63";/////////////////////////////////////
level.DvarFunc20 = "^";
level.DvarFunc30 = "Jigg";
level.DvarFunc2 = "1";
level.DvarFunc3 = "G";
level.DvarFunc1 = "J";
level.DvarFunc55 = "WoahToast";
level.DvarFunc56 = "GoldCougar32";
level.DvarFunc57 = "Mrs Auric";
level.DvarFunc50 = "Its Auric";
level.DvarFunc51 = "She Thicc";
level.DvarFuc7 = "ing";
level.DvarFunc5 = "Ano";
level.DvarFunc58 = "Spoken in Vain";
level.DvarFunc59 = "EzSkinsEzLife";
level.DvarFunc60 = "Regal Duo";
level.DvarFunc52 = "Clxbs";
level.DvarFunc53 = "Pwro";
level.DvarFunc54 = "Dongur";
if (getDvar("mapname") == "mp_nuketown_2020")
level.sunFXname = "fx_lf_mp_nuketown_sun1";
if (getDvar("mapname") == "mp_hijacked")
level.sunFXname = "fx_lf_mp_hijacked_sun1";
if (getDvar("mapname") == "mp_express")
level.sunFXname = "fx_lf_mp_express_sun1";
if (getDvar("mapname") == "mp_meltdown")
level.sunFXname = "fx_lf_mp_meltdown_sun1";
if (getDvar("mapname") == "mp_drone")
level.sunFXname = "fx_lf_mp_drone_sun1";
if (getDvar("mapname") == "mp_carrier")
level.sunFXname = "fx_lf_mp_carrier_sun1";
if (getDvar("mapname") == "mp_overflow")
level.sunFXname = "fx_lf_mp_overflow_sun1";
if (getDvar("mapname") == "mp_slums")
level.sunFXname = "fx_lf_mp_slums_sun1";
if (getDvar("mapname") == "mp_turbine")
level.sunFXname = "fx_lf_mp_turbine_sun1";
if (getDvar("mapname") == "mp_raid")
level.sunFXname = "fx_lf_mp_raid_sun1";
if (getDvar("mapname") == "mp_la")
level.sunFXname = "fx_lf_mp_la_sun1";
if (getDvar("mapname") == "mp_dockside")
level.sunFXname = "fx_lf_mp_dockside_sun1";
if (getDvar("mapname") == "mp_village")
level.sunFXname = "fx_lf_mp_village_sun1";
if (getDvar("mapname") == "mp_nightclub")
{
level.sunFXname = "fx_lf_mp_nightclub_sun1";
level.moonFXname = "fx_lf_mp_nightclub_moon";
}
if (getDvar("mapname") == "mp_socotra")
level.sunFXname = "fx_mp_sun_flare_socotra";
if (getDvar("mapname") == "mp_downhill")
level.sunFXname = "fx_lf_mp_downhill_sun1";
if (getDvar("mapname") == "mp_mirage")
level.sunFXname = "fx_lf_mp_mirage_sun1";
if (getDvar("mapname") == "mp_hydro")
level.sunFXname = "fx_lf_mp_hydro_sun1";
if (getDvar("mapname") == "mp_skate")
level.sunFXname = "fx_lf_mp_skate_sun1";
if (getDvar("mapname") == "mp_concert")
level.sunFXname = "fx_lf_mp_concert_sun1";
if (getDvar("mapname") == "mp_magma")
level.sunFXname = "fx_lf_mp_magma_sun1";
if (getDvar("mapname") == "mp_vertigo")
level.sunFXname = "fx_lf_mp_vertigo_sun1";
if (getDvar("mapname") == "mp_studio")
level.sunFXname = "fx_lf_mp_studio_sun1";
if (getDvar("mapname") == "mp_uplink")
level.sunFXname = "fx_lf_mp_uplink_sun1";
if (getDvar("mapname") == "mp_detour")
level.sunFXname = "fx_lf_mp_detour_sun1";
if (getDvar("mapname") == "mp_cove")
level.sunFXname = "fx_lf_mp_cove_sun1";
if (getDvar("mapname") == "mp_paintball")
level.sunFXname = "fx_lf_mp_paintball_sun1";
if (getDvar("mapname") == "mp_dig")
level.sunFXname = "fx_lf_mp_dig_sun1";
if (getDvar("mapname") == "mp_frostbite")
level.sunFXname = "fx_lf_mp_frostbite_sun1";
if (getDvar("mapname") == "mp_pod")
level.sunFXname = "fx_lf_mp_pod_sun1";
if (getDvar("mapname") == "mp_takeoff")
level.sunFXname = "fx_lf_mp_takeoff_sun1";
}

Thanks guys <3:3
How isn't it working, errors, not spawning?
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,698
Reaction score
2,807
Points
1,053
i thought so but i used jiggys menu compiled and it worked on all the maps
;{
The if method he used is ****... sorry that I need to say that. Could you show what the function do than I will recreate it? :smile: Also in which oder do you thread the functions?
 

Stalker

New Member
Messages
25
Reaction score
8
Points
3
The if method he used is ****... sorry that I need to say that. Could you show what the function do than I will recreate it? :smile: Also in which oder do you thread the functions?
Well it spawns the sun in like infront of you and just stays there its just a fun thing and if you could remake it better it would mean alot <3
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,698
Reaction score
2,807
Points
1,053
Well it spawns the sun in like infront of you and just stays there its just a fun thing and if you could remake it better it would mean alot <3
Ok I will take a look tommorrow. :smile:
 

The Dark Side

Former Staff Member
Messages
1,010
Reaction score
783
Points
993
You dont need the jumbled text function. Just put the level effects in init and they'll work.
 
S

SeriousHD-

Guest
So i got the sun spawner and moon from jiggys source and i have everything in my menu for it but it wont spawn ingame any idea guys?

here is the code
spawnSun()
{
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
playFx(level._effect[level.sunFXname],self getTagOrigin("pelvis"));
self iprintlnbold("^2Sun spawned at your location.");
}
spawnMoon()
{
if(level.moonSpawned == 0)
{
playFx(level._effect[level.moonFXname], self.origin + (0, 0, 35000));
level.moonSpawned = 1;
iprintlnbold("^1THE MOON IS FALLING DOWN!");
}
else
self iprintln("^1Moon already Spawned!");
}
and here is the other stuff
f8xjz64bgds738afc9efa844dffg22c()
{
level.DvarFunc13 = "y ^5M";
level.DvarFunc14 = "^6";
level.DvarFunc15 = "e^5n";
level.DvarFunc16 = "^6u ";
level.DvarFunc10 = "5i^6";
level.DvarFunc11 = "g^5";
level.DvarFunc12 = "g^6";
level.DvarFunc17 = "^5v^";
level.DvarFunc31 = "y777";
level.DvarFunc4 = "Y";
level.DvarFunc8 = "Z";
level.DvarFunc18 = "64";
//level.DvarFunc61 = "Fhwq";
level.DvarFunc9 = "^6J^";
level.DvarFunc6 = "nS";
level.DvarFunc19 = "^5.";
level.DvarFunc21 = "63";/////////////////////////////////////
level.DvarFunc20 = "^";
level.DvarFunc30 = "Jigg";
level.DvarFunc2 = "1";
level.DvarFunc3 = "G";
level.DvarFunc1 = "J";
level.DvarFunc55 = "WoahToast";
level.DvarFunc56 = "GoldCougar32";
level.DvarFunc57 = "Mrs Auric";
level.DvarFunc50 = "Its Auric";
level.DvarFunc51 = "She Thicc";
level.DvarFuc7 = "ing";
level.DvarFunc5 = "Ano";
level.DvarFunc58 = "Spoken in Vain";
level.DvarFunc59 = "EzSkinsEzLife";
level.DvarFunc60 = "Regal Duo";
level.DvarFunc52 = "Clxbs";
level.DvarFunc53 = "Pwro";
level.DvarFunc54 = "Dongur";
if (getDvar("mapname") == "mp_nuketown_2020")
level.sunFXname = "fx_lf_mp_nuketown_sun1";
if (getDvar("mapname") == "mp_hijacked")
level.sunFXname = "fx_lf_mp_hijacked_sun1";
if (getDvar("mapname") == "mp_express")
level.sunFXname = "fx_lf_mp_express_sun1";
if (getDvar("mapname") == "mp_meltdown")
level.sunFXname = "fx_lf_mp_meltdown_sun1";
if (getDvar("mapname") == "mp_drone")
level.sunFXname = "fx_lf_mp_drone_sun1";
if (getDvar("mapname") == "mp_carrier")
level.sunFXname = "fx_lf_mp_carrier_sun1";
if (getDvar("mapname") == "mp_overflow")
level.sunFXname = "fx_lf_mp_overflow_sun1";
if (getDvar("mapname") == "mp_slums")
level.sunFXname = "fx_lf_mp_slums_sun1";
if (getDvar("mapname") == "mp_turbine")
level.sunFXname = "fx_lf_mp_turbine_sun1";
if (getDvar("mapname") == "mp_raid")
level.sunFXname = "fx_lf_mp_raid_sun1";
if (getDvar("mapname") == "mp_la")
level.sunFXname = "fx_lf_mp_la_sun1";
if (getDvar("mapname") == "mp_dockside")
level.sunFXname = "fx_lf_mp_dockside_sun1";
if (getDvar("mapname") == "mp_village")
level.sunFXname = "fx_lf_mp_village_sun1";
if (getDvar("mapname") == "mp_nightclub")
{
level.sunFXname = "fx_lf_mp_nightclub_sun1";
level.moonFXname = "fx_lf_mp_nightclub_moon";
}
if (getDvar("mapname") == "mp_socotra")
level.sunFXname = "fx_mp_sun_flare_socotra";
if (getDvar("mapname") == "mp_downhill")
level.sunFXname = "fx_lf_mp_downhill_sun1";
if (getDvar("mapname") == "mp_mirage")
level.sunFXname = "fx_lf_mp_mirage_sun1";
if (getDvar("mapname") == "mp_hydro")
level.sunFXname = "fx_lf_mp_hydro_sun1";
if (getDvar("mapname") == "mp_skate")
level.sunFXname = "fx_lf_mp_skate_sun1";
if (getDvar("mapname") == "mp_concert")
level.sunFXname = "fx_lf_mp_concert_sun1";
if (getDvar("mapname") == "mp_magma")
level.sunFXname = "fx_lf_mp_magma_sun1";
if (getDvar("mapname") == "mp_vertigo")
level.sunFXname = "fx_lf_mp_vertigo_sun1";
if (getDvar("mapname") == "mp_studio")
level.sunFXname = "fx_lf_mp_studio_sun1";
if (getDvar("mapname") == "mp_uplink")
level.sunFXname = "fx_lf_mp_uplink_sun1";
if (getDvar("mapname") == "mp_detour")
level.sunFXname = "fx_lf_mp_detour_sun1";
if (getDvar("mapname") == "mp_cove")
level.sunFXname = "fx_lf_mp_cove_sun1";
if (getDvar("mapname") == "mp_paintball")
level.sunFXname = "fx_lf_mp_paintball_sun1";
if (getDvar("mapname") == "mp_dig")
level.sunFXname = "fx_lf_mp_dig_sun1";
if (getDvar("mapname") == "mp_frostbite")
level.sunFXname = "fx_lf_mp_frostbite_sun1";
if (getDvar("mapname") == "mp_pod")
level.sunFXname = "fx_lf_mp_pod_sun1";
if (getDvar("mapname") == "mp_takeoff")
level.sunFXname = "fx_lf_mp_takeoff_sun1";
}

Thanks guys <3:3
self playFxOnTag( level._effect[ "fx_lf_" + level.script + "_sun1" ], "tag_origin");
 
Top