Remove unused or duplicate data files.
parent
0cf5ce0d72
commit
a7292473b6
|
@ -1,129 +0,0 @@
|
|||
// cam2tech.vlo
|
||||
//set up starting technology, templates etc. for player at the start of a campaign
|
||||
|
||||
script "tech.slo"
|
||||
run
|
||||
{
|
||||
numTechs int 26
|
||||
player int 0
|
||||
startTech [0] RESEARCHSTAT "R-Cyborg-Legs01"
|
||||
startTech [1] RESEARCHSTAT "R-Cyborg-Metals03"
|
||||
startTech [2] RESEARCHSTAT "R-Defense-WallUpgrade03"
|
||||
startTech [3] RESEARCHSTAT "R-Struc-Factory-Upgrade03"
|
||||
startTech [4] RESEARCHSTAT "R-Struc-Factory-Cyborg-Upgrade03"
|
||||
startTech [5] RESEARCHSTAT "R-Struc-Materials03"
|
||||
startTech [6] RESEARCHSTAT "R-Struc-Research-Upgrade03"
|
||||
startTech [7] RESEARCHSTAT "R-Struc-RprFac-Upgrade03"
|
||||
startTech [8] RESEARCHSTAT "R-Sys-Engineering01"
|
||||
startTech [9] RESEARCHSTAT "R-Sys-MobileRepairTurret01"
|
||||
startTech [10] RESEARCHSTAT "R-Wpn-Cannon-Damage03"
|
||||
startTech [11] RESEARCHSTAT "R-Wpn-Flamer-Damage03"
|
||||
startTech [12] RESEARCHSTAT "R-Wpn-Flamer-ROF01"
|
||||
startTech [13] RESEARCHSTAT "R-Wpn-MG-Damage04"
|
||||
startTech [14] RESEARCHSTAT "R-Wpn-MG-ROF01"
|
||||
startTech [15] RESEARCHSTAT "R-Wpn-Mortar-Damage03"
|
||||
startTech [16] RESEARCHSTAT "R-Wpn-Rocket-Accuracy02"
|
||||
startTech [17] RESEARCHSTAT "R-Wpn-Rocket-ROF03"
|
||||
startTech [18] RESEARCHSTAT "R-Wpn-RocketSlow-Accuracy02"
|
||||
startTech [19] RESEARCHSTAT "R-Wpn-RocketSlow-Damage03"
|
||||
startTech [20] RESEARCHSTAT "R-Vehicle-Engine03"
|
||||
startTech [21] RESEARCHSTAT "R-Vehicle-Metals03"
|
||||
startTech [22] RESEARCHSTAT "R-Wpn-AAGun03"
|
||||
startTech [23] RESEARCHSTAT "R-Defense-AASite-QuadMg1"
|
||||
startTech [24] RESEARCHSTAT "R-Sys-Sensor-Tower02"
|
||||
// needs to be researced to allow Ripple Rocket Emplacement
|
||||
startTech [25] RESEARCHSTAT "R-Defense-MRL"
|
||||
|
||||
|
||||
numStructs int 26
|
||||
startStruct [0] STRUCTURESTAT "A0ComDroidControl"
|
||||
startStruct [1] STRUCTURESTAT "A0CommandCentre"
|
||||
startStruct [2] STRUCTURESTAT "A0CyborgFactory"
|
||||
startStruct [3] STRUCTURESTAT "A0FacMod1"
|
||||
startStruct [4] STRUCTURESTAT "A0HardcreteMk1CWall"
|
||||
startStruct [5] STRUCTURESTAT "A0HardcreteMk1Wall"
|
||||
startStruct [6] STRUCTURESTAT "A0LightFactory"
|
||||
startStruct [7] STRUCTURESTAT "A0PowerGenerator"
|
||||
startStruct [8] STRUCTURESTAT "A0PowMod1"
|
||||
startStruct [9] STRUCTURESTAT "A0RepairCentre3"
|
||||
startStruct [10] STRUCTURESTAT "A0ResearchFacility"
|
||||
startStruct [11] STRUCTURESTAT "A0ResearchModule1"
|
||||
startStruct [12] STRUCTURESTAT "A0ResourceExtractor"
|
||||
startStruct [13] STRUCTURESTAT "A0TankTrap"
|
||||
startStruct [14] STRUCTURESTAT "PillBox1"
|
||||
startStruct [15] STRUCTURESTAT "PillBox4"
|
||||
startStruct [16] STRUCTURESTAT "PillBox5"
|
||||
startStruct [17] STRUCTURESTAT "PillBox6"
|
||||
startStruct [18] STRUCTURESTAT "TankTrapC"
|
||||
startStruct [19] STRUCTURESTAT "WallTower01"
|
||||
startStruct [20] STRUCTURESTAT "WallTower03"
|
||||
startStruct [21] STRUCTURESTAT "WallTower04"
|
||||
startStruct [22] STRUCTURESTAT "WallTower06"
|
||||
startStruct [23] STRUCTURESTAT "AASite-QuadMg1"
|
||||
startStruct [24] STRUCTURESTAT "Emplacement-MortarPit01"
|
||||
startStruct [25] STRUCTURESTAT "Emplacement-MRL-pit"
|
||||
//startStruct [23] STRUCTURESTAT "A0RepairCentre"
|
||||
//startStruct [27] STRUCTURESTAT "GuardTower4"
|
||||
//startStruct [28] STRUCTURESTAT "GuardTower5"
|
||||
//startStruct [29] STRUCTURESTAT "GuardTower6"
|
||||
|
||||
numWeapons int 20
|
||||
startWeapon [0] WEAPON "Cannon1Mk1"
|
||||
startWeapon [1] WEAPON "Cannon2A-TMk1"
|
||||
startWeapon [2] WEAPON "Cannon375mmMk1"
|
||||
startWeapon [3] WEAPON "Flame1Mk1"
|
||||
startWeapon [4] WEAPON "MG1Mk1"
|
||||
startWeapon [5] WEAPON "MG2Mk1"
|
||||
startWeapon [6] WEAPON "MG3Mk1"
|
||||
startWeapon [7] WEAPON "Mortar1Mk1"
|
||||
startWeapon [8] WEAPON "Mortar2Mk1"
|
||||
startWeapon [9] WEAPON "Rocket-BB"
|
||||
startWeapon [10] WEAPON "Rocket-LtA-T"
|
||||
startWeapon [11] WEAPON "Rocket-MRL"
|
||||
startWeapon [12] WEAPON "Rocket-Pod"
|
||||
startWeapon [13] WEAPON "Cannon1-VTOL"
|
||||
startWeapon [14] WEAPON "MG1-VTOL"
|
||||
startWeapon [15] WEAPON "MG2-VTOL"
|
||||
startWeapon [16] WEAPON "MG3-VTOL"
|
||||
startWeapon [17] WEAPON "Rocket-VTOL-LtA-T"
|
||||
startWeapon [18] WEAPON "Rocket-VTOL-Pod"
|
||||
startWeapon [19] WEAPON "Rocket-VTOL-BB"
|
||||
|
||||
|
||||
numBodies int 10
|
||||
startBody [0] BODY "Body1REC"
|
||||
startBody [1] BODY "Body5REC"
|
||||
startBody [2] BODY "Body11ABT"
|
||||
startBody [3] BODY "Body4ABT"
|
||||
startBody [4] BODY "Body8MBT"
|
||||
startBody [5] BODY "Body12SUP"
|
||||
startBody [6] BODY "CyborgCannonGrd"
|
||||
startBody [7] BODY "CyborgFlamerGrd"
|
||||
startBody [8] BODY "CyborgChain1Ground"
|
||||
startBody [9] BODY "CyborgRkt1Ground"
|
||||
|
||||
numProps int 4
|
||||
startProp [0] PROPULSION "HalfTrack"
|
||||
startProp [1] PROPULSION "hover01"
|
||||
startProp [2] PROPULSION "tracked01"
|
||||
startProp [3] PROPULSION "wheeled01"
|
||||
|
||||
numConstructs int 1
|
||||
startConstruct [0] CONSTRUCT "Spade1Mk1"
|
||||
|
||||
numSensors int 1
|
||||
startSensor [0] SENSOR "SensorTurret1Mk1"
|
||||
|
||||
numECMs int 0
|
||||
//startECM [0] ECM ""
|
||||
|
||||
numRepairs int 0
|
||||
//startRepair [0] REPAIR ""
|
||||
|
||||
numBrains int 1
|
||||
startBrain [0] BRAIN "CommandBrain01"
|
||||
|
||||
numResearch int 1
|
||||
startResearch [0] RESEARCHSTAT "R-Wpn-Cannon-Accuracy02"
|
||||
|
||||
}
|
|
@ -1,175 +0,0 @@
|
|||
// cam3tech.vlo
|
||||
//set up starting technology, templates etc. for player at the start of a campaign
|
||||
|
||||
script "tech.slo"
|
||||
run
|
||||
{
|
||||
player int 0
|
||||
numTechs int 39
|
||||
startTech [0] RESEARCHSTAT "R-Wpn-Cannon-Accuracy02"
|
||||
startTech [1] RESEARCHSTAT "R-Wpn-Cannon-Damage06"
|
||||
startTech [2] RESEARCHSTAT "R-Wpn-Cannon-ROF03"
|
||||
startTech [3] RESEARCHSTAT "R-Wpn-Flamer-Damage06"
|
||||
startTech [4] RESEARCHSTAT "R-Wpn-Flamer-ROF03"
|
||||
startTech [5] RESEARCHSTAT "R-Wpn-Howitzer-Accuracy02"
|
||||
startTech [6] RESEARCHSTAT "R-Wpn-Howitzer-Damage03"
|
||||
startTech [7] RESEARCHSTAT "R-Wpn-MG-Damage07"
|
||||
startTech [8] RESEARCHSTAT "R-Wpn-MG-ROF03"
|
||||
startTech [9] RESEARCHSTAT "R-Wpn-Mortar-Acc02"
|
||||
startTech [10] RESEARCHSTAT "R-Wpn-Mortar-Damage06"
|
||||
startTech [11] RESEARCHSTAT "R-Wpn-Mortar-ROF03"
|
||||
startTech [12] RESEARCHSTAT "R-Wpn-Rocket-Accuracy02"
|
||||
startTech [13] RESEARCHSTAT "R-Wpn-Rocket-Damage06"
|
||||
startTech [14] RESEARCHSTAT "R-Wpn-Rocket-ROF03"
|
||||
startTech [15] RESEARCHSTAT "R-Wpn-RocketSlow-Accuracy03"
|
||||
startTech [16] RESEARCHSTAT "R-Wpn-RocketSlow-Damage06"
|
||||
startTech [17] RESEARCHSTAT "R-Wpn-RocketSlow-ROF03"
|
||||
startTech [18] RESEARCHSTAT "R-Vehicle-Armor-Heat02"
|
||||
startTech [19] RESEARCHSTAT "R-Vehicle-Engine06"
|
||||
startTech [20] RESEARCHSTAT "R-Vehicle-Metals06"
|
||||
startTech [21] RESEARCHSTAT "R-Cyborg-Metals06"
|
||||
startTech [22] RESEARCHSTAT "R-Cyborg-Armor-Heat02"
|
||||
startTech [23] RESEARCHSTAT "R-Defense-WallUpgrade06"
|
||||
startTech [24] RESEARCHSTAT "R-Struc-Factory-Upgrade06"
|
||||
startTech [25] RESEARCHSTAT "R-Struc-Factory-Cyborg-Upgrade06"
|
||||
startTech [26] RESEARCHSTAT "R-Struc-VTOLFactory-Upgrade03"
|
||||
startTech [27] RESEARCHSTAT "R-Struc-VTOLPad-Upgrade03"
|
||||
startTech [28] RESEARCHSTAT "R-Struc-Materials06"
|
||||
startTech [29] RESEARCHSTAT "R-Struc-Power-Upgrade01"
|
||||
startTech [30] RESEARCHSTAT "R-Struc-Research-Upgrade06"
|
||||
startTech [31] RESEARCHSTAT "R-Struc-RprFac-Upgrade06"
|
||||
startTech [32] RESEARCHSTAT "R-Sys-Engineering02"
|
||||
startTech [33] RESEARCHSTAT "R-Sys-MobileRepairTurret01"
|
||||
startTech [34] RESEARCHSTAT "R-Sys-Sensor-Upgrade01"
|
||||
startTech [35] RESEARCHSTAT "R-Wpn-AAGun-Accuracy02"
|
||||
startTech [36] RESEARCHSTAT "R-Wpn-AAGun-Damage03"
|
||||
startTech [37] RESEARCHSTAT "R-Wpn-AAGun-ROF03"
|
||||
startTech [38] RESEARCHSTAT "R-Wpn-Bomb-Accuracy02"
|
||||
|
||||
|
||||
numStructs int 40
|
||||
startStruct [0] STRUCTURESTAT "A0ComDroidControl"
|
||||
startStruct [1] STRUCTURESTAT "A0CommandCentre"
|
||||
startStruct [2] STRUCTURESTAT "A0CyborgFactory"
|
||||
startStruct [3] STRUCTURESTAT "A0FacMod1"
|
||||
startStruct [4] STRUCTURESTAT "A0HardcreteMk1CWall"
|
||||
startStruct [5] STRUCTURESTAT "A0HardcreteMk1Wall"
|
||||
startStruct [6] STRUCTURESTAT "A0LightFactory"
|
||||
startStruct [7] STRUCTURESTAT "A0PowerGenerator"
|
||||
startStruct [8] STRUCTURESTAT "A0PowMod1"
|
||||
startStruct [9] STRUCTURESTAT "A0RepairCentre3"
|
||||
startStruct [10] STRUCTURESTAT "A0ResearchFacility"
|
||||
startStruct [11] STRUCTURESTAT "A0ResearchModule1"
|
||||
startStruct [12] STRUCTURESTAT "A0ResourceExtractor"
|
||||
startStruct [13] STRUCTURESTAT "A0TankTrap"
|
||||
startStruct [14] STRUCTURESTAT "TankTrapC"
|
||||
startStruct [15] STRUCTURESTAT "A0VTolFactory1"
|
||||
startStruct [16] STRUCTURESTAT "A0VtolPad"
|
||||
startStruct [17] STRUCTURESTAT "Sys-CB-Tower01"
|
||||
startStruct [18] STRUCTURESTAT "Sys-SensoTower02"
|
||||
startStruct [19] STRUCTURESTAT "Sys-VTOL-CB-Tower01"
|
||||
startStruct [20] STRUCTURESTAT "Sys-VTOL-RadarTower01"
|
||||
startStruct [21] STRUCTURESTAT "AASite-QuadBof"
|
||||
startStruct [22] STRUCTURESTAT "AASite-QuadRotMg"
|
||||
startStruct [23] STRUCTURESTAT "Emplacement-HPVcannon"
|
||||
startStruct [24] STRUCTURESTAT "Emplacement-Howitzer105"
|
||||
startStruct [25] STRUCTURESTAT "Emplacement-Howitzer150"
|
||||
startStruct [26] STRUCTURESTAT "Emplacement-Rocket06-IDF"
|
||||
startStruct [27] STRUCTURESTAT "Emplacement-MortarPit02"
|
||||
startStruct [28] STRUCTURESTAT "Emplacement-RotMor"
|
||||
startStruct [29] STRUCTURESTAT "Emplacement-MRL-pit"
|
||||
startStruct [30] STRUCTURESTAT "Emplacement-Rocket06-IDF"
|
||||
startStruct [31] STRUCTURESTAT "Emplacement-HvyATrocket"
|
||||
startStruct [32] STRUCTURESTAT "PillBox6"
|
||||
startStruct [33] STRUCTURESTAT "Wall-RotMg"
|
||||
startStruct [34] STRUCTURESTAT "Wall-VulcanCan"
|
||||
startStruct [35] STRUCTURESTAT "WallTower04"
|
||||
startStruct [36] STRUCTURESTAT "WallTower-HvATrocket"
|
||||
startStruct [37] STRUCTURESTAT "WallTower-HPVcannon"
|
||||
startStruct [38] STRUCTURESTAT "Tower-Projector" //Inferno Emplacement
|
||||
startStruct [39] STRUCTURESTAT "Pillbox-RotMG"
|
||||
|
||||
|
||||
numWeapons int 36
|
||||
startWeapon [0] WEAPON "AAGun2Mk1"
|
||||
startWeapon [1] WEAPON "Bomb1-VTOL-LtHE"
|
||||
startWeapon [2] WEAPON "Bomb2-VTOL-HvHE"
|
||||
startWeapon [3] WEAPON "Bomb3-VTOL-LtINC"
|
||||
startWeapon [4] WEAPON "Bomb4-VTOL-HvyINC"
|
||||
startWeapon [5] WEAPON "Cannon1-VTOL"
|
||||
startWeapon [6] WEAPON "Cannon1Mk1"
|
||||
startWeapon [7] WEAPON "Cannon375mmMk1"
|
||||
startWeapon [8] WEAPON "Cannon4AUTO-VTOL"
|
||||
startWeapon [9] WEAPON "Cannon4AUTOMk1"
|
||||
startWeapon [10] WEAPON "Cannon5Vulcan-VTOL"
|
||||
startWeapon [11] WEAPON "Cannon5VulcanMk1"
|
||||
startWeapon [12] WEAPON "Flame2"
|
||||
startWeapon [13] WEAPON "Howitzer105Mk1"
|
||||
startWeapon [14] WEAPON "Howitzer150Mk1"
|
||||
startWeapon [15] WEAPON "MG4ROTARY-VTOL"
|
||||
startWeapon [16] WEAPON "MG4ROTARYMk1"
|
||||
startWeapon [17] WEAPON "Mortar3ROTARYMk1"
|
||||
startWeapon [18] WEAPON "Rocket-BB"
|
||||
startWeapon [19] WEAPON "Rocket-HvyA-T"
|
||||
startWeapon [20] WEAPON "Rocket-IDF"
|
||||
startWeapon [21] WEAPON "Rocket-LtA-T"
|
||||
startWeapon [22] WEAPON "Rocket-VTOL-BB"
|
||||
startWeapon [23] WEAPON "Rocket-VTOL-HvyA-T"
|
||||
startWeapon [24] WEAPON "Rocket-VTOL-LtA-T"
|
||||
startWeapon [25] WEAPON "Rocket-VTOL-Pod"
|
||||
startWeapon [26] WEAPON "Cannon4AUTO-VTOL"
|
||||
startWeapon [27] WEAPON "Cannon5Vulcan-VTOL"
|
||||
startWeapon [28] WEAPON "MG4ROTARY-VTOL"
|
||||
startWeapon [29] WEAPON "Rocket-VTOL-BB"
|
||||
startWeapon [30] WEAPON "Rocket-VTOL-HvyA-T"
|
||||
startWeapon [31] WEAPON "QuadRotAAGun"
|
||||
startWeapon [32] WEAPON "Rocket-MRL"
|
||||
startWeapon [33] WEAPON "Rocket-Pod"
|
||||
startWeapon [34] WEAPON "Rocket-VTOL-Pod"
|
||||
startWeapon [35] WEAPON "Mortar2Mk1"
|
||||
|
||||
numBodies int 13
|
||||
startBody [0] BODY "Body11ABT"
|
||||
startBody [1] BODY "Body12SUP"
|
||||
startBody [2] BODY "Body1REC"
|
||||
startBody [3] BODY "Body2SUP"
|
||||
startBody [4] BODY "Body4ABT"
|
||||
startBody [5] BODY "Body5REC"
|
||||
startBody [6] BODY "Body6SUPP"
|
||||
startBody [7] BODY "Body8MBT"
|
||||
startBody [8] BODY "Body9REC"
|
||||
startBody [9] BODY "CyborgCannonGrd"
|
||||
startBody [10] BODY "CyborgFlamerGrd"
|
||||
startBody [11] BODY "CybRotMgGrd"
|
||||
startBody [12] BODY "CyborgRkt1Ground"
|
||||
|
||||
numProps int 5
|
||||
startProp [0] PROPULSION "HalfTrack"
|
||||
startProp [1] PROPULSION "hover01"
|
||||
startProp [2] PROPULSION "tracked01"
|
||||
startProp [3] PROPULSION "V-Tol"
|
||||
startProp [4] PROPULSION "wheeled01"
|
||||
|
||||
numConstructs int 1
|
||||
startConstruct [0] CONSTRUCT "Spade1Mk1"
|
||||
|
||||
numSensors int 4
|
||||
startSensor [0] SENSOR "SensorTurret1Mk1"
|
||||
startSensor [1] SENSOR "Sys-CBTurret01"
|
||||
startSensor [2] SENSOR "Sys-VstrikeTurret01"
|
||||
startSensor [3] SENSOR "Sys-VTOLCBTurret01"
|
||||
|
||||
numECMs int 0
|
||||
//startECM [0] ECM ""
|
||||
|
||||
numRepairs int 1
|
||||
startRepair [0] REPAIR "LightRepair1"
|
||||
|
||||
numBrains int 1
|
||||
startBrain [0] BRAIN "CommandBrain01"
|
||||
|
||||
numResearch int 2
|
||||
startResearch [0] RESEARCHSTAT "R-Wpn-Howitzer03-Rot"
|
||||
startResearch [1] RESEARCHSTAT "R-Wpn-MG-Damage08"
|
||||
|
||||
}
|
|
@ -1,346 +0,0 @@
|
|||
//
|
||||
// Multi-player script for upto 8 players.
|
||||
//
|
||||
|
||||
public STRUCTURESTAT command;
|
||||
public STRUCTURESTAT factory;
|
||||
public STRUCTURESTAT wall;
|
||||
public STRUCTURESTAT cornerWall;
|
||||
public STRUCTURESTAT oilDerrick;
|
||||
public STRUCTURESTAT powerGen;
|
||||
public STRUCTURESTAT research;
|
||||
public STRUCTURESTAT commandrelay;
|
||||
public STRUCTURESTAT cybfac;
|
||||
public STRUCTURESTAT vtolfac;
|
||||
|
||||
// starting technologies.
|
||||
public int numtecP0, numtecP1, numtecP2, numtecP3,numtecP4, numtecP5, numtecP6, numtecP7;
|
||||
public RESEARCHSTAT tecP0[5], tecP1[5], tecP2[5], tecP3[5], tecP4[5], tecP5[5], tecP6[5], tecP7[5];
|
||||
|
||||
public int numCleanTech, numBaseTech, numDefTech;
|
||||
public RESEARCHSTAT cleanTech[32], baseTech[32], defTech[64];
|
||||
|
||||
// research topics
|
||||
public int numResP0, numResP1, numResP2, numResP3, numResP4, numResP5, numResP6, numResP7;
|
||||
public RESEARCHSTAT resP0[5], resP1[5], resP2[5], resP3[5], resP4[5], resP5[5], resP6[5], resP7[5];
|
||||
|
||||
public int numCleanRes, numBaseRes, numDefRes;
|
||||
public RESEARCHSTAT cleanRes[10], baseRes[10], defRes[10];
|
||||
|
||||
// Other Stuff
|
||||
private INT count;
|
||||
private INT playnum;
|
||||
private BOOL gamenotwon;
|
||||
|
||||
// Base Under Attack Stuff
|
||||
private STRUCTURE hitStruc;
|
||||
private BASEOBJ attackerObj;
|
||||
private int t;
|
||||
public SOUND attackSnd1;
|
||||
|
||||
public INTMESSAGE endMsg, winMsg;
|
||||
|
||||
// /////////////////////////////////////////////////////////////////
|
||||
|
||||
trigger endConditions(every, 100);
|
||||
|
||||
// /////////////////////////////////////////////////////////////////
|
||||
//this event is called once the game has initialised itself
|
||||
|
||||
event initialisedEvent(CALL_GAMEINIT)
|
||||
{
|
||||
playnum=0;
|
||||
while (playnum < 8)
|
||||
{
|
||||
if(multiPlayerBaseType == CAMP_CLEAN)
|
||||
{
|
||||
setPowerLevel(750,playnum);
|
||||
count = 0;
|
||||
while (count < numCleanTech)
|
||||
{
|
||||
completeResearch(cleanTech[count], playnum);
|
||||
count = count +1;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
while (count < numCleanRes)
|
||||
{
|
||||
enableResearch(cleanRes[count], playnum);
|
||||
count = count +1;
|
||||
}
|
||||
}
|
||||
else if(multiPlayerBaseType == CAMP_BASE)
|
||||
{
|
||||
setPowerLevel(1000,playnum);
|
||||
count = 0;
|
||||
while (count < numBaseTech)
|
||||
{
|
||||
completeResearch(baseTech[count], playnum);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numBaseRes)
|
||||
{
|
||||
enableResearch(baseRes[count], playnum);
|
||||
count = count +1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
setPowerLevel(2000,playnum);
|
||||
count = 0;
|
||||
while (count < numDefTech)
|
||||
{
|
||||
completeResearch(defTech[count], playnum);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numDefRes)
|
||||
{
|
||||
enableResearch(defRes[count], playnum);
|
||||
count = count +1;
|
||||
}
|
||||
}
|
||||
|
||||
playnum = playnum + 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
event initialisedEvent2(CALL_GAMEINIT)
|
||||
{
|
||||
|
||||
//set up the reticule buttons
|
||||
addReticuleButton(OPTIONS);
|
||||
addReticuleButton(CANCEL);
|
||||
addReticuleButton(BUILD);
|
||||
addReticuleButton(MANUFACTURE);
|
||||
addReticuleButton(RESEARCH);
|
||||
addReticuleButton(INTELMAP);
|
||||
addReticuleButton(DESIGN);
|
||||
|
||||
playnum=0;
|
||||
while (playnum < 8)
|
||||
{
|
||||
enableStructure(command , playnum); //make structures available to build
|
||||
enableStructure(factory, playnum);
|
||||
//enableStructure(wall, playnum);
|
||||
//enableStructure(cornerWall, playnum);
|
||||
enableStructure(oilDerrick, playnum);
|
||||
enableStructure(powerGen, playnum);
|
||||
enableStructure(research, playnum);
|
||||
|
||||
setStructureLimits(factory, 5, playnum); // set structure limits
|
||||
setStructureLimits(powerGen, 5, playnum);
|
||||
setStructureLimits(research, 5, playnum);
|
||||
setStructureLimits(command, 1, playnum);
|
||||
setStructureLimits(commandrelay,1, playnum);
|
||||
setStructureLimits(cybfac, 5, playnum);
|
||||
setStructureLimits(vtolfac, 5, playnum);
|
||||
|
||||
playnum = playnum+1;
|
||||
}
|
||||
applyLimitSet(); // set limit options
|
||||
|
||||
// player specific technology startups
|
||||
count = 0;
|
||||
while (count < numtecP0)
|
||||
{
|
||||
completeResearch(tecP0[count], 0);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numtecP1)
|
||||
{
|
||||
completeResearch(tecP1[count], 1);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numtecP2)
|
||||
{
|
||||
completeResearch(tecP2[count], 2);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numtecP3)
|
||||
{
|
||||
completeResearch(tecP3[count], 3);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numtecP4)
|
||||
{
|
||||
completeResearch(tecP4[count], 4);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numtecP5)
|
||||
{
|
||||
completeResearch(tecP5[count], 5);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numtecP6)
|
||||
{
|
||||
completeResearch(tecP6[count], 6);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numtecP7)
|
||||
{
|
||||
completeResearch(tecP7[count], 7);
|
||||
count = count +1;
|
||||
}
|
||||
|
||||
|
||||
// player specific research startups
|
||||
count = 0;
|
||||
while (count < numResP0)
|
||||
{
|
||||
enableResearch(resP0[count], 0);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numResP1)
|
||||
{
|
||||
enableResearch(resP1[count], 1);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numResP2)
|
||||
{
|
||||
enableResearch(resP2[count], 2);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numResP3)
|
||||
{
|
||||
enableResearch(resP3[count], 3);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numResP4)
|
||||
{
|
||||
enableResearch(resP4[count], 4);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numResP5)
|
||||
{
|
||||
enableResearch(resP5[count], 5);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numResP6)
|
||||
{
|
||||
enableResearch(resP6[count], 6);
|
||||
count = count +1;
|
||||
}
|
||||
count = 0;
|
||||
while (count < numResP7)
|
||||
{
|
||||
enableResearch(resP7[count], 7);
|
||||
count = count +1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// /////////////////////////////////////////////////////////////////
|
||||
event checkEndConditions (endConditions)
|
||||
{
|
||||
// Losing Conditions
|
||||
// if( ( not (multiPlayerGameType == DMATCH))
|
||||
if( ( not anyDroidsLeft(selectedPlayer))
|
||||
and ( not anyFactoriesLeft(selectedPlayer))
|
||||
// and ( not playerInAlliance(selectedPlayer))
|
||||
)
|
||||
{
|
||||
// addMessage(endMsg, MISS_MSG, 0, true);
|
||||
// pause(10);
|
||||
// gameOver(FALSE);
|
||||
gameOverMessage(endMsg, MISS_MSG, 0, FALSE);
|
||||
setEventTrigger(checkEndConditions, inactive);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
// Winning Conditions
|
||||
playnum=0;
|
||||
gamenotwon = FALSE;
|
||||
|
||||
////////////////
|
||||
// Campaign Game
|
||||
if(multiPlayerGameType == CAMPAIGN)
|
||||
{
|
||||
// check humans are still about
|
||||
while (playnum < multiPlayerMaxPlayers)
|
||||
{
|
||||
if (playnum != selectedPlayer)
|
||||
{
|
||||
if(anyDroidsLeft(playnum) or anyFactoriesLeft(playnum) )
|
||||
{
|
||||
gamenotwon = TRUE;
|
||||
}
|
||||
}
|
||||
playnum = playnum + 1;
|
||||
}
|
||||
|
||||
//check computer/babas are wiped out completely
|
||||
while(playnum<8)
|
||||
{
|
||||
if(not isHumanPlayer(playnum))
|
||||
{
|
||||
if(anyDroidsLeft(playnum) or anyStructButWallsLeft(playnum))
|
||||
{
|
||||
gamenotwon = TRUE;
|
||||
}
|
||||
}
|
||||
playnum = playnum + 1;
|
||||
}
|
||||
}
|
||||
|
||||
if(gamenotwon == FALSE)
|
||||
{
|
||||
// addMessage(winMsg, MISS_MSG, 0, true);
|
||||
// pause(10);
|
||||
// gameOver(TRUE);
|
||||
gameOverMessage(winMsg, MISS_MSG, 0, TRUE);
|
||||
setEventTrigger(checkEndConditions, inactive);
|
||||
}
|
||||
}
|
||||
|
||||
// /////////////////////////////////////////////////////////////////
|
||||
/* Base Under Attack */
|
||||
event baseHit(CALL_STRUCT_ATTACKED, selectedPlayer, ref hitStruc, ref attackerObj)
|
||||
{
|
||||
if (t >= 10)
|
||||
{
|
||||
t=0;
|
||||
if (hitStruc != NULLOBJECT)
|
||||
{
|
||||
playSoundPos(attackSnd1, selectedPlayer, hitStruc.x, hitStruc.y, hitStruc.z); //show position if still alive
|
||||
}
|
||||
else
|
||||
{
|
||||
playSound(attackSnd1, selectedPlayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
event everySec(every, 10)
|
||||
{
|
||||
t=t+1;
|
||||
}
|
||||
|
||||
//go to where the structure being attacked is on CTRL B
|
||||
event seeBaseHit(CALL_MISSION_END)
|
||||
{
|
||||
if (hitStruc!=NULLOBJECT)
|
||||
{
|
||||
centreView(hitStruc);
|
||||
t=0; //flag known about!
|
||||
}
|
||||
}
|
||||
|
|
@ -1,171 +0,0 @@
|
|||
//
|
||||
// variable value file for multiplayer games.
|
||||
//
|
||||
|
||||
script "multiplay.slo"
|
||||
run
|
||||
{
|
||||
|
||||
endMsg INTMESSAGE "END"
|
||||
winMsg INTMESSAGE "WIN"
|
||||
|
||||
// structures
|
||||
command STRUCTURESTAT "A0CommandCentre"
|
||||
factory STRUCTURESTAT "A0LightFactory"
|
||||
wall STRUCTURESTAT "A0HardcreteMk1Wall"
|
||||
cornerWall STRUCTURESTAT "A0HardcreteMk1CWall"
|
||||
oilDerrick STRUCTURESTAT "A0ResourceExtractor"
|
||||
powerGen STRUCTURESTAT "A0PowerGenerator"
|
||||
research STRUCTURESTAT "A0ResearchFacility"
|
||||
commandrelay STRUCTURESTAT "A0ComDroidControl"
|
||||
cybfac STRUCTURESTAT "A0CyborgFactory"
|
||||
vtolfac STRUCTURESTAT "A0VTolFactory1"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// Starting Technologies.
|
||||
// MAX of 64 starting Techs. See alexl for more.
|
||||
|
||||
// JIM/KEITH KEEP YOUR FILTHY MITS OFF THESE..
|
||||
|
||||
// CLEAN MAP
|
||||
numCleanTech int 4
|
||||
|
||||
cleanTech[0] RESEARCHSTAT "R-Vehicle-Prop-Wheels"
|
||||
cleanTech[1] RESEARCHSTAT "R-Sys-Spade1Mk1"
|
||||
cleanTech[2] RESEARCHSTAT "R-Vehicle-Body01"
|
||||
cleanTech[3] RESEARCHSTAT "R-Comp-SynapticLink"
|
||||
//cleanTech[0] RESEARCHSTAT "R-Wpn-MG1Mk1"
|
||||
//cleanTech[1] RESEARCHSTAT "R-Defense-HardcreteWall"
|
||||
//cleanTech[4] RESEARCHSTAT "R-Struc-Factory-Cyborg"
|
||||
//cleanTech[5] RESEARCHSTAT "R-Cyborg-Wpn-MG"
|
||||
//cleanTech[6] RESEARCHSTAT "R-Defense-Pillbox01"
|
||||
//cleanTech[7] RESEARCHSTAT "R-Defense-Tower01"
|
||||
//cleanTech[9] RESEARCHSTAT "R-Sys-Engineering01"
|
||||
|
||||
// BASE MAP
|
||||
numBaseTech int 19
|
||||
baseTech[0] RESEARCHSTAT "R-Vehicle-Prop-Wheels"
|
||||
baseTech[1] RESEARCHSTAT "R-Sys-Spade1Mk1"
|
||||
baseTech[2] RESEARCHSTAT "R-Vehicle-Body01"
|
||||
baseTech[3] RESEARCHSTAT "R-Comp-SynapticLink"
|
||||
|
||||
baseTech[4] RESEARCHSTAT "R-Wpn-MG1Mk1"
|
||||
baseTech[5] RESEARCHSTAT "R-Defense-HardcreteWall"
|
||||
baseTech[6] RESEARCHSTAT "R-Vehicle-Prop-Wheels"
|
||||
baseTech[7] RESEARCHSTAT "R-Sys-Spade1Mk1"
|
||||
baseTech[8] RESEARCHSTAT "R-Struc-Factory-Cyborg"
|
||||
baseTech[9] RESEARCHSTAT "R-Cyborg-Wpn-MG"
|
||||
baseTech[10] RESEARCHSTAT "R-Defense-Pillbox01"
|
||||
baseTech[11] RESEARCHSTAT "R-Defense-Tower01"
|
||||
baseTech[12] RESEARCHSTAT "R-Vehicle-Body01"
|
||||
baseTech[13] RESEARCHSTAT "R-Sys-Engineering01"
|
||||
baseTech[14] RESEARCHSTAT "R-Struc-CommandRelay"
|
||||
baseTech[15] RESEARCHSTAT "R-Vehicle-Prop-Halftracks"
|
||||
baseTech[16] RESEARCHSTAT "R-Comp-CommandTurret01"
|
||||
baseTech[17] RESEARCHSTAT "R-Sys-Sensor-Turret01"
|
||||
baseTech[18] RESEARCHSTAT "R-Wpn-Flamer01Mk1"
|
||||
|
||||
|
||||
// DEFENSIVE MAP
|
||||
numDefTech int 42
|
||||
|
||||
defTech[0] RESEARCHSTAT "R-Vehicle-Prop-Wheels"
|
||||
defTech[1] RESEARCHSTAT "R-Sys-Spade1Mk1"
|
||||
defTech[2] RESEARCHSTAT "R-Vehicle-Body01"
|
||||
defTech[3] RESEARCHSTAT "R-Comp-SynapticLink"
|
||||
|
||||
defTech[4] RESEARCHSTAT "R-Wpn-MG1Mk1"
|
||||
defTech[5] RESEARCHSTAT "R-Defense-HardcreteWall"
|
||||
defTech[6] RESEARCHSTAT "R-Vehicle-Prop-Wheels"
|
||||
defTech[7] RESEARCHSTAT "R-Sys-Spade1Mk1"
|
||||
defTech[8] RESEARCHSTAT "R-Struc-Factory-Cyborg"
|
||||
defTech[9] RESEARCHSTAT "R-Cyborg-Wpn-MG"
|
||||
defTech[10] RESEARCHSTAT "R-Defense-Pillbox01"
|
||||
defTech[11] RESEARCHSTAT "R-Defense-Tower01"
|
||||
defTech[12] RESEARCHSTAT "R-Vehicle-Body01"
|
||||
defTech[13] RESEARCHSTAT "R-Sys-Engineering01"
|
||||
defTech[14] RESEARCHSTAT "R-Struc-CommandRelay"
|
||||
defTech[15] RESEARCHSTAT "R-Vehicle-Prop-Halftracks"
|
||||
defTech[16] RESEARCHSTAT "R-Comp-CommandTurret01"
|
||||
defTech[17] RESEARCHSTAT "R-Sys-Sensor-Turret01"
|
||||
defTech[18] RESEARCHSTAT "R-Wpn-Flamer01Mk1"
|
||||
|
||||
defTech[19] RESEARCHSTAT "R-Vehicle-Body05"
|
||||
defTech[20] RESEARCHSTAT "R-Struc-Research-Module"
|
||||
defTech[21] RESEARCHSTAT "R-Struc-PowerModuleMk1"
|
||||
defTech[22] RESEARCHSTAT "R-Struc-Factory-Module"
|
||||
defTech[23] RESEARCHSTAT "R-Struc-RepairFacility"
|
||||
defTech[24] RESEARCHSTAT "R-Sys-MobileRepairTurret01"
|
||||
defTech[25] RESEARCHSTAT "R-Vehicle-Engine01"
|
||||
defTech[26] RESEARCHSTAT "R-Vehicle-Prop-Tracks"
|
||||
defTech[27] RESEARCHSTAT "R-Cyborg-Wpn-Cannon"
|
||||
defTech[28] RESEARCHSTAT "R-Cyborg-Wpn-Flamer"
|
||||
defTech[29] RESEARCHSTAT "R-Wpn-MG3Mk1"
|
||||
defTech[30] RESEARCHSTAT "R-Wpn-Cannon1Mk1"
|
||||
defTech[31] RESEARCHSTAT "R-Wpn-Mortar01Lt"
|
||||
defTech[32] RESEARCHSTAT "R-Defense-Pillbox05"
|
||||
defTech[33] RESEARCHSTAT "R-Defense-TankTrap01"
|
||||
defTech[34] RESEARCHSTAT "R-Defense-WallTower02"
|
||||
defTech[35] RESEARCHSTAT "R-Sys-Sensor-Tower01"
|
||||
defTech[36] RESEARCHSTAT "R-Defense-Pillbox04"
|
||||
defTech[37] RESEARCHSTAT "R-Wpn-MG2Mk1"
|
||||
defTech[38] RESEARCHSTAT "R-Wpn-Rocket05-MiniPod"
|
||||
defTech[39] RESEARCHSTAT "R-Wpn-MG-Damage01"
|
||||
defTech[40] RESEARCHSTAT "R-Wpn-Rocket-Damage01"
|
||||
defTech[41] RESEARCHSTAT "R-Defense-WallTower01"
|
||||
|
||||
|
||||
// player specific. eg.
|
||||
//numtecP0 int 1 //Player0
|
||||
//tecP0[0] RESEARCHSTAT "R-Vehicle-Body01"
|
||||
numtecP0 int 0 //Player0
|
||||
numtecP1 int 0 //Player1
|
||||
numtecP2 int 0 //Player2
|
||||
numtecP3 int 0 //Player3
|
||||
numtecP4 int 0 //Player4
|
||||
numtecP5 int 0 //Player5
|
||||
numtecP6 int 0 //Player6
|
||||
numtecP7 int 0 //Player7
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// Available Research Topics.
|
||||
// Maximum of TEN topics, see alexl for more.
|
||||
|
||||
// CLEAN MAP
|
||||
numCleanRes int 3
|
||||
cleanRes[0] RESEARCHSTAT "R-Sys-Sensor-Turret01"
|
||||
cleanRes[1] RESEARCHSTAT "R-Wpn-MG1Mk1"
|
||||
//cleanRes[2] RESEARCHSTAT "R-Struc-Factory-Cyborg"
|
||||
cleanRes[2] RESEARCHSTAT "R-Sys-Engineering01"
|
||||
//cleanRes[1] RESEARCHSTAT "R-Struc-CommandRelay"
|
||||
|
||||
// BASE MAP
|
||||
numBaseRes int 0
|
||||
//baseRes[0] RESEARCHSTAT "R-Sys-Engineering01"
|
||||
|
||||
|
||||
// DEFENSE MAP
|
||||
numDefRes int 0
|
||||
//defRes[0] RESEARCHSTAT "R-Sys-Engineering01"
|
||||
|
||||
|
||||
|
||||
// Player Specific. eg.
|
||||
// numResP0 int 1 //number of topics to enable
|
||||
// resP0[0] RESEARCHSTAT "R-Lab-Electronics"
|
||||
numResP0 int 0
|
||||
numResP1 int 0
|
||||
numResP2 int 0
|
||||
numResP3 int 0
|
||||
numResP4 int 0
|
||||
numResP5 int 0
|
||||
numResP6 int 0
|
||||
numResP7 int 0
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// Other Guff.
|
||||
|
||||
/* Base Under Attack */
|
||||
attackSnd1 SOUND "pcv337.ogg"
|
||||
}
|
Loading…
Reference in New Issue