Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37dd2f576a | ||
|
|
349be24b6c | ||
|
|
d0cbc23144 | ||
|
|
623422a14e | ||
|
|
f34a67ee89 | ||
|
|
44e614a4fe | ||
|
|
49b871ec68 | ||
|
|
4c1e11024b | ||
|
|
32bbcbf69e |
No files matched your search
+1
-1
@@ -101,6 +101,6 @@ $(document).ready(function()
|
|||||||
|
|
||||||
$("#footer").click(function()
|
$("#footer").click(function()
|
||||||
{
|
{
|
||||||
location.replace("https://xlabs.dev");
|
location.replace("https://alterware.dev/");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -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 );
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -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;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -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();
|
|
||||||
}
|
|
||||||
@@ -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();
|
|
||||||
}
|
|
||||||
@@ -365,7 +365,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
map "mp_crossfire"
|
map "mp_cross_fire"
|
||||||
longname "MPUI_CROSSFIRE"
|
longname "MPUI_CROSSFIRE"
|
||||||
gametype "dm war sab sab2 dom sd sd2 hc thc ctf koth dd oneflag gtnw"
|
gametype "dm war sab sab2 dom sd sd2 hc thc ctf koth dd oneflag gtnw"
|
||||||
description "MPUI_DESC_MAP_CROSSFIRE"
|
description "MPUI_DESC_MAP_CROSSFIRE"
|
||||||
@@ -374,6 +374,7 @@
|
|||||||
allieschar "iw3_usmc_desert"
|
allieschar "iw3_usmc_desert"
|
||||||
axischar "iw3_opfor_desert"
|
axischar "iw3_opfor_desert"
|
||||||
environment "forest"
|
environment "forest"
|
||||||
|
useteamzones "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -386,6 +387,7 @@
|
|||||||
allieschar "iw3_sas_woodland"
|
allieschar "iw3_sas_woodland"
|
||||||
axischar "iw3_spetsnaz_woodland"
|
axischar "iw3_spetsnaz_woodland"
|
||||||
environment "forest"
|
environment "forest"
|
||||||
|
useteamzones "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -397,6 +399,7 @@
|
|||||||
mapoverlay "compass_overlay_map_blank "
|
mapoverlay "compass_overlay_map_blank "
|
||||||
allieschar "iw3_sas_woodland"
|
allieschar "iw3_sas_woodland"
|
||||||
axischar "iw3_spetsnaz_woodland"
|
axischar "iw3_spetsnaz_woodland"
|
||||||
|
useteamzones "true"
|
||||||
environment "forest"
|
environment "forest"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -410,6 +413,7 @@
|
|||||||
allieschar "iw3_sas_woodland"
|
allieschar "iw3_sas_woodland"
|
||||||
axischar "iw3_spetsnaz_woodland"
|
axischar "iw3_spetsnaz_woodland"
|
||||||
environment "forest"
|
environment "forest"
|
||||||
|
useteamzones "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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"
|
|
||||||
@@ -34,7 +34,7 @@ itemDef
|
|||||||
forecolor 0 0 0 0.4
|
forecolor 0 0 0 0.4
|
||||||
background "white"
|
background "white"
|
||||||
textscale 0.55
|
textscale 0.55
|
||||||
visible when ((dvarBool("cl_ingame") || dvarBool("sv_running")))
|
visible when ( dvarBool("cl_ingame") || dvarBool("sv_running") )
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
style 1
|
style 1
|
||||||
foreColor 1 1 1 1
|
foreColor 1 1 1 1
|
||||||
backColor 1 1 1 1
|
backColor 1 1 1 1
|
||||||
background white
|
background "white"
|
||||||
exp rect Y ( localvarfloat( "ui_cac_popup_ypos" ) )
|
exp rect Y ( localvarfloat( "ui_cac_popup_ypos" ) )
|
||||||
exp rect H ( CALCULATED_HEIGHT )
|
exp rect H ( CALCULATED_HEIGHT )
|
||||||
fadeCycle 1
|
fadeCycle 1
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
background white
|
background white
|
||||||
decoration
|
decoration
|
||||||
visible 1
|
visible 1
|
||||||
exp rect H ( )
|
exp rect H ( CALCULATED_HEIGHT )
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -258,7 +258,9 @@
|
|||||||
text "@MENU_INTEL"
|
text "@MENU_INTEL"
|
||||||
visible when ( dvarbool( "wideScreen" ) )
|
visible when ( dvarbool( "wideScreen" ) )
|
||||||
}
|
}
|
||||||
/*itemDef
|
|
||||||
|
#ifdef DRAW_IW_LOGO
|
||||||
|
itemDef
|
||||||
{
|
{
|
||||||
//rect -104 -56 128 64 3 3
|
//rect -104 -56 128 64 3 3
|
||||||
rect -170 -66 128 64 3 3
|
rect -170 -66 128 64 3 3
|
||||||
@@ -280,6 +282,7 @@
|
|||||||
background "logo_iw"
|
background "logo_iw"
|
||||||
textscale 0.55
|
textscale 0.55
|
||||||
visible when ( !dvarbool( "wideScreen" ) )
|
visible when ( !dvarbool( "wideScreen" ) )
|
||||||
}*/
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,8 +40,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -70,4 +71,5 @@ menuDef
|
|||||||
PC_OPTIONS_KEYBINDSTATUS
|
PC_OPTIONS_KEYBINDSTATUS
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -274,8 +274,9 @@
|
|||||||
open "settings_quick_gtnw"; \
|
open "settings_quick_gtnw"; \
|
||||||
}
|
}
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
fullscreen 1
|
fullscreen 1
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
@@ -319,4 +320,5 @@ menuDef
|
|||||||
MENU_PANEL_MAP_PREVIEW
|
MENU_PANEL_MAP_PREVIEW
|
||||||
|
|
||||||
ITEM_BUTTON_FRIENDS(-120)
|
ITEM_BUTTON_FRIENDS(-120)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -42,7 +42,6 @@
|
|||||||
textScale 0.3333
|
textScale 0.3333
|
||||||
textStyle 3
|
textStyle 3
|
||||||
textFont 10
|
textFont 10
|
||||||
feeder 0
|
|
||||||
visible when ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) )
|
visible when ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) )
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -67,7 +66,6 @@
|
|||||||
textScale 0.25
|
textScale 0.25
|
||||||
textStyle 6
|
textStyle 6
|
||||||
textFont 6
|
textFont 6
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp text ( "^3" + keybinding( "+actionslot 1" ) )
|
exp text ( "^3" + keybinding( "+actionslot 1" ) )
|
||||||
visible when ( ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) ) && actionslotusable( 1 ) )
|
visible when ( ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) ) && actionslotusable( 1 ) )
|
||||||
@@ -93,7 +91,6 @@
|
|||||||
textScale 0.3333
|
textScale 0.3333
|
||||||
textStyle 3
|
textStyle 3
|
||||||
textFont 10
|
textFont 10
|
||||||
feeder 0
|
|
||||||
visible when ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) )
|
visible when ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) )
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -118,7 +115,6 @@
|
|||||||
textScale 0.25
|
textScale 0.25
|
||||||
textStyle 6
|
textStyle 6
|
||||||
textFont 6
|
textFont 6
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp text ( "^3" + keybinding( "+actionslot 3" ) )
|
exp text ( "^3" + keybinding( "+actionslot 3" ) )
|
||||||
visible when ( ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) ) && actionslotusable( 3 ) )
|
visible when ( ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) ) && actionslotusable( 3 ) )
|
||||||
@@ -144,7 +140,6 @@
|
|||||||
textScale 0.3333
|
textScale 0.3333
|
||||||
textStyle 3
|
textStyle 3
|
||||||
textFont 10
|
textFont 10
|
||||||
feeder 0
|
|
||||||
visible when ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) )
|
visible when ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) )
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -169,7 +164,6 @@
|
|||||||
textScale 0.25
|
textScale 0.25
|
||||||
textStyle 6
|
textStyle 6
|
||||||
textFont 6
|
textFont 6
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp text ( "^3" + keybinding( "+actionslot 4" ) )
|
exp text ( "^3" + keybinding( "+actionslot 4" ) )
|
||||||
visible when ( ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) ) && actionslotusable( 4 ) )
|
visible when ( ( !dvarbool( "gpad_enabled" ) || !dvarint( "gpad_in_use" ) ) && actionslotusable( 4 ) )
|
||||||
|
|||||||
@@ -92,8 +92,9 @@
|
|||||||
|
|
||||||
#define MESSAGE_CREDITS "@IW4X_CREDITS"
|
#define MESSAGE_CREDITS "@IW4X_CREDITS"
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
fullscreen 1
|
fullscreen 1
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
@@ -114,4 +115,5 @@ menuDef
|
|||||||
MENU_ITEM_CREDITS_BOX("IW4x", MESSAGE_CREDITS)
|
MENU_ITEM_CREDITS_BOX("IW4x", MESSAGE_CREDITS)
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(close self;)
|
ITEM_BUTTON_BACK(close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -96,13 +96,11 @@
|
|||||||
MENU_CHOICE_BUTTON_VIS(7, button_7, "@MENU_MODS_CAPS", open mods_menu;, "@MPUI_DESC_MODS", 1)
|
MENU_CHOICE_BUTTON_VIS(7, button_7, "@MENU_MODS_CAPS", open mods_menu;, "@MPUI_DESC_MODS", 1)
|
||||||
MENU_CHOICE_BUTTON_VIS(8, button_8, "@MENU_OPTIONS_CAPS", open pc_options_video;, "@MPUI_DESC_OPTIONS", 1)
|
MENU_CHOICE_BUTTON_VIS(8, button_8, "@MENU_OPTIONS_CAPS", open pc_options_video;, "@MPUI_DESC_OPTIONS", 1)
|
||||||
MENU_CHOICE_HORIZONTAL_LINE_VIS(9, 1)
|
MENU_CHOICE_HORIZONTAL_LINE_VIS(9, 1)
|
||||||
MENU_CHOICE_BUTTON_VIS(9, button_9, "@MENU_STORE_CAPS", uiScript "downloadDLC" 1, "@MPUI_DESC_STORE", 1)
|
MENU_CHOICE_BUTTON_VIS(9, button_9, "@MENU_SP_CREDITS_CAPS", open iw4x_credits;, "@NULL_EMPTY", 1)
|
||||||
MENU_CHOICE_NEWICON_VIS(9, when(!dvarBool(isDlcInstalled_All)))
|
MENU_CHOICE_BUTTON_VIS(10, button_10, "@MENU_VISIT_WEBSITE_CAPS", uiScript "visitWebsite", "@NULL_EMPTY", 1)
|
||||||
MENU_CHOICE_BUTTON_VIS(10, button_10, "@MENU_SP_CREDITS_CAPS", open iw4x_credits;, "@NULL_EMPTY", 1)
|
MENU_CHOICE_HORIZONTAL_LINE_VIS(11, 1)
|
||||||
MENU_CHOICE_BUTTON_VIS(11, button_11, "@MENU_VISIT_WEBSITE_CAPS", uiScript "visitWebsite", "@NULL_EMPTY", 1)
|
MENU_CHOICE_BUTTON_VIS(11, button_11, "@MENU_MAIN_MENU_CAPS", open single_popmenu;, "@MENU_SP_DESC_SINGLEPLAYER", 1)
|
||||||
MENU_CHOICE_HORIZONTAL_LINE_VIS(12, 1)
|
MENU_CHOICE_BUTTON_VIS(12, button_12, "@MENU_QUIT_CAPS", open quit_popmenu;, "@MPUI_DESC_QUIT", 1)
|
||||||
MENU_CHOICE_BUTTON_VIS(12, button_12, "@MENU_MAIN_MENU_CAPS", open single_popmenu;, "@MENU_SP_DESC_SINGLEPLAYER", 1)
|
|
||||||
MENU_CHOICE_BUTTON_VIS(13, button_13, "@MENU_QUIT_CAPS", open quit_popmenu;, "@MPUI_DESC_QUIT", 1)
|
|
||||||
|
|
||||||
ITEM_BUTTON_FRIENDS(-250)
|
ITEM_BUTTON_FRIENDS(-250)
|
||||||
|
|
||||||
|
|||||||
@@ -73,8 +73,9 @@
|
|||||||
exp text (localvarstring("ui_hint_text")) \
|
exp text (localvarstring("ui_hint_text")) \
|
||||||
}
|
}
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
fullscreen 1
|
fullscreen 1
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
@@ -229,4 +230,5 @@ menuDef
|
|||||||
|
|
||||||
ITEM_BUTTON_FRIENDS(-120)
|
ITEM_BUTTON_FRIENDS(-120)
|
||||||
ITEM_BUTTON_BACK(close self;)
|
ITEM_BUTTON_BACK(close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -156,8 +156,9 @@
|
|||||||
open "popup_summary"; \
|
open "popup_summary"; \
|
||||||
play CHOICE_CLICK_SOUND;
|
play CHOICE_CLICK_SOUND;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
fullscreen 1
|
fullscreen 1
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
@@ -260,4 +261,5 @@ menuDef
|
|||||||
|
|
||||||
ITEM_BUTTON_SUMMARY_VIS(1)
|
ITEM_BUTTON_SUMMARY_VIS(1)
|
||||||
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -8,4 +8,5 @@
|
|||||||
{
|
{
|
||||||
open "createserver";
|
open "createserver";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
setLocalVarString ui_info_name ""; \
|
setLocalVarString ui_info_name ""; \
|
||||||
setLocalVarString ui_info_desc ""; \
|
setLocalVarString ui_info_desc ""; \
|
||||||
setLocalVarString ui_info_icon ""; \
|
setLocalVarString ui_info_icon ""; \
|
||||||
uiScript "LoadMods";
|
uiScript "LoadMods"; \
|
||||||
setFocus "modlist";
|
setFocus "modlist";
|
||||||
|
|
||||||
#define MENU_MODS_BUTTON_VIS(nameArg, yPos, textArg, actionArg, visArg) \
|
#define MENU_MODS_BUTTON_VIS(nameArg, yPos, textArg, actionArg, visArg) \
|
||||||
@@ -71,8 +71,9 @@
|
|||||||
exp rect x (posX) \
|
exp rect x (posX) \
|
||||||
}
|
}
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
fullscreen 1
|
fullscreen 1
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
@@ -110,7 +111,7 @@ menuDef
|
|||||||
elementWidth 120
|
elementWidth 120
|
||||||
elementHeight 22
|
elementHeight 22
|
||||||
visible 1
|
visible 1
|
||||||
// numcols xpos xwidth textlen alignment
|
// numcols xpos xwidth textlen alignment
|
||||||
columns 1 8 120 25 0
|
columns 1 8 120 25 0
|
||||||
doubleClick
|
doubleClick
|
||||||
{
|
{
|
||||||
@@ -124,4 +125,5 @@ menuDef
|
|||||||
MENU_MODS_BUTTON_VIS("unloadMod", -48, "@MENU_LAUNCH_WITHOUT_MODS", uiScript "ClearMods", when (dvarstring("fs_game") != ""))
|
MENU_MODS_BUTTON_VIS("unloadMod", -48, "@MENU_LAUNCH_WITHOUT_MODS", uiScript "ClearMods", when (dvarstring("fs_game") != ""))
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(close self;)
|
ITEM_BUTTON_BACK(close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -30,8 +30,9 @@
|
|||||||
#define ON_MENU_KEY_ENTER \
|
#define ON_MENU_KEY_ENTER \
|
||||||
uiScript "JoinServer";
|
uiScript "JoinServer";
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
fullscreen 1
|
fullscreen 1
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
@@ -61,4 +62,5 @@ menuDef
|
|||||||
BUTTON_FOOTER(-34, 100, "passwordenter", "@MENU_PASSWORD_CAPS", open "popup_joinpassword";)
|
BUTTON_FOOTER(-34, 100, "passwordenter", "@MENU_PASSWORD_CAPS", open "popup_joinpassword";)
|
||||||
BUTTON_FOOTER(86, 100, "serverinfo", "@MENU_SERVER_INFO_CAPS", open "serverinfo_popmenu";)
|
BUTTON_FOOTER(86, 100, "serverinfo", "@MENU_SERVER_INFO_CAPS", open "serverinfo_popmenu";)
|
||||||
BUTTON_FOOTER(206, 100, "joinserver", "@MENU_JOIN_SERVER_CAPS", uiScript "JoinServer";)
|
BUTTON_FOOTER(206, 100, "joinserver", "@MENU_JOIN_SERVER_CAPS", uiScript "JoinServer";)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -43,8 +43,9 @@
|
|||||||
#define ON_GPAD_USED when(dvarBool("gpad_in_use") == 1)
|
#define ON_GPAD_USED when(dvarBool("gpad_in_use") == 1)
|
||||||
#define ON_GPAD_UNUSED when(dvarBool("gpad_in_use") == 0)
|
#define ON_GPAD_UNUSED when(dvarBool("gpad_in_use") == 0)
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -88,4 +89,5 @@ menuDef
|
|||||||
PC_OPTIONS_KEYBINDSTATUS
|
PC_OPTIONS_KEYBINDSTATUS
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -43,8 +43,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -88,4 +89,5 @@ menuDef
|
|||||||
PC_OPTIONS_FLOATLIST_RAW(13, "@MENU_SPECULAR_MAP_RESOLUTION", "ui_r_picmip_spec", {"@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0}, setLocalVarBool "ui_showApply" (1);, "@NULL_EMPTY", when((dvarBool("cl_ingame") || dvarBool("sv_running") || inlobby())), when(dvarBool("ui_r_picmip_manual")))
|
PC_OPTIONS_FLOATLIST_RAW(13, "@MENU_SPECULAR_MAP_RESOLUTION", "ui_r_picmip_spec", {"@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0}, setLocalVarBool "ui_showApply" (1);, "@NULL_EMPTY", when((dvarBool("cl_ingame") || dvarBool("sv_running") || inlobby())), when(dvarBool("ui_r_picmip_manual")))
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -56,8 +56,9 @@
|
|||||||
execnow "profile_menuDvarsFinish; resetViewport"; \
|
execnow "profile_menuDvarsFinish; resetViewport"; \
|
||||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -81,4 +82,5 @@ menuDef
|
|||||||
PC_OPTIONS_SEPERATOR(1)
|
PC_OPTIONS_SEPERATOR(1)
|
||||||
PC_OPTIONS_DVARYESNO(2, "@MPUI_ENABLE_VOICE_CHAT", "cl_voice", ;, when(0))
|
PC_OPTIONS_DVARYESNO(2, "@MPUI_ENABLE_VOICE_CHAT", "cl_voice", ;, when(0))
|
||||||
PC_OPTIONS_KEYBINDING(3, "@MENU_VOICE_CHAT_BUTTON", "+talk")
|
PC_OPTIONS_KEYBINDING(3, "@MENU_VOICE_CHAT_BUTTON", "+talk")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -56,8 +56,9 @@
|
|||||||
execnow "profile_menuDvarsFinish; resetViewport"; \
|
execnow "profile_menuDvarsFinish; resetViewport"; \
|
||||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -119,4 +120,5 @@ menuDef
|
|||||||
open "options_control_defaults";
|
open "options_control_defaults";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -54,8 +54,9 @@
|
|||||||
execnow "profile_menuDvarsFinish; resetViewport"; \
|
execnow "profile_menuDvarsFinish; resetViewport"; \
|
||||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -83,4 +84,5 @@ menuDef
|
|||||||
PC_OPTIONS_DVARYESNO_RAW(2, "@MENU_AUTORECORD", "cl_autoRecord", ;, "@MPUI_DESC_AUTORECORD", when(0), 1)
|
PC_OPTIONS_DVARYESNO_RAW(2, "@MENU_AUTORECORD", "cl_autoRecord", ;, "@MPUI_DESC_AUTORECORD", when(0), 1)
|
||||||
PC_OPTIONS_EDITFIELD_RAW(3, "@MENU_DEMOS_KEEP", "cl_demosKeep", 3, "@MPUI_DESC_DEMOS_KEEP", 1)
|
PC_OPTIONS_EDITFIELD_RAW(3, "@MENU_DEMOS_KEEP", "cl_demosKeep", 3, "@MPUI_DESC_DEMOS_KEEP", 1)
|
||||||
PC_OPTIONS_DVARYESNO(4, "@MENU_COLORBLIND_MODE", "r_colorBlindTeams", ;, when(0))
|
PC_OPTIONS_DVARYESNO(4, "@MENU_COLORBLIND_MODE", "r_colorBlindTeams", ;, when(0))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -80,8 +80,9 @@
|
|||||||
execnow "bindgpbuttonsconfigs"; \
|
execnow "bindgpbuttonsconfigs"; \
|
||||||
}
|
}
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -129,4 +130,5 @@ menuDef
|
|||||||
"@MENU_SENSITIVITY_HIGH_CAPS" SENSITIVITY_4 "5" SENSITIVITY_5 "6" SENSITIVITY_6
|
"@MENU_SENSITIVITY_HIGH_CAPS" SENSITIVITY_4 "5" SENSITIVITY_5 "6" SENSITIVITY_6
|
||||||
"@MENU_SENSITIVITY_VERY_HIGH_CAPS" SENSITIVITY_7 "8" SENSITIVITY_8 "9" SENSITIVITY_9 "@MENU_SENSITIVITY_INSANE_CAPS" SENSITIVITY_10},
|
"@MENU_SENSITIVITY_VERY_HIGH_CAPS" SENSITIVITY_7 "8" SENSITIVITY_8 "9" SENSITIVITY_9 "@MENU_SENSITIVITY_INSANE_CAPS" SENSITIVITY_10},
|
||||||
;, ;, ON_GPAD_DISABLED, ON_GPAD_ENABLED)
|
;, ;, ON_GPAD_DISABLED, ON_GPAD_ENABLED)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -40,8 +40,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -89,4 +90,5 @@ menuDef
|
|||||||
PC_OPTIONS_KEYBINDSTATUS
|
PC_OPTIONS_KEYBINDSTATUS
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -40,8 +40,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -85,4 +86,5 @@ menuDef
|
|||||||
PC_OPTIONS_KEYBINDSTATUS
|
PC_OPTIONS_KEYBINDSTATUS
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
ITEM_BUTTON_BACK(ON_MENU_ESC)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -58,8 +58,9 @@
|
|||||||
execnow "profile_menuDvarsFinish; resetViewport"; \
|
execnow "profile_menuDvarsFinish; resetViewport"; \
|
||||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -96,4 +97,5 @@ menuDef
|
|||||||
|
|
||||||
PC_OPTIONS_DVARYESNO_RAW(6, "@MENU_STREAMFRIENDLY_UI", "ui_streamFriendly", ;, "@MPUI_DESC_STREAM_FRIENDLY_UI", when(0), 1)
|
PC_OPTIONS_DVARYESNO_RAW(6, "@MENU_STREAMFRIENDLY_UI", "ui_streamFriendly", ;, "@MPUI_DESC_STREAM_FRIENDLY_UI", when(0), 1)
|
||||||
PC_OPTIONS_FLOATLIST_RAW(7, "@MENU_FRIENDNOTIFY", "cl_notifyFriendState", {"Always" -1 "Never" 0 "in Menu" 1}, ;, "@MPUI_DESC_FRIENDNOTIFY", when(dvarBool("ui_streamFriendly")), 1)
|
PC_OPTIONS_FLOATLIST_RAW(7, "@MENU_FRIENDNOTIFY", "cl_notifyFriendState", {"Always" -1 "Never" 0 "in Menu" 1}, ;, "@MPUI_DESC_FRIENDNOTIFY", when(dvarBool("ui_streamFriendly")), 1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -67,8 +67,9 @@
|
|||||||
execnow "profile_menuDvarsFinish; resetViewport"; \
|
execnow "profile_menuDvarsFinish; resetViewport"; \
|
||||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
foreColor CHOICE_TEXTCOLOR
|
foreColor CHOICE_TEXTCOLOR
|
||||||
@@ -135,4 +136,5 @@ menuDef
|
|||||||
close self;
|
close self;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -47,8 +47,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect POPMENU_RECT
|
rect POPMENU_RECT
|
||||||
popup
|
popup
|
||||||
@@ -68,4 +69,5 @@ menuDef
|
|||||||
ITEM_NAMEENTRY
|
ITEM_NAMEENTRY
|
||||||
|
|
||||||
POPUP_BUTTON_FOOTER(64, "@MENU_CLOSE", close self;)
|
POPUP_BUTTON_FOOTER(64, "@MENU_CLOSE", close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -47,8 +47,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect POPMENU_RECT
|
rect POPMENU_RECT
|
||||||
popup
|
popup
|
||||||
@@ -68,4 +69,5 @@ menuDef
|
|||||||
ITEM_NAMEENTRY
|
ITEM_NAMEENTRY
|
||||||
|
|
||||||
POPUP_BUTTON_FOOTER(64, "@MENU_CLOSE", close self;)
|
POPUP_BUTTON_FOOTER(64, "@MENU_CLOSE", close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -26,8 +26,9 @@
|
|||||||
#define ON_EXEC_KEY_F \
|
#define ON_EXEC_KEY_F \
|
||||||
escape self;
|
escape self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect POPMENU_RECT
|
rect POPMENU_RECT
|
||||||
popup
|
popup
|
||||||
@@ -60,7 +61,7 @@ menuDef
|
|||||||
textScale .25
|
textScale .25
|
||||||
feeder 61
|
feeder 61
|
||||||
visible 1
|
visible 1
|
||||||
// numcols xpos xwidth textlen alignment
|
// numcols xpos xwidth textlen alignment
|
||||||
columns 3 8 16 4 0
|
columns 3 8 16 4 0
|
||||||
42 178 51 0
|
42 178 51 0
|
||||||
226 263 52 0
|
226 263 52 0
|
||||||
@@ -70,4 +71,5 @@ menuDef
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
POPUP_BUTTON_FOOTER(350, "@MENU_CLOSE", close self;)
|
POPUP_BUTTON_FOOTER(350, "@MENU_CLOSE", close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -47,8 +47,10 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect POPMENU_RECT
|
rect POPMENU_RECT
|
||||||
popup
|
popup
|
||||||
@@ -68,4 +70,5 @@ menuDef
|
|||||||
ITEM_PASSWORDENTRY
|
ITEM_PASSWORDENTRY
|
||||||
|
|
||||||
POPUP_BUTTON_FOOTER(64, "@MENU_OK", close self;)
|
POPUP_BUTTON_FOOTER(64, "@MENU_OK", close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -49,8 +49,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect POPMENU_RECT
|
rect POPMENU_RECT
|
||||||
popup
|
popup
|
||||||
@@ -70,4 +71,5 @@ menuDef
|
|||||||
ITEM_NAMEENTRY
|
ITEM_NAMEENTRY
|
||||||
|
|
||||||
POPUP_BUTTON_FOOTER(64, "@MENU_CLOSE", exec "setfromdvar name ui_name"; close self;)
|
POPUP_BUTTON_FOOTER(64, "@MENU_CLOSE", exec "setfromdvar name ui_name"; close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -49,8 +49,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
rect POPMENU_RECT
|
rect POPMENU_RECT
|
||||||
popup
|
popup
|
||||||
@@ -70,4 +71,5 @@ menuDef
|
|||||||
ITEM_PASSWORDENTRY
|
ITEM_PASSWORDENTRY
|
||||||
|
|
||||||
POPUP_BUTTON_FOOTER(64, "@MENU_OK", close self;)
|
POPUP_BUTTON_FOOTER(64, "@MENU_OK", close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
elementtype LISTBOX_TEXT
|
elementtype LISTBOX_TEXT
|
||||||
elementwidth 120
|
elementwidth 120
|
||||||
elementheight 24
|
elementheight 24
|
||||||
columns 1 2 190 25
|
columns 1 2 190 25 0
|
||||||
mouseEnter
|
mouseEnter
|
||||||
{
|
{
|
||||||
setitemcolor "maplist2";
|
setitemcolor "maplist2";
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
bordercolor 1 1 1 0.15
|
bordercolor 1 1 1 0.15
|
||||||
outlinecolor 1 1 1 0.2
|
outlinecolor 1 1 1 0.2
|
||||||
feeder FEEDER_ALLMAPS
|
feeder FEEDER_ALLMAPS
|
||||||
columns 1 2 190 25
|
columns 1 2 190 25 0
|
||||||
mouseEnter
|
mouseEnter
|
||||||
{
|
{
|
||||||
setitemcolor "maplist";
|
setitemcolor "maplist";
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
bordercolor 1 1 1 0.15
|
bordercolor 1 1 1 0.15
|
||||||
outlinecolor 1 1 1 0.2
|
outlinecolor 1 1 1 0.2
|
||||||
feeder FEEDER_PLAYER_LIST
|
feeder FEEDER_PLAYER_LIST
|
||||||
columns 1 2 190 25
|
columns 1 2 190 25 0
|
||||||
mouseEnter
|
mouseEnter
|
||||||
{
|
{
|
||||||
setitemcolor "maplist";
|
setitemcolor "maplist";
|
||||||
|
|||||||
@@ -109,58 +109,6 @@
|
|||||||
#define SV_INFO_TABLE_WIDTH 496
|
#define SV_INFO_TABLE_WIDTH 496
|
||||||
#define SV_INFO_TABLE_HEIGHT 160
|
#define SV_INFO_TABLE_HEIGHT 160
|
||||||
|
|
||||||
#define SV_INFO_TABLE_HEADER \
|
|
||||||
itemDef \
|
|
||||||
{ \
|
|
||||||
name "num" \
|
|
||||||
rect (SV_INFO_TABLE_POS_X + 4) (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0 \
|
|
||||||
foreColor CHOICE_TEXTCOLOR \
|
|
||||||
textFont UI_FONT_NORMAL \
|
|
||||||
textScale 0.3 \
|
|
||||||
textAlignX 4 \
|
|
||||||
decoration \
|
|
||||||
visible 1 \
|
|
||||||
text "#" \
|
|
||||||
} \
|
|
||||||
itemDef \
|
|
||||||
{ \
|
|
||||||
name "name" \
|
|
||||||
rect 88 (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0 \
|
|
||||||
foreColor CHOICE_TEXTCOLOR \
|
|
||||||
textFont UI_FONT_NORMAL \
|
|
||||||
textScale 0.3 \
|
|
||||||
textAlignX 4 \
|
|
||||||
decoration \
|
|
||||||
visible 1 \
|
|
||||||
text "@MENU_NAME" \
|
|
||||||
} \
|
|
||||||
itemDef \
|
|
||||||
{ \
|
|
||||||
name "score" \
|
|
||||||
rect 353 (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0 \
|
|
||||||
foreColor CHOICE_TEXTCOLOR \
|
|
||||||
textFont UI_FONT_NORMAL \
|
|
||||||
textScale 0.3 \
|
|
||||||
textAlignX 4 \
|
|
||||||
decoration \
|
|
||||||
visible 1 \
|
|
||||||
text "@MPUI_SCORE" \
|
|
||||||
} \
|
|
||||||
itemDef \
|
|
||||||
{ \
|
|
||||||
name "ping" \
|
|
||||||
rect 455 (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0 \
|
|
||||||
foreColor CHOICE_TEXTCOLOR \
|
|
||||||
textFont UI_FONT_NORMAL \
|
|
||||||
textScale 0.3 \
|
|
||||||
textAlignX 4 \
|
|
||||||
decoration \
|
|
||||||
visible 1 \
|
|
||||||
text "@MENU_PING" \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define MENU_NAME "serverinfo_popmenu"
|
|
||||||
|
|
||||||
#define KEYINT_F5 171
|
#define KEYINT_F5 171
|
||||||
|
|
||||||
#define POPMENU_POS_X -250
|
#define POPMENU_POS_X -250
|
||||||
@@ -184,9 +132,10 @@
|
|||||||
#define ON_KEY_PRESS_F5 \
|
#define ON_KEY_PRESS_F5 \
|
||||||
uiScript "ServerStatus";
|
uiScript "ServerStatus";
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
name MENU_NAME
|
menuDef
|
||||||
|
{
|
||||||
|
name "serverinfo_popmenu"
|
||||||
rect POPMENU_RECT
|
rect POPMENU_RECT
|
||||||
popup
|
popup
|
||||||
legacySplitScreenScale
|
legacySplitScreenScale
|
||||||
@@ -215,7 +164,53 @@ menuDef
|
|||||||
|
|
||||||
SV_INFO_SECURITY_LEVEL_VIS(6, 1)
|
SV_INFO_SECURITY_LEVEL_VIS(6, 1)
|
||||||
|
|
||||||
SV_INFO_TABLE_HEADER
|
itemDef
|
||||||
|
{
|
||||||
|
name "num"
|
||||||
|
rect (SV_INFO_TABLE_POS_X + 4) (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0
|
||||||
|
foreColor CHOICE_TEXTCOLOR
|
||||||
|
textFont UI_FONT_NORMAL
|
||||||
|
textScale 0.3
|
||||||
|
textAlignX 4
|
||||||
|
visible 1
|
||||||
|
text "#"
|
||||||
|
}
|
||||||
|
|
||||||
|
itemDef
|
||||||
|
{
|
||||||
|
name "name"
|
||||||
|
rect 88 (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0
|
||||||
|
foreColor CHOICE_TEXTCOLOR
|
||||||
|
textFont UI_FONT_NORMAL
|
||||||
|
textScale 0.3
|
||||||
|
textAlignX 4
|
||||||
|
visible 1
|
||||||
|
text "@MENU_NAME"
|
||||||
|
}
|
||||||
|
|
||||||
|
itemDef
|
||||||
|
{
|
||||||
|
name "score"
|
||||||
|
rect 353 (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0
|
||||||
|
foreColor CHOICE_TEXTCOLOR
|
||||||
|
textFont UI_FONT_NORMAL
|
||||||
|
textScale 0.3
|
||||||
|
textAlignX 4
|
||||||
|
visible 1
|
||||||
|
text "@MPUI_SCORE"
|
||||||
|
}
|
||||||
|
|
||||||
|
itemDef
|
||||||
|
{
|
||||||
|
name "ping"
|
||||||
|
rect 455 (SV_INFO_TABLE_POS_Y - 2) 30 18 0 0
|
||||||
|
foreColor CHOICE_TEXTCOLOR
|
||||||
|
textFont UI_FONT_NORMAL
|
||||||
|
textScale 0.3
|
||||||
|
textAlignX 4
|
||||||
|
visible 1
|
||||||
|
text "@MENU_PING"
|
||||||
|
}
|
||||||
|
|
||||||
itemDef
|
itemDef
|
||||||
{
|
{
|
||||||
@@ -234,7 +229,7 @@ menuDef
|
|||||||
elementHeight 16
|
elementHeight 16
|
||||||
notselectable
|
notselectable
|
||||||
visible 1
|
visible 1
|
||||||
// numcols xpos xwidth textlen alignment
|
// numcols xpos xwidth textlen alignment
|
||||||
columns 4 8 2 2 0
|
columns 4 8 2 2 0
|
||||||
80 16 16 0
|
80 16 16 0
|
||||||
345 4 4 0
|
345 4 4 0
|
||||||
@@ -243,4 +238,5 @@ menuDef
|
|||||||
|
|
||||||
POPUP_BUTTON_FOOTER(330, "@PLATFORM_REFRESH", uiScript "ServerStatus";)
|
POPUP_BUTTON_FOOTER(330, "@PLATFORM_REFRESH", uiScript "ServerStatus";)
|
||||||
POPUP_BUTTON_FOOTER(350, "@MENU_CLOSE", close self;)
|
POPUP_BUTTON_FOOTER(350, "@MENU_CLOSE", close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -56,7 +56,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -81,7 +80,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||||||
}
|
}
|
||||||
@@ -107,7 +105,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||||||
}
|
}
|
||||||
@@ -133,7 +130,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp forecolor a ( ( ( ( sin milliseconds( ) / 1500 ) + 1 ) * 0.250000 ) + 0.250000 )
|
exp forecolor a ( ( ( ( sin milliseconds( ) / 1500 ) + 1 ) * 0.250000 ) + 0.250000 )
|
||||||
}
|
}
|
||||||
@@ -159,7 +155,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp forecolor a ( ( ( ( sin milliseconds( ) / 480 ) + 1 ) * 0.250000 ) + 0.250000 )
|
exp forecolor a ( ( ( ( sin milliseconds( ) / 480 ) + 1 ) * 0.250000 ) + 0.250000 )
|
||||||
}
|
}
|
||||||
@@ -184,7 +179,6 @@
|
|||||||
textScale 0.44
|
textScale 0.44
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 9
|
textFont 9
|
||||||
feeder 0
|
|
||||||
text "@MENU_CHOOSE_GAME_MODE_CAP"
|
text "@MENU_CHOOSE_GAME_MODE_CAP"
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
@@ -210,7 +204,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -235,7 +228,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -260,7 +252,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -285,7 +276,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -310,7 +300,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -335,7 +324,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -360,7 +348,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -385,7 +372,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -410,7 +396,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -445,7 +430,6 @@
|
|||||||
textScale 0.375 \
|
textScale 0.375 \
|
||||||
textStyle 0 \
|
textStyle 0 \
|
||||||
textFont 3 \
|
textFont 3 \
|
||||||
feeder 0 \
|
|
||||||
visible 1 \
|
visible 1 \
|
||||||
visible visArg \
|
visible visArg \
|
||||||
exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , textArg , 1 ) + "_CAPS" ) \
|
exp text ( "@" + tablelookup( "mp/gameTypesTable.csv" , 0 , textArg , 1 ) + "_CAPS" ) \
|
||||||
@@ -502,7 +486,6 @@
|
|||||||
textStyle 0 \
|
textStyle 0 \
|
||||||
textFont 3 \
|
textFont 3 \
|
||||||
text textArg \
|
text textArg \
|
||||||
feeder 0 \
|
|
||||||
visible 1 \
|
visible 1 \
|
||||||
visible visArg \
|
visible visArg \
|
||||||
onFocus \
|
onFocus \
|
||||||
@@ -617,7 +600,6 @@
|
|||||||
textScale 0.375
|
textScale 0.375
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 3
|
textFont 3
|
||||||
feeder 0
|
|
||||||
text "@PLATFORM_BACK_CAPS"
|
text "@PLATFORM_BACK_CAPS"
|
||||||
visible 1
|
visible 1
|
||||||
onFocus
|
onFocus
|
||||||
@@ -659,7 +641,6 @@
|
|||||||
textScale 0.55
|
textScale 0.55
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 0
|
textFont 0
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
}
|
}
|
||||||
itemDef
|
itemDef
|
||||||
@@ -683,7 +664,6 @@
|
|||||||
textScale 0.375
|
textScale 0.375
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 9
|
textFont 9
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp text ( localvarstring( "ui_info_name" ) )
|
exp text ( localvarstring( "ui_info_name" ) )
|
||||||
}
|
}
|
||||||
@@ -709,7 +689,6 @@
|
|||||||
textScale 0.375
|
textScale 0.375
|
||||||
textStyle 0
|
textStyle 0
|
||||||
textFont 3
|
textFont 3
|
||||||
feeder 0
|
|
||||||
visible 1
|
visible 1
|
||||||
exp text ( localvarstring( "ui_info_desc" ) )
|
exp text ( localvarstring( "ui_info_desc" ) )
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -211,8 +211,9 @@
|
|||||||
#define ON_MENU_ESC \
|
#define ON_MENU_ESC \
|
||||||
close self;
|
close self;
|
||||||
|
|
||||||
menuDef
|
|
||||||
{
|
{
|
||||||
|
menuDef
|
||||||
|
{
|
||||||
name MENU_NAME
|
name MENU_NAME
|
||||||
fullscreen 1
|
fullscreen 1
|
||||||
rect 0 0 640 480
|
rect 0 0 640 480
|
||||||
@@ -249,7 +250,7 @@ menuDef
|
|||||||
feeder FEEDER_DEMOS
|
feeder FEEDER_DEMOS
|
||||||
elementWidth 260
|
elementWidth 260
|
||||||
elementHeight 16
|
elementHeight 16
|
||||||
// numcols xpos xwidth textlen alignment
|
// numcols xpos xwidth textlen alignment
|
||||||
columns 1 8 260 80 0
|
columns 1 8 260 80 0
|
||||||
doubleClick
|
doubleClick
|
||||||
{
|
{
|
||||||
@@ -262,4 +263,5 @@ menuDef
|
|||||||
}
|
}
|
||||||
|
|
||||||
ITEM_BUTTON_BACK(close self;)
|
ITEM_BUTTON_BACK(close self;)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -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.
Binary file not shown.
+11
-34
@@ -34,40 +34,17 @@ Copy-Item -Path "${rawFilesPath}\zone" -Destination "${rawFilesPath}\release\tem
|
|||||||
Write-Host "Done copying zone files.`n"
|
Write-Host "Done copying zone files.`n"
|
||||||
|
|
||||||
# Create iw4x_00.iwd
|
# Create iw4x_00.iwd
|
||||||
Write-Host "Compressing iw4x_00.zip..."
|
for ($i = 0; $i -lt 6; $i++)
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_00\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_00.zip"
|
{
|
||||||
Write-Host "Renaming iw4x_00.zip to iw4x_00.iwd..."
|
${archName} = ("iw4x_{0:D2}" -f $i)
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_00.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_00.iwd"
|
Write-Host "Compressing ${archName}.zip..."
|
||||||
Write-Host "Cleaning up iw4x_00 directory..."
|
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\${archName}\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\${archName}.zip"
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_00"
|
Write-Host "Renaming ${archName}.zip to ${archName}.iwd..."
|
||||||
Write-Host "Finished compressing iw4x_00.iwd`n"
|
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\${archName}.zip" -Destination "${rawFilesPath}\release\temp\iw4x\${archName}.iwd"
|
||||||
|
Write-Host "Cleaning up ${archName} directory..."
|
||||||
# Create iw4x_01.iwd
|
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\${archName}"
|
||||||
Write-Host "Compressing iw4x_01.zip..."
|
Write-Host "Finished compressing ${archName}.iwd`n"
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_01\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_01.zip"
|
}
|
||||||
Write-Host "Renaming iw4x_01.zip to iw4x_01.iwd..."
|
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_01.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_01.iwd"
|
|
||||||
Write-Host "Cleaning up iw4x_01 directory..."
|
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_01"
|
|
||||||
Write-Host "Finished compressing iw4x_01.iwd`n"
|
|
||||||
|
|
||||||
# Create iw4x_02.iwd
|
|
||||||
Write-Host "Compressing iw4x_02.zip..."
|
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_02\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_02.zip"
|
|
||||||
Write-Host "Renaming iw4x_02.zip to iw4x_02.iwd..."
|
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_02.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_02.iwd"
|
|
||||||
Write-Host "Cleaning up iw4x_02 directory..."
|
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_02"
|
|
||||||
Write-Host "Finished compressing iw4x_02.iwd`n"
|
|
||||||
|
|
||||||
# Create iw4x_02.iwd
|
|
||||||
Write-Host "Compressing iw4x_03.zip..."
|
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_03\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_03.zip"
|
|
||||||
Write-Host "Renaming iw4x_03.zip to iw4x_03.iwd..."
|
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_03.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_03.iwd"
|
|
||||||
Write-Host "Cleaning up iw4x_03 directory..."
|
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_03"
|
|
||||||
Write-Host "Finished compressing iw4x_03.iwd`n"
|
|
||||||
|
|
||||||
# Create release.zip
|
# Create release.zip
|
||||||
if (Test-Path -Path "${rawFilesPath}\release\release.zip") {
|
if (Test-Path -Path "${rawFilesPath}\release\release.zip") {
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user