mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
304 lines
6.7 KiB
C++
304 lines
6.7 KiB
C++
class CfgWorlds
|
|
{
|
|
class CAWorld;
|
|
class Altis: CAWorld
|
|
{
|
|
cutscenes[] = {"Epoch_Intro"};
|
|
/*
|
|
class Sea
|
|
{
|
|
seaTexture = "a3\data_f\seatexture_co.paa";
|
|
seaMaterial = "#water";
|
|
shoreMaterial = "#shore";
|
|
shoreFoamMaterial = "#shorefoam";
|
|
shoreWetMaterial = "#shorewet";
|
|
WaterMapScale = 20;
|
|
WaterGrid = 50;
|
|
MaxTide = 10;
|
|
MaxWave = 0.25;
|
|
SeaWaveXScale = "2.0/50";
|
|
SeaWaveZScale = "1.0/50";
|
|
SeaWaveHScale = 1.0;
|
|
SeaWaveXDuration = 5000;
|
|
SeaWaveZDuration = 10000;
|
|
};
|
|
*/
|
|
class Ambient{};
|
|
class AmbientA3
|
|
{
|
|
maxCost = 500;
|
|
class Radius440_500
|
|
{
|
|
areaSpawnRadius = 440.0;
|
|
areaMaxRadius = 500.0;
|
|
spawnCircleRadius = 30.0;
|
|
spawnInterval = 4.7;
|
|
class Species
|
|
{
|
|
class Kestrel_random_F
|
|
{
|
|
maxCircleCount = "((1 - night) * 2 * (1 - (WaterDepth interpolate [1,30,0,1])) + (2 * (hills))) * (1 - night)";
|
|
maxWorldCount = 4;
|
|
cost = 3;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 200;
|
|
minAlt = -10;
|
|
};
|
|
class Seagull
|
|
{
|
|
maxCircleCount = "((sea * (1 - night)) + (2 * houses * sea)) * (1 - night)";
|
|
maxWorldCount = 8;
|
|
cost = 3;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 200;
|
|
minAlt = -10;
|
|
};
|
|
class Rabbit_F
|
|
{
|
|
maxCircleCount = "(20 * (0.1 - houses)) * (1 - sea)";
|
|
maxWorldCount = 0;
|
|
cost = 5;
|
|
spawnCount = 0;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 80;
|
|
minAlt = -5;
|
|
};
|
|
};
|
|
};
|
|
class Radius40_60
|
|
{
|
|
areaSpawnRadius = 50.0;
|
|
areaMaxRadius = 83.0;
|
|
spawnCircleRadius = 10.0;
|
|
spawnInterval = 1.5;
|
|
class Species
|
|
{
|
|
class CatShark_F
|
|
{
|
|
maxCircleCount = "(4 * (WaterDepth interpolate [1,30,0,1]))";
|
|
maxWorldCount = 10;
|
|
cost = 6;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Turtle_F
|
|
{
|
|
maxCircleCount = "(2 * (waterDepth interpolate [1,16,0,1]) * ((1-houses) * (1-houses)))";
|
|
maxWorldCount = 6;
|
|
cost = 5;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Snake_random_F
|
|
{
|
|
maxCircleCount = "(1 - houses) * ((2 * (1 - sea)) + (2 * (meadow)))";
|
|
maxWorldCount = 0;
|
|
cost = 5;
|
|
spawnCount = 0;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 40;
|
|
minAlt = -5;
|
|
};
|
|
class Salema_F
|
|
{
|
|
maxCircleCount = "(12 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
|
|
maxWorldCount = 40;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Ornate_random_F
|
|
{
|
|
maxCircleCount = "(12 * ((WaterDepth interpolate [1,30,0,1]) + 0.05))";
|
|
maxWorldCount = 30;
|
|
cost = 5;
|
|
spawnCount = 3;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Mackerel_F
|
|
{
|
|
maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
|
|
maxWorldCount = 14;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Mullet_F
|
|
{
|
|
maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
|
|
maxWorldCount = 14;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Tuna_F
|
|
{
|
|
maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) - 0.2))";
|
|
maxWorldCount = 10;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
};
|
|
class Stratis : CAWorld
|
|
{
|
|
class Ambient{};
|
|
class AmbientA3
|
|
{
|
|
maxCost = 500;
|
|
class Radius440_500
|
|
{
|
|
areaSpawnRadius = 440.0;
|
|
areaMaxRadius = 500.0;
|
|
spawnCircleRadius = 30.0;
|
|
spawnInterval = 4.7;
|
|
class Species
|
|
{
|
|
class Kestrel_random_F
|
|
{
|
|
maxCircleCount = "((1 - night) * 2 * (1 - (WaterDepth interpolate [1,30,0,1])) + (2 * (hills))) * (1 - night)";
|
|
maxWorldCount = 4;
|
|
cost = 3;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 200;
|
|
minAlt = -10;
|
|
};
|
|
class Seagull
|
|
{
|
|
maxCircleCount = "((sea * (1 - night)) + (2 * houses * sea)) * (1 - night)";
|
|
maxWorldCount = 8;
|
|
cost = 3;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 200;
|
|
minAlt = -10;
|
|
};
|
|
class Rabbit_F
|
|
{
|
|
maxCircleCount = "(20 * (0.1 - houses)) * (1 - sea)";
|
|
maxWorldCount = 0;
|
|
cost = 5;
|
|
spawnCount = 0;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 80;
|
|
minAlt = -5;
|
|
};
|
|
};
|
|
};
|
|
class Radius40_60
|
|
{
|
|
areaSpawnRadius = 50.0;
|
|
areaMaxRadius = 83.0;
|
|
spawnCircleRadius = 10.0;
|
|
spawnInterval = 1.5;
|
|
class Species
|
|
{
|
|
class CatShark_F
|
|
{
|
|
maxCircleCount = "(4 * (WaterDepth interpolate [1,30,0,1]))";
|
|
maxWorldCount = 10;
|
|
cost = 6;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Turtle_F
|
|
{
|
|
maxCircleCount = "(2 * (waterDepth interpolate [1,16,0,1]) * ((1-houses) * (1-houses)))";
|
|
maxWorldCount = 6;
|
|
cost = 5;
|
|
spawnCount = 1;
|
|
groupSpawnRadius = 10;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Snake_random_F
|
|
{
|
|
maxCircleCount = "(1 - houses) * ((2 * (1 - sea)) + (2 * (meadow)))";
|
|
maxWorldCount = 0;
|
|
cost = 5;
|
|
spawnCount = 0;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 40;
|
|
minAlt = -5;
|
|
};
|
|
class Salema_F
|
|
{
|
|
maxCircleCount = "(12 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
|
|
maxWorldCount = 40;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Ornate_random_F
|
|
{
|
|
maxCircleCount = "(12 * ((WaterDepth interpolate [1,30,0,1]) + 0.05))";
|
|
maxWorldCount = 30;
|
|
cost = 5;
|
|
spawnCount = 3;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Mackerel_F
|
|
{
|
|
maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
|
|
maxWorldCount = 14;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Mullet_F
|
|
{
|
|
maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) + 0.07))";
|
|
maxWorldCount = 14;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
class Tuna_F
|
|
{
|
|
maxCircleCount = "(8 * ((WaterDepth interpolate [1,30,0,1]) - 0.2))";
|
|
maxWorldCount = 10;
|
|
cost = 5;
|
|
spawnCount = 2;
|
|
groupSpawnRadius = 5;
|
|
maxAlt = 10;
|
|
minAlt = -80;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
initWorld = "Altis";
|
|
demoWorld = "Altis";
|
|
}; |