Post: a few bits and pieces
07-03-2011, 05:38 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); Whats up,
i was looking through the nazi_zombie_factory_patch.ff, in other words the Der Riese patch for Zombies.
i found a few useful codes which you's might find useful or are new to ya's.

if you already know these then good on you, don't flame.

Browse the Codes Here

Drop All Weapons

    
//Drop all weapons
self animscripts\shared:HappyropAllAIWeapons();



Perk Animations

    
zombie_perk_bottle_doubletap
zombie_perk_bottle_jugg
zombie_perk_bottle_revive
zombie_perk_bottle_sleight
mine_bouncing_betty
syrette



Player Animations

    
zombie_knuckle_crack
zombie_bowie_flourish



Couple of Dog Dvars

    
//Dog vars
SetDvar( "scr_dog_health_walk_multiplier", "4.0" );
SetDvar( "scr_dog_run_distance", "500" );



Players Defualt Models

    
//Player Models
//American
self setModel("char_usa_marine_polonsky_zomb");
self.voice = "american";
//Russian
self setModel("char_rus_guard_chernova_zomb");
self.voice = "russian";


Zombie Points
    
//Zombie XP
set_zombie_var( "zombie_score_kill", 50 );
set_zombie_var( "zombie_score_damage", 5 );
set_zombie_var( "zombie_score_bonus_melee", 80 );
set_zombie_var( "zombie_score_bonus_head", 50 );
set_zombie_var( "zombie_score_bonus_neck", 20 );
set_zombie_var( "zombie_score_bonus_torso", 10 );
set_zombie_var( "zombie_score_bonus_burn", 10 );

set_zombie_var( "penalty_no_revive_percent", 10, 100 );
set_zombie_var( "penalty_died_percent", 0, 100 );
set_zombie_var( "penalty_downed_percent", 5, 100 );

set_zombie_var( "zombie_flame_dmg_point_delay", 500 );


Some Unknown Dvars
    
//test these
SetDvar( "revive_trigger_radius", "60" );
SetDvar( "magic_box_explore_only", "1" );
SetDvar( "magic_chest_movable", "1" );
SetDvar( "zombie_cheat", "0" );
SetDvar( "zombie_debug", "0" );


Defualt Dvars on Spawn
    
//on spawn default dvars
"cg_deadChatWithDead", "1",
"cg_deadChatWithTeam", "1",
"cg_deadHearTeamLiving", "1",
"cg_deadHearAllLiving", "1",
"cg_everyoneHearsEveryone", "1",
"compass", "0",
"hud_showStance", "0",
"cg_thirdPerson", "0",
"cg_fov", "65",
"cg_thirdPersonAngle", "0",
"ammoCounterHide", "0",
"miniscoreboardhide", "0",
"ui_hud_hardcore", "0"


Freeze Controls
    
//freeze controls
self EnableWeapons();
self AllowStand( true );
self AllowCrouch( false );
self AllowProne( false );


Zombies Stats in game
    
//set zombie stats
players[i] zombieStatSet( "zombie_kills", total_kills );
players[i] zombieStatSet( "zombie_points", total_points );
players[i] zombieStatSet( "zombie_rounds", total_rounds );
players[i] zombieStatSet( "zombie_downs", total_downs );
players[i] zombieStatSet( "zombie_revives", total_revives );
players[i] zombieStatSet( "zombie_perks_consumed", total_perks );
players[i] zombieStatSet( "zombie_heashots", total_headshots );
players[i] zombieStatSet( "zombie_gibs", total_zombie_gibs );


Update Stats in Zombies
    
//update leaderboards
maps/_zombiemode::update_leaderboards();
maps/_zombiemode::nazizombies_upload_highscore();
maps/_zombiemode::nazizombies_set_new_zombie_stats();


Force End Game
    
//end game
maps/_zombiemode::end_game();



if you're going to hate then hate, i'm only trying to help.
don't ask how i found them, just simply bored. you never know, these things could come useful.
all it needs is the old browse, copy and paste.

thanks.
(adsbygoogle = window.adsbygoogle || []).push({});

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

Karoolus, TheCodKittenz, TheFallen
07-04-2011, 11:00 PM #11
Correy
I'm the Original
Originally posted by Karoolus View Post
You must login or register to view this content.


thanks gorgeous, did you make this :wub:?
07-05-2011, 06:48 AM #12
Karoolus
I'm the W@W Menu Guy !
Originally posted by Correy View Post
thanks gorgeous, did you make this :wub:?


hell no :p
i just downloaded it
BUT this is what's used to make mods on pc, it contains every gsc etc in the game, so you should be able to find some cool scripts now Winky Winky

The following user thanked Karoolus for this useful post:

Correy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo