mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Started working on unit spawning
This commit is contained in:
@@ -67,7 +67,7 @@ module.exports = function (configLocation) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
// UNCOMMENT TO TEST ALL UNITS ****************
|
||||
|
||||
var databases = Object.assign({}, aircraftDatabase, helicopterDatabase, groundUnitDatabase, navyUnitDatabase);
|
||||
@@ -105,8 +105,8 @@ module.exports = function (configLocation) {
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
let idx = 1;
|
||||
DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData));
|
||||
DEMO_UNIT_DATA[idx].name = "S_75M_Volhov";
|
||||
@@ -142,7 +142,6 @@ module.exports = function (configLocation) {
|
||||
DEMO_UNIT_DATA[idx].coalition = 1;
|
||||
DEMO_UNIT_DATA[idx].desiredAltitude = 10000;
|
||||
DEMO_UNIT_DATA[idx].desiredAltitudeType = 0;
|
||||
|
||||
|
||||
idx += 1;
|
||||
DEMO_UNIT_DATA[idx] = JSON.parse(JSON.stringify(baseData));
|
||||
@@ -171,8 +170,7 @@ module.exports = function (configLocation) {
|
||||
DEMO_UNIT_DATA[idx].position.lat += idx / 100;
|
||||
DEMO_UNIT_DATA[idx].category = "Aircraft";
|
||||
DEMO_UNIT_DATA[idx].isLeader = true;
|
||||
*/
|
||||
|
||||
|
||||
this.startTime = Date.now();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user