Remove shipment hack

pull/17/head v0.2.6
Louvenarde 2023-12-18 13:51:13 +01:00 committed by Roxanne
parent 349be24b6c
commit 37dd2f576a
8 changed files with 0 additions and 357 deletions

View File

@ -1,17 +0,0 @@
// _createart generated. modify at your own risk. Changing values should be fine.
main()
{
level.tweakfile = true;
//* Fog section *
setdvar( "scr_fog_disable", "0" );
//setExpFog( 500, 2842, 0.642709, 0.626383, 0.5, 3.0, 0 );
//setExpFog( start distance, halfway distance, red, green, blue, max opacity, transition time,
setExpFog( 750, 2842, 0.642709, 0.666383, 0.5, 0.02, 100 );
VisionSetNaked( "mp_shipment", 0 );
}

View File

@ -1,125 +0,0 @@
//_createfx generated. Do not touch!!
#include common_scripts\utility;
#include common_scripts\_createfx;
main()
{
// CreateFX entities placed: 121
ent = createLoopSound();
ent.v[ "origin" ] = ( 1026.31, 690.984, 325.106 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_tree_leaf_rustle";
ent = createLoopSound();
ent.v[ "origin" ] = ( -74.0565, -1064.84, 395.295 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_tree_leaf_rustle";
ent = createLoopSound();
ent.v[ "origin" ] = ( 672.98, 116.825, 298.125 );
ent.v[ "angles" ] = ( 0, 0, 0 );
ent.v[ "soundalias" ] = "emt_ac_metal_rattle";
ent = createLoopSound();
ent.v[ "origin" ] = ( -15.6846, -531.97, 298.125 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_ac_metal_rattle";
ent = createLoopSound();
ent.v[ "origin" ] = ( -609.761, 98.299, 298.125 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_ac_metal_rattle";
ent = createLoopSound();
ent.v[ "origin" ] = ( 17.674, 657.888, 298.125 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_ac_metal_rattle";
ent = createLoopSound();
ent.v[ "origin" ] = ( 139.752, 127.875, 358.052 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_ac_metal_rattle";
ent = createLoopSound();
ent.v[ "origin" ] = ( 482.075, 1591.5, 523.125 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_ship_chain_sway";
ent = createLoopSound();
ent.v[ "origin" ] = ( -774.494, -632.406, 332.547 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_wind_treeA_lp";
ent = createLoopSound();
ent.v[ "origin" ] = ( 63.875, 128.89, 392.724 );
ent.v[ "angles" ] = ( 0, 0, 0 );
ent.v[ "soundalias" ] = "emt_wind_flat_surface";
ent = createLoopSound();
ent.v[ "origin" ] = ( 780.594, -763.875, 304.545 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_wind_treeB_lp";
ent = createLoopSound();
ent.v[ "origin" ] = ( 1190.88, -235.615, 325 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_wind_flat_surface";
ent = createLoopSound();
ent.v[ "origin" ] = ( 738.938, 770.663, 307.269 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_wind_treeA_lp";
ent = createLoopSound();
ent.v[ "origin" ] = ( -406.884, -387.643, 212.276 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "soundalias" ] = "emt_tree_leaf_rustle";
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( 529.182, 402.978, 194 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( 293.407, -404.612, 194 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( -494.269, -404.613, 208.65 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( -437.342, 44.2978, 194 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( -8.40515, 48.6187, 194 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( -18.4671, 850.419, 199.613 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( -610.763, 847.477, 197.121 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
ent = createOneshotEffect( "mist_hunted_fav" );
ent.v[ "origin" ] = ( 657.552, -492.835, 195.54 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "mist_hunted_fav";
ent.v[ "delay" ] = -15;
}

View File

@ -1,165 +0,0 @@
main()
{
maps\mp\mp_shipment_fx::main();
maps\createart\mp_shipment_art::main();
maps\createfx\mp_shipment_fx::main();
maps\mp\_load::main();
maps\mp\_compass::setupMiniMap( "compass_map_mp_shipment" );
ambientPlay("ambient_trainer_ext2"); //TODO: get proper ambient
game["attackers"] = "axis";
game["defenders"] = "allies";
setDvar( "r_specularcolorscale", "1.7" );
setDvar( "r_diffusecolorscale", "1.3" );
setDvar( "compassmaxrange","1400" );
level thread deleteChaModels();
}
deleteChaModels()
{
count = 0;
count2 = 0;
count3 = 0;
globalIntermission = getEntArray ( "mp_global_intermission", "targetname" );
dmSpawns = getEntArray ( "mp_dm_spawn", "targetname" );
domSpawns = getEntArray ( "mp_dom_spawn", "targetname" );
tdmSpawns = getEntArray ( "mp_tdm_spawn", "targetname" );
// ---- DEFINING GAMETYPE OBJECTS ----
universalExploderAB = getEntArray ( "exploder", "targetname" );
// - CTF -
flagRemoveAllies = getEntArray ( "ctf_flag_allies", "targetname" );
flagTrigRemoveAllies = getEntArray ( "ctf_trig_allies", "targetname" );
flagZoneRemoveAllies = getEntArray ( "ctf_zone_allies", "targetname" );
flagRemoveAxis = getEntArray ( "ctf_flag_axis", "targetname" );
flagTrigRemoveAxis = getEntArray ( "ctf_trig_axis", "targetname" );
flagZoneRemoveAxis = getEntArray ( "ctf_zone_axis", "targetname" );
// - DD -
ddbombzonesTouchAB = getEntArray ( "dd_bombzone", "targetname" );
ddbombzonesModelA = getEntArray ( "pf408_auto1", "targetname" ) ;
ddbombzonesTrigA = getEntArray ( "pf408_auto2", "targetname" );
ddbombzonesModelB = getEntArray ( "pf409_auto1", "targetname" ) ;
ddbombzonesTrigB = getEntArray ( "pf409_auto2", "targetname" );
ddbombzonesCollA = getEntArray ( "dd_bombzone_clip_a", "targetname" );
ddbombzonesCollB = getEntArray ( "dd_bombzone_clip_b", "targetname" );
// - Dom -
flagPrimary = getEntArray ( "flag_primary", "targetname" );
flagDescriptor = getEntArray ("flag_descriptor", "targetname" );
// - Sab -
sabbombzonesColl = getEntArray ( "sab_bomb_col", "targetname" );
sabbombzonesTouchAllies = getEntArray ( "sab_bomb_allies", "targetname" );
sabbombzonesDefuseAllies = getEntArray ( "sab_bomb_defuse_allies", "targetname" );
sabbombzonesSiteModelAllies = getEntArray ( "pf397_auto1", "targetname" );
sabbombzonesTouchAxis = getEntArray ( "sab_bomb_axis", "targetname" );
sabbombzonesDefuseAxis = getEntArray ( "sab_bomb_defuse_axis", "targetname" );
sabbombzonesSiteModelAxis = getEntArray ( "pf398_auto1", "targetname" );
// - SnD -
bombzonesTouchAB = getEntArray ( "bombzone", "targetname" );
bombzonesCollAB = getEntArray ( "bomb_col", "targetname" );
bombzonesModelA = getEntArray ( "pf393_auto1", "targetname" );
bombzonesTrigA = getEntArray ( "pf393_auto2", "targetname" );
bombzonesModelB = getEntArray ( "pf394_auto1", "targetname" );
bombzonesTrigB = getEntArray ( "pf394_auto2", "targetname" );
bombzonesBrief = getEntArray ( "sd_bomb", "targetname" );
bombzonesBriefTrig = getEntArray ( "sd_bomb_pickup_trig", "targetname" );
// ---- DELETING GAMETYPE OBJECTS ----
foreach( ent in dmSpawns )
{
count2++;
if (count2 > 7)
{
dmSpawns[count2] Delete();
}
}
flagRemoveAllies[0] Delete();
flagTrigRemoveAllies[0] Delete();
flagZoneRemoveAllies[0] Delete();
flagRemoveAxis[0] Delete();
flagTrigRemoveAxis[0] Delete();
flagZoneRemoveAxis[0] Delete();
foreach( ent in domSpawns )
{
count++;
if (count > 7)
{
domSpawns[count] Delete();
}
}
ddbombzonesTouchAB[0] Delete();
ddbombzonesTouchAB[1] Delete();
ddbombzonesModelA[0] Delete();
ddbombzonesTrigA[0] Delete();
ddbombzonesModelB[0] Delete();
ddbombzonesTrigB[0] Delete();
universalExploderAB[8] Delete();
universalExploderAB[9] Delete();
ddbombzonesCollA[0] Delete();
ddbombzonesCollB[0] Delete();
flagPrimary[0] Delete();
flagPrimary[1] Delete();
flagPrimary[2] Delete();
flagDescriptor[0] Delete();
flagDescriptor[1] Delete();
flagDescriptor[2] Delete();
sabbombzonesColl[0] Delete();
sabbombzonesColl[1] Delete();
sabbombzonesTouchAllies[0] Delete();
sabbombzonesDefuseAllies[0] Delete();
sabbombzonesSiteModelAllies[0] Delete();
sabbombzonesTouchAxis[0] Delete();
sabbombzonesDefuseAxis[0] Delete();
sabbombzonesSiteModelAxis[0] Delete();
universalExploderAB[4] Delete();
universalExploderAB[5] Delete();
bombzonesTouchAB[0] Delete();
bombzonesTouchAB[1] Delete();
universalExploderAB[0] Delete();
universalExploderAB[1] Delete();
bombzonesCollAB[0] Delete();
bombzonesCollAB[1] Delete();
bombzonesModelA[0] Delete();
bombzonesModelB[0] Delete();
bombzonesTrigA[0] Delete();
bombzonesTrigB[0] Delete();
bombzonesBrief[0] Delete();
bombzonesBriefTrig[0] Delete();
foreach( ent in tdmSpawns )
{
count3++;
if (count3 > 7)
{
tdmSpawns[count3] Delete();
}
}
// - Removing the barrels -
chaRemove = getEntArray ( "cha", "targetname" );
foreach( ent in chaRemove )
{
ent Delete();
}
globalIntermission[0] Delete();
}

View File

@ -1,10 +0,0 @@
main()
{
level._effect[ "bird_seagull_flock_large" ] = loadfx( "misc/bird_seagull_flock_large" );
level._effect[ "cloud_bank_far" ] = loadfx( "weather/jeepride_cloud_bank_far" );
level._effect[ "mist_hunted_fav" ] = loadfx( "weather/mist_hunted_fav" );
if ( !getdvarint( "clientSideEffects" ) )
maps\createfx\mp_shipment_fx::main();
}

View File

@ -1,21 +0,0 @@
r_sunsprite_shader "sun"
r_sunsprite_size "1000"
r_sunflare_shader "sun_flare_icbm"
r_sunflare_min_size "192"
r_sunflare_min_angle "90"
r_sunflare_max_size "192"
r_sunflare_max_angle "90"
r_sunflare_max_alpha "1"
r_sunflare_fadein "0"
r_sunflare_fadeout "0.5"
r_sunblind_min_angle "25.555"
r_sunblind_max_angle "5"
r_sunblind_max_darken "0"
r_sunblind_fadein "0.5"
r_sunblind_fadeout "3"
r_sunglare_min_angle "30.4016"
r_sunglare_max_angle "5.069"
r_sunglare_max_lighten "0.0352871"
r_sunglare_fadein "0.5"
r_sunglare_fadeout "2.5"
r_sun_fx_position "-15 51.5 0"

View File

@ -1,19 +0,0 @@
r_glow "0"
r_glowRadius0 "12"
r_glowBloomCutoff "0.85"
r_glowBloomDesaturation "0"
r_glowBloomIntensity0 "0.5"
r_filmEnable "1"
r_filmContrast "0.98"
r_filmBrightness "0.1"
r_filmDesaturation "0.38"
//r_filmDesaturationDark "0.3"
r_filmInvert "0"
r_filmLightTint "1.10838 1.16717 1.15409"
//r_filmMediumTint "0.73 0.93 1.09"
r_filmDarkTint "0.7 0.948125 1"
r_primaryLightUseTweaks "1"
r_primaryLightTweakDiffuseStrength "1"
r_primaryLightTweakSpecularStrength "1"

Binary file not shown.

Binary file not shown.