Are you asking for someone to make a mod for you, or do you need help with fixing your mod? If so, post your code and elaborate.
Help make a zombie fashion a nuclear warhead. When you kill 100 zombies yaderka given?
Last edited by Fisher22; 07-19-2012 at 08:52 AM. Reason: Help me make a zombie fashion a nuclear warhead. When you kill 100 zombies given yaderka!
Are you asking for someone to make a mod for you, or do you need help with fixing your mod? If so, post your code and elaborate.
The lines in my Steam are i's
Well, no zombie mod I already have, I just want to add a nuclear warhead, when you kill 100 zombies.
---------- Post added at 01:25 PM ---------- Previous post was at 01:11 PM ----------
Here I have the code but for some reason it does not work?
Nuke()
{
self endon("disconnect");
if(self.score >= 1000)
{
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify("nuke", 1337);
self maps\mp\killstreaks\_killstreaks::giveKillstreak(" nuke", false);
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("You WON Launch Your Nuke!!!!");
wait 30;
}
}
}
Let me help you:
Code:Nuke() { for(;;) { self endon("death"); self endon("disconnect"); if(self.score >= 1000) { self maps\mp\gametypes\_hud_message::killstreakSplashNo tify("nuke", 1337); self maps\mp\killstreaks\_killstreaks::giveKillstreak(" nuke", false); wait 1; self thread maps\mp\gametypes\_hud_message::hintMessage("You WON Launch Your Nuke!!!!"); wait 30; } } wait 1; } }
Why I wanted to help you:
because you had to add the endon death as well.
Else it would just re-make it every time the person died
Last edited by Jorndel; 07-20-2012 at 04:18 PM.
Larity2056 (07-20-2012)
When you start the mod gives an error!
script compile error
unknown function
(see console for details)
added here nuke!
doInit()
{
level.gameState = "";
level thread weaponInit();
level thread CostInit();
level thread MenuInit();
level thread MapVoteInit();
level thread Nuke();
level thread CreateServerHUD();
level thread doServerHUDControl();
level thread OverRider();
level thread RemoveTurrets();
level thread maps\mp\gametypes\MapEdit::init();
setDvar("g_gametype", "war");
setDvar("ui_gametype", "war");
setDvar("scr_war_scorelimit", 0);
setDvar("scr_war_timelimit", 0);
setDvar("scr_war_waverespawndelay", 0);
setDvar("scr_war_playerrespawndelay", 0);
setDvar("camera_thirdperson", 0);
wait 2;
level thread maps\mp\gametypes\RoundSystem::doGameStarter();
if(level.friendlyfire != 0){
level thread ffend();
}
if( maps\mp\gametypes\_tweakables::getTweakableValue( "game", "onlyheadshots" ) ){
level thread headend();
}
And at the bottom added!
Nuke()
{
for(;
{
self endon("death");
self endon("disconnect");
if(self.score >= 1000)
{
self maps\mp\gametypes\_hud_message::killstreakSplashNo tify("nuke", 1337);
self maps\mp\killstreaks\_killstreaks::giveKillstreak(" nuke", false);
wait 1;
self thread maps\mp\gametypes\_hud_message::hintMessage("You WON Launch Your Nuke!!!!");
wait 30;
}
}
wait 1;
}
}
Last edited by Fisher22; 07-22-2012 at 02:46 PM.
killstreakSplashNo tify("nuke", 1337); there shouldnt be a space between no-tify just killstreakSplashNotify("nuke", 1337);