Post: [RELEASE] Round Editor
04-15-2012, 04:00 PM #1
IVI40A3Fusionz
Former Gaming Squad Member
(adsbygoogle = window.adsbygoogle || []).push({});
Round Editor i was gonna keep for myself for my patch but i've decided to release it considering Black Ops coding is so dead when it comes to new scripts.

Video:


UPDATE 2:
- Changed look of the editor, now looks better and more 'professional'.

Update 2, Script:
    
RoundEditor(i)
{
self endon("death");
self endon("disconnect");
self endon("StopRound");
self CloseMenu();
wait .01;
self freezecontrols(true);
wait .01;
self.MenuLocked = false;
self.Edit = i;
self.RoundEditorBar=CreateShader("CENTER","",0,0,1000,50,(0,0,0),"white",0,1);
self.RoundEditor=CreateTextString("default",3,"CENTER","",0,0,1,1,"Set Round To "+self.Edit+"?");
for(;Winky Winky
{
if(self.Edit >= i)
{
if(self AttackButtonPressed() || self AdsButtonPressed())
{
self.Edit += (i*self AttackButtonPressed());
self.Edit -= (i*self AdsButtonPressed());
if(self.Edit == 0) self.Edit = i;
self.RoundEditor destroy();
self.RoundEditor=CreateTextString("default",3,"CENTER","",0,0,1,1,"Set Round To "+self.Edit+"?");
wait .1;
}
if(self UseButtonPressed())
{
level.round_number = self.Edit-1;
self thread ZombieKill();
self iPrintln("Round Set To "+self.Edit);
wait .2;
}
if(self MeleeButtonPressed())
{
self.RoundEditorBar destroy();
self.RoundEditor destroy();
self MenuOpen("Round");
self notify("StopRound");
}
}
wait .001;
}
}
ZombieKill()
{
Zombz = GetAiSpeciesArray( "axis" );
level.zombie_total = 0;
for( i = 0;i < Zombz.size;i++ )
{
Zombz[i] maps\_zombiemode_spawner::zombie_head_gib();
Zombz[i] DoDamage( Zombz[i].health * 5000, Zombz[i].origin, self );
wait .05;
}
}


UPDATE 1:

- Added support allowing you to choose what round you go up by, by using a simple input Smile.
* If should be set out like this,
- Function: RoundEditor.
- Input: Whatever number you like e.g. 100.

Update 1, Script:
    
RoundEditor(i)
{
self endon("death");
self endon("disconnect");
self.Edit = i;
self iPrintlnBold("Set Round To "+self.Edit+"?");
for(;Winky Winky
{
if(self.Edit >= i)
{
if(self AttackButtonPressed() || self AdsButtonPressed())
{
self.Edit += (i*self AttackButtonPressed());
self.Edit -= (i*self AdsButtonPressed());
if(self.Edit == 0) self.Edit = i;
self iPrintlnBold("Set Round To "+self.Edit+"?");
wait .1;
}
if(self UseButtonPressed())
{
level.round_number = self.Edit-1;
Zombz = GetAiSpeciesArray( "axis" );
level.zombie_total = 0;
for( i = 0;i < Zombz.size;i++ )
{
Zombz[i] maps\_zombiemode_spawner::zombie_head_gib();
Zombz[i] DoDamage( Zombz[i].health * 5000, Zombz[i].origin, self );
wait .05;
}
self iPrintln("Round Set To "+self.Edit);
wait .2;
}
}
wait .001;
}
}



Original Script:

    
RoundEditor()
{
self endon("death");
self endon("disconnect");
self.Edit = 1;
self iPrintlnBold("Set Round To "+self.Edit+"?");
for(;Winky Winky
{
if(self.Edit >= 1)
{
if(self AttackButtonPressed() || self AdsButtonPressed())
{
self.Edit += self AttackButtonPressed();
self.Edit -= self AdsButtonPressed();
if(self.Edit == 0) self.Edit = 1;
self iPrintlnBold("Set Round To "+self.Edit+"?");
wait .1;
}
if(self UseButtonPressed())
{
level.round_number = self.Edit-1;
Zombz = GetAiSpeciesArray( "axis" );
level.zombie_total = 0;
for( i = 0;i < Zombz.size;i++ )
{
Zombz[i] maps\_zombiemode_spawner::zombie_head_gib();
Zombz[i] DoDamage( Zombz[i].health * 5000, Zombz[i].origin, self );
wait .05;
}
self iPrintln("Round Set To "+self.Edit);
wait .2;
}
}
wait .001;
}
}



You Will Also Need This, Reason For Me Using It Is Because If You Use Alot Of setText, Then This Will Reduce The Size Of Your .gsc:
    
CreateTextString(font,fontscale,align,relative,x,y,alpha,sort,text)
{
CreateText=createFontString(font,fontscale);
CreateText setPoint(align,relative,x,y);
CreateText.alpha=alpha;
CreateText.sort=sort;
CreateText setText(text);
return CreateText;
}

Credits:
Me - For Making It.
xRaw - For Sending Me The 'Kill All Zombies' Script.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 10 users say thank you to IVI40A3Fusionz for this useful post:

blikefritz, FourzerotwoFAILS, Harry, User23434, Cmd-X, RayJ_chugs, rimka06510, xMrSuperMoDzZ--, xRaW, ZeiiKeN
04-15-2012, 04:13 PM #2
ϟ c0rruption ϟ
Certified Ethical Hacker
nice bro, get on skype m8 i added you i need to ask you sumthin..:carling:
04-15-2012, 04:17 PM #3
RayJ_chugs
[move] No Founder [/move]
cool i always wanted to see how the last round looked like see if i can survive it.
04-15-2012, 04:20 PM #4
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by slf View Post
nice bro, get on skype m8 i added you i need to ask you sumthin..:carling:


Not got a contact request :\, my Skype is xFusi0nz
04-15-2012, 04:23 PM #5
xRaW
xI2aW-
heheh we both made 1 but i wont release mine cause theres no point. Your 1 is the same thing just i use settext Winky Winky
04-15-2012, 05:39 PM #6
primetime43
Knowledge is power Tiphat
Nice man. How do u write this code?
04-15-2012, 05:41 PM #7
Default Avatar
Newelly
Guest
Originally posted by primetime43 View Post
Nice man. How do u write this code?

By using your keyboard. :carling:

The following 3 users say thank you to Newelly for this useful post:

Vampytwistッ, X-RAY200
04-15-2012, 05:49 PM #8
primetime43
Knowledge is power Tiphat
Originally posted by Newelly View Post
By using your keyboard. :carling:


Haha thx for the help man.
04-15-2012, 05:58 PM #9
iTruceFret
[move]From now on, call me DRAGON.[/move]
Originally posted by Newelly View Post
By using your keyboard. :carling:


Lol. Your power button picture as your avatar...I had to click it, to see if it magically did something awesome. It failed. stare
04-15-2012, 06:58 PM #10
Default Avatar
Newelly
Guest
Originally posted by Truce View Post
Lol. Your power button picture as your avatar...I had to click it, to see if it magically did something awesome. It failed. stare


Someone like you just would do that right? stare

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo