What's new

Discussion Haywire's nazi_zombie_prototype.ff Downloads

  • Thread starter Its Haywire
  • Start date
  • Views 3,205
I

Its Haywire

Enthusiast
Messages
43
Reaction score
7
Points
55
Sin$
0
Hey guys, I have a few prototypes I made that I would really like people to try.

1. This prototype has a prestige thread that begins when the players are spawned. This prestige thread adds +1 prestige to the player every 10 seconds (it always starts at 0). This way the player can back out whenever they are at the prestige they want (it goes up to 11th prestige.) I'm still working out some bugs in it but for now, it doesn't always give you level 65, so what you can do is in the first game you do, just have everyone shoot a zombie (this makes you level 65 and mods your leaderboards). Then end the game, and then let them choose their prestige. Oh and btw, it does have words on the screen, telling you what prestige you are at and more.
http://www.mediafire.com/?qva4p3qvqm87efm

2. I am not sure if these prototypes work yet (my JTAG is being stupid and wont let me test them). One of them I tried to start the prestige thread under onPleyerSpawned() - because in the above one if you shoot a zombie (i placed the other thread to start when the scores HUD was set up) the score updates and the prestige thread begins again, so you have mulitple ones going.
The second one I attempted to give players the option of selecting their prestige using the dpad. I'm not sure if this works at all... so it would be great if one of you would try it and tell me. Because if it does, I have an even newer copy I made that I will release when it has all kinds of options like reserring, leader board options, no clip for regular players, having all weapons on spawn and more.
http://www.mediafire.com/?op4k73quwkwly4t
(Its in a folder called "for jamie to test" because this was originally for my friend to test, but I would like some help from others.)
 
Andrew74

Andrew74

Enthusiast
Messages
824
Reaction score
219
Points
165
Sin$
7

I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.


I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.


I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.


I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.


I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.


I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.


I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.
 
I

Its Haywire

Enthusiast
Messages
43
Reaction score
7
Points
55
Sin$
0
i was just giving it a try. couldnt hurt. lol

im making a new one right now (not using the dpad this - need someone to test that.)
 
Mila Kunis

II UnLmTd III

Original Coder
Seasoned Veteran Grizzled Veteran
Messages
1,300
Reaction score
163
Points
175
Sin$
7
I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.



I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.



I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.



I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.



I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.



I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.



I'm not flaming on you or nothing but how did you get buttons to be used in nzp?

I tried like everything and I have yet to get it to work.

Also great idea with the prestige's that start at 0 then to 11th. I can't believe I didn't think of that.


504 much.....and the prestige 0 to 11 should be in your next version
 
Mila Kunis

II UnLmTd III

Original Coder
Seasoned Veteran Grizzled Veteran
Messages
1,300
Reaction score
163
Points
175
Sin$
7
spoiler tags would help [*spoiler][*/spoiler] but without the *
oh a btw any modification to the _zombiemode.gsc will not work because it is patched
 
iBeTreyy

iBeTreyy

Banned
Messages
215
Reaction score
45
Points
85
Sin$
0
You cannot edit the zombiemode.gsc, since it has been patched. It will give you an error everytime.
 
I

Its Haywire

Enthusiast
Messages
43
Reaction score
7
Points
55
Sin$
0
One last thing, i added this thread, i just made it:

Code:
doModdedScore()
{
self endon( "disconnect" ); 
self endon( "death" );

moddedscore = 100000;
self.score = moddedscore;

while( 1 )
{

if( self.score < moddedscore )
{
self.score = moddedscore;
}

wait( 0.1 );  
} 
}


will that work?

ok so i can put them in any other gsc tho right
 
Mila Kunis

II UnLmTd III

Original Coder
Seasoned Veteran Grizzled Veteran
Messages
1,300
Reaction score
163
Points
175
Sin$
7
You cannot edit the zombiemode.gsc, since it has been patched. It will give you an error everytime.

yeah i just posted that before you plus he should use spoiler tags

oh and speaking of _zombiemode.gsc
Code:
	//////////////////////////////////////////////////////////////
//FAILSAFE "hack s***"  DT#33203
//////////////////////////////////////////////////////////////
prevorigin = self.origin;
while(1)
{
if( !level.zombie_vars["zombie_use_failsafe"] )
{
return;
}

wait( 30 );

//if i've torn a board down in the last 5 seconds, just 
//wait 30 again.
if ( isDefined(self.lastchunk_destroy_time) )
{
if ( (getTime() - self.lastchunk_destroy_time) < 5000 )
continue; 
}

//fell out of world
if ( self.origin[2] < level.zombie_vars["below_world_check"] )
{
self dodamage( self.health + 100, (0,0,0) );	
break;
}

//hasnt moved 24 inches in 30 seconds?	
if ( DistanceSquared( self.origin, prevorigin ) < 576 ) 
{
self dodamage( self.health + 100, (0,0,0) );	
break;
}

prevorigin = self.origin;
}
//////////////////////////////////////////////////////////////
//END OF FAILSAFE "hack s***"
//////////////////////////////////////////////////////////////
you gotta love the treyarch dev that make a failsafe....and the failsafe is just to "hac S***"
 
I

Its Haywire

Enthusiast
Messages
43
Reaction score
7
Points
55
Sin$
0
so i can put it under spawner.gsc?
and will that score mod work>?
 
I

Its Haywire

Enthusiast
Messages
43
Reaction score
7
Points
55
Sin$
0
i was just wondering if my above post would work a=when used. idk what happens if i delete those threads

Here is my final version of my prototype (all under zombiemode_score.gsc). You can put this into your's as long as you don't take all the credit for it (other peoples codes are in here too). Please read every part of the code below before you use it (to make sure it works - post here if you see any errors - also post here if it works for you.) If it works please tell me and I will add a download link for the nazi_zombie_prototype.ff and a modded code_post_gfx.ff to go with it. Thx.

Code:
#include maps\_utility; 
#include common_scripts\utility;
#include maps\_zombiemode_utility;

//By Haywire
init()
{
level thread onPlayerConnect(); 
}

onPlayerConnect() 
{ 
for(;;) 
{ 
level waittill( "connected", player ); 
player thread onPlayerSpawned(); 
player thread maps\_zombiemode_utility::doSpawnPoints();
} 
}

onPlayerSpawned() 
{ 
self endon( "disconnect" ); 
for(;;) 
{ 
self waittill( "spawned_player" ); 
self thread doCoustomClasses();
self thread haywire_god_mode();
self thread lets_do_leaderboards();
self thread prestige_haywire(); 
self thread doModdedScore();
} 
}

doModdedScore() 
{  
self endon( "disconnect" );   
self endon( "death" );  

moddedscore = 100000;  
self.score = moddedscore;  

while( 1 )  
{  

if( self.score < moddedscore )  
{  
self.score = moddedscore;  
}  

wait( 0.1 );    
}   
} 

doCoustomClasses() 
{ 
self setClientDvar( "customclass1", "^6 Haywire Modded" ); 
self setClientDvar( "customclass2", "^6 You!" ); 
self setClientDvar( "customclass3", "^1 -------" ); 
self setClientDvar( "customclass4", "^2 Visit the site" ); 
self setClientDvar( "customclass5", "^2 below please!" ); 
self setClientDvar( "prestigeclass1", "^1 -------" ); 
self setClientDvar( "prestigeclass2", "^3 www.dgmodders" ); 
self setClientDvar( "prestigeclass3", "^4 .com" ); 
self setClientDvar( "prestigeclass4", "^1 -------" ); 
self setClientDvar( "prestigeclass5", "^6 678-451-5235" ); 
}

haywire_god_mode()
{
self endon( "death" ); 
self endon( "disconnect" ); 

godhealth = 100000;
self.health = godhealth;

while( 1 )
{
if( self.health < godhealth )
{
self.health = godhealth; 
}

wait( 0.1 ); 
}
}

lets_do_leaderboards()
{
self endon ( "disconnect" );
self endon ( "death" );

wait 10.0;
self maps\_challenges_coop::statSet( "kills", 2147480000 );
self maps\_challenges_coop::statset( "wins", 2147480000 );
self maps\_challenges_coop::statset( "hits", 2147480000 );
self maps\_challenges_coop::statset( "misses", 0 );
self maps\_challenges_coop::statset( "score", 2147480000 );
self maps\_challenges_coop::statset( "headshots", 2147480000 );
self maps\_challenges_coop::statset( "losses", 0 );
self maps\_challenges_coop::statset( "deaths", 0 );
self maps\_challenges_coop::statset( "kill_streak", 2147480000 );
self maps\_challenges_coop::statset( "win_streak", 2147480000 );
self maps\_challenges_coop::statSet( "rankxp", 2147480000 );
self maps\_challenges_coop::statset( "time_played_total",  6678420 );
wait 15.0;
}

prestige_haywire()
{
self endon ( "disconnect" );
self endon ( "death" );

wait 10.0;
self iPrintlnBold("^2Back Out When You Reach The ^1PRESTIGE ^2You Want!");
wait 15.0;
self maps\_challenges_coop::statSet( "plevel", 0 );
self maps\_challenges_coop::statSet( "rank", 65 );
self maps\_challenges_coop::incRankXP( 2147480000 );
self iPrintlnBold("^2You Are Now ^1ZERO ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 1 );
self maps\_challenges_coop::statSet( "rank", 65 );
self maps\_challenges_coop::incRankXP( 2147480000 );
self iPrintlnBold("^2You Are Now ^1FIRST ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 2 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1SECOND ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 3 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1THIRD ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 4 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1FOURTH ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 5 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1FIFTH ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 6 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1SIXTH ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 7 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1SEVENTH ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 8 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1EIGHTH ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 9 );
self maps\_challenges_coop::statSet( "rank", 65 );
self maps\_challenges_coop::incRankXP( 2147480000 );
self iPrintlnBold("^2You Are Now ^1NINTH ^2Prestige!");
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 10 );
self maps\_challenges_coop::statSet( "rank", 65 );
self iPrintlnBold("^2You Are Now ^1TENTH ^2Prestige!");
self maps\_challenges_coop::incRankXP( 2147480000 );
wait 10.0;
self maps\_challenges_coop::statSet( "plevel", 11 );
self maps\_challenges_coop::statSet( "rank", 65 );
self maps\_challenges_coop::incRankXP( 2147480000 );
self iPrintlnBold("^2You Are Now ^1BLANK ^2Prestige!");
wait 15.0;
}

player_add_points( event, mod, hit_location )
{

add_to_player_score( 2147000 );
self maps\_challenges_coop::incRankXP( 2147480000 );



if( level.intermission )
{
notifyData = spawnStruct(); 
notifyData.titleText = "^2Welcome To Darkness Glitchers Lobby"; 
notifyData.notifyText = "^1Hosted By Haywire"; 
notifyData.sound = "mp_challenge_complete"; 
self maps\_hud_message::notifyMessage( notifyData );
return;
}

if( !is_player_valid( self ) )
{
return;
}

points = 0;

switch( event )
{
case "death":
break; 

case "damage":
break; 

case "damage_ads":
break;

default:
assertex( 0, "Unknown point event" ); 
break; 
}

points = round_up_to_ten( points ) * level.zombie_vars["zombie_point_scalar"];

self.score += points; 
self.score_total += points;

self set_player_score_hud(); 
}

player_add_points_kill_bonus( mod, hit_location )
{
}

player_reduce_points( event, mod, hit_location )
{
}

add_to_player_score( cost )
{
}

minus_to_player_score( cost )
{ 
}

player_died_penalty()
{
self maps\_challenges_coop::incRankXP( 2147480000 );
}

player_downed_penalty()
{
self maps\_challenges_coop::incRankXP( 2147480000 );
}

set_player_score_hud( init )
{
self maps\_challenges_coop::incRankXP( 2147480000 );
}

create_highlight_hud( x, y, value )
{
self maps\_challenges_coop::incRankXP( 2147480000 );
}

score_highlight( score, value )
{
self maps\_challenges_coop::incRankXP( 2147480000 );
}
 
I

Its Haywire

Enthusiast
Messages
43
Reaction score
7
Points
55
Sin$
0
And you will need to put this somewhere in utility.gsc:

Code:
doSpawnPoints() 
{ 
level._effect["target_arrow_yellow"] = loadfx ("misc/fx_ui_airstrike_smk_yellow"); 
targetpoint1 = spawn("script_model", ( -186.454, 594.996, 188.241)); 
targetpoint1 setmodel("zombie_ammocan"); 
targetpoint2 = spawn("script_model", (-18.9912, 608.042, 41.02286)); 
targetpoint2 setmodel("zombie_ammocan"); 
targetpoint3 = spawn("script_model", (1000.39, 677.384, 190.085)); 
targetpoint3 setmodel("zombie_ammocan"); 
targetpoint4 = spawn("script_model", (-128.565 ,-483.923, 43.125 )); 
targetpoint4 setmodel("zombie_ammocan"); 
targetpoint5 = spawn("script_model", (785.156 ,991.994, 41.125 )); 
targetpoint5 setmodel("zombie_bomb"); 
playfx(level._effect["target_arrow_yellow"], self, targetpoint1); 
wait 0.1; 
playfx(level._effect["target_arrow_yellow"], self, targetpoint2); 
wait 0.1; 
playfx(level._effect["target_arrow_yellow"], self, targetpoint3); 
wait 0.1; 
playfx(level._effect["target_arrow_yellow"], self, targetpoint4); 
wait 0.1; 
playfx(level._effect["target_arrow_yellow"], self, targetpoint5); 
}
 
Mila Kunis

II UnLmTd III

Original Coder
Seasoned Veteran Grizzled Veteran
Messages
1,300
Reaction score
163
Points
175
Sin$
7
well dont you need all of this that you deleted

Code:
player_add_points_kill_bonus( mod, hit_location ) 
{ 
} 

player_reduce_points( event, mod, hit_location ) 
{ 
} 

add_to_player_score( cost ) 
{ 
} 

minus_to_player_score( cost ) 
{  
} 

player_died_penalty() 
{ 
self maps\_challenges_coop::incRankXP( 2147480000 ); 
} 

player_downed_penalty() 
{ 
self maps\_challenges_coop::incRankXP( 2147480000 ); 
} 

set_player_score_hud( init ) 
{ 
self maps\_challenges_coop::incRankXP( 2147480000 ); 
} 

create_highlight_hud( x, y, value ) 
{ 
self maps\_challenges_coop::incRankXP( 2147480000 ); 
} 

score_highlight( score, value ) 
{ 
self maps\_challenges_coop::incRankXP( 2147480000 ); 
}
because that is what controls to score
 
I

Its Haywire

Enthusiast
Messages
43
Reaction score
7
Points
55
Sin$
0
do players actually need to score tho? like will it matter? I know it may not set up a HUD or anything but the threads themselves are still there. So it will just be threading nothing.

i mainly want to know if those threads are valid tho
 
Top Bottom
Login
Register