Skip to content

Commit

Permalink
Experimental Five Script Placer Support
Browse files Browse the repository at this point in the history
Experimental Five/Pentagon Script Placer, proceed with caution
  • Loading branch information
VermilionReaper committed Sep 6, 2022
1 parent fceb386 commit 8da3d01
Show file tree
Hide file tree
Showing 14 changed files with 3,033 additions and 0 deletions.
1,484 changes: 1,484 additions & 0 deletions bin/Launcher/map_templates/ZombiemodeFive/map_source/template.map

Large diffs are not rendered by default.

@@ -0,0 +1,9 @@
main()
{
//ent = clientscripts\_fx::createOneshotEffect( "axis_fx_test" );
//ent.v[ "origin" ] = ( 60, 1545, 21 );
//ent.v[ "angles" ] = ( 0, 0, 0 );
//ent.v[ "type" ] = "oneshotfx";
//ent.v[ "fxid" ] = "axis_fx_test";
//ent.v[ "delay" ] = -15;
}
@@ -0,0 +1,119 @@
#include clientscripts\_utility;
#include clientscripts\_music;
#include clientscripts\_zombiemode_weapons;
main()
{
level._uses_crossbow = true;

// ww: thundergun init happens in _zombiemode.csc so the weapons need to be setup before _zombiemode::main is
include_weapons();
// _load!
clientscripts\_zombiemode::main();
clientscripts\template_fx::main();
thread clientscripts\template_amb::main();

clientscripts\_zombiemode_deathcard::init();

// This needs to be called after all systems have been registered.
thread waitforclient(0);

level._power_on = false;


register_zombie_types();
}
register_zombie_types()
{
character\clientscripts\c_ger_honorguard_zt::register_gibs();
character\clientscripts\c_zom_quad::register_gibs();

// Register gibs for zombie_pentagon zombies (Enable if used)
//character\clientscripts\c_usa_pent_zombie_scientist::register_gibs();
//character\clientscripts\c_usa_pent_zombie_officeworker::register_gibs();
//character\clientscripts\c_usa_pent_zombie_militarypolice::register_gibs();
}
/*****************************************************************************
// WEAPON FUNCTIONS
//
// Include the weapons that are only in your level so that the cost/hints are accurate
// Also adds these weapons to the random treasure chest.
//***************************************************************************** */
include_weapons()
{
include_weapon( "frag_grenade_zm", false );
include_weapon( "claymore_zm", false );
// Weapons - Pistols
include_weapon( "m1911_zm", false ); // colt
include_weapon( "m1911_upgraded_zm", false );
include_weapon( "python_zm" ); // 357
include_weapon( "python_upgraded_zm", false );
include_weapon( "cz75_zm" );
include_weapon( "cz75_upgraded_zm", false );
// Weapons - Semi-Auto Rifles
include_weapon( "m14_zm", false ); // gewehr43
include_weapon( "m14_upgraded_zm", false );
// Weapons - Burst Rifles
include_weapon( "m16_zm", false );
include_weapon( "m16_gl_upgraded_zm", false );
include_weapon( "g11_lps_zm" );
include_weapon( "g11_lps_upgraded_zm", false );
include_weapon( "famas_zm" );
include_weapon( "famas_upgraded_zm", false );
// Weapons - SMGs
include_weapon( "ak74u_zm", false ); // thompson, mp40, bar
include_weapon( "ak74u_upgraded_zm", false );
include_weapon( "mp5k_zm", false );
include_weapon( "mp5k_upgraded_zm", false );
include_weapon( "mp40_zm", false );
include_weapon( "mp40_upgraded_zm", false );
include_weapon( "mpl_zm", false );
include_weapon( "mpl_upgraded_zm", false );
include_weapon( "pm63_zm", false );
include_weapon( "pm63_upgraded_zm", false );
include_weapon( "spectre_zm" );
include_weapon( "spectre_upgraded_zm", false );
// Weapons - Dual Wield
include_weapon( "cz75dw_zm" );
include_weapon( "cz75dw_upgraded_zm", false );
// Weapons - Shotguns
include_weapon( "ithaca_zm", false ); // shotgun
include_weapon( "ithaca_upgraded_zm", false );
include_weapon( "rottweil72_zm", false );
include_weapon( "rottweil72_upgraded_zm", false );
include_weapon( "spas_zm" ); //
include_weapon( "spas_upgraded_zm", false );
include_weapon( "hs10_zm" );
include_weapon( "hs10_upgraded_zm", false );
// Weapons - Assault Rifles
include_weapon( "aug_acog_zm" );
include_weapon( "aug_acog_mk_upgraded_zm", false );
include_weapon( "galil_zm" );
include_weapon( "galil_upgraded_zm", false );
include_weapon( "commando_zm" );
include_weapon( "commando_upgraded_zm", false );
include_weapon( "fnfal_zm" );
include_weapon( "fnfal_upgraded_zm", false );
// Weapons - Sniper Rifles
include_weapon( "dragunov_zm" ); // ptrs41
include_weapon( "dragunov_upgraded_zm", false );
include_weapon( "l96a1_zm" );
include_weapon( "l96a1_upgraded_zm", false );
// Weapons - Machineguns
include_weapon( "rpk_zm" ); // mg42, 30 cal, ppsh
include_weapon( "rpk_upgraded_zm", false );
include_weapon( "hk21_zm" );
include_weapon( "hk21_upgraded_zm", false );
// Weapons - Misc
include_weapon( "m72_law_zm" );
include_weapon( "m72_law_upgraded_zm", false );
include_weapon( "china_lake_zm" );
include_weapon( "china_lake_upgraded_zm", false );
// Weapons - Special
include_weapon( "zombie_cymbal_monkey" );
include_weapon( "ray_gun_zm" );
include_weapon( "ray_gun_upgraded_zm", false );
include_weapon( "thundergun_zm", true );
include_weapon( "thundergun_upgraded_zm", false );
include_weapon( "crossbow_explosive_zm" );
include_weapon( "crossbow_explosive_upgraded_zm", false );
}
@@ -0,0 +1,51 @@
//
// file: template_amb.csc
// description: clientside ambient script for template: setup ambient sounds, etc.
//

#include clientscripts\_utility;
#include clientscripts\_ambientpackage;
#include clientscripts\_music;
#include clientscripts\_busing;
#include clientscripts\_audio;

main()
{

//**** AMBIENT PACKAGES/ROOMS ****\\

/*
declareAmbientRoom( "theater_main_room" );
declareAmbientPackage( "theater_main_room" );
setAmbientRoomTone( "theater_main_room", "amb_theater_bg" );
setAmbientRoomReverb ("theater_main_room","zmb_theater_main_room", 1, 1);
addAmbientElement( "theater_main_room", "amb_wood_groan", 15, 60, 50, 150 );
setAmbientRoomContext( "theater_main_room", "ringoff_plr", "indoor" );
//Default Ambient Package
activateAmbientPackage( 0, "theater_main_room", 0 );
activateAmbientRoom( 0, "theater_main_room", 0 );
*/

//MUSIC STATES
/*
declareMusicState("WAVE");
musicAliasloop("mus_theatre_underscore", 4, 2);
declareMusicState("EGG");
musicAlias("mus_egg", 1);
declareMusicState( "SILENCE" );
musicAlias("null", 1 );
*/
//THREADED FUNCTIONS
thread power_on_all();
}

//POWER ON
power_on_all()
{
level waittill( "pl1" );

//Post power ambience
}

0 comments on commit 8da3d01

Please sign in to comment.