Jump to content

Will there be Taviana Map for Epoch A3?


knights†emplar

Recommended Posts

i wrote up a little funtion to get the locations where vehicles spawn according to the mechanism used in the epoch spawnscript

_count = 0;
_spawnPositionSize=[["FlatAreaCity",1],["FlatAreaCitySmall",1],["NameCity",2],["NameVillage",1],["NameCityCapital",4],["Airport",5]];
_allowedTypes=[];
{
_allowedTypes pushBack(_x select 0)
}forEach _spawnPositionSize;

_allCitys=(configfile >> "CfgWorlds" >> worldName >> "Names") call BIS_fnc_returnChildren;
{
  _find=_allowedTypes find(getText(_x >> "type"));
  if(_find >-1)then{
_type=getText(_x >> "type");
_name=getText (_x >> "name");
_cityPos=getArray(_x >> "position");
_range=getNumber(_x >> "radiusA");
_marker=createMarkerLocal [_name,_citypos];
_marker setMarkerShapeLocal "ELLIPSE";
_marker setMarkerSizeLocal [_range,_range];
_marker setMarkerBrushLocal "Solid";
_marker setMarkerColorLocal "ColorRed";
_marker setMarkerPos [_cityPos select 0,_cityPos select 1];
  
_marker2=createMarkerLocal [format["%1",_count],_citypos];
_marker2 setMarkerTypeLocal "mil_dot";
_marker2 setMarkerTextLocal _name;
_marker2 setMarkerColorLocal "ColorBlack";
_marker2 setMarkerPos [_cityPos select 0,_cityPos select 1];
  
diag_log format["CITY:%1|TYPE:%2|POS:%3|RANGE:%4|ROADS:%5",_name,_type,format["%1",_cityPos],format["%1",_range]];
_count=_count+1;
  };
} foreach _allCitys;
Example Stratis

post-13897-0-80633200-1422281143_thumb.j

Result on Taviana

post-13897-0-59906300-1422281988_thumb.j

 

This is why the default spawner can´t work unless there is a valid location configuration for A3. 
On the other hand it shows that the city locations are valid, just the radius thats used doesn´t match the "city size" causing the spawnscript to move everything to a position thats big enough to have multiple vehicles spawned (The only location is where "Baltic Sea" appears on the map).

 

To make a "custom A2 map compatible" script it might be an idea to use just the locations, define a search radius with road positions arround it and spawn vehicles there. 

 

I don´t know if its against the ToS to do so and if the Cleanup will remove vehicles spawned in. Needs to be validated and tested.

 

 

 

 

 

 

Link to comment
Share on other sites

Nice one, so we now know what the problem is. If we do a script to spawn vehicles, then it should not be against the ToS, we can disable the spawning from Epoch by setting the number for the LAND vehicle to zero  {"C_Offroad_01_EPOCH",0}, .

 

We don't need to touch the original server files, we can do a script in epoch.Tavi.pbo , or not?

Link to comment
Share on other sites

cool down :) need to get some time and a descent client. Made the test over rdp on a virtual machine. Will take a look in the evening.

 

It might be that if setting the allowed list to 0 the epoch cleaner removes spwaned in vehicles, needs to be tested.

 

However, this issue only applies to vehicles of type "LAND" , AIR and SEA seems to spawn correct. Therefore it might be needed to just take out everything from epochconfig thats type "LAND" and put those to a custom script

Link to comment
Share on other sites

This is why the default spawner can´t work unless there is a valid location configuration for A3. 

On the other hand it shows that the city locations are valid, just the radius thats used doesn´t match the "city size" causing the spawnscript to move everything to a position thats big enough to have multiple vehicles spawned (The only location is where "Baltic Sea" appears on the map).

 

To make a "custom A2 map compatible" script it might be an idea to use just the locations, define a search radius with road positions arround it and spawn vehicles there. 

 

I don´t know if its against the ToS to do so and if the Cleanup will remove vehicles spawned in. Needs to be validated and tested.

 

Found out exactly the same ;) We could overwrite the config but then we have to adjust all "radiusA" entries.

 

But you could use this fix so far. https://seafile.zombieapo.eu/d/50f9357911/ It spawns vehicles without the use of city names. Put the PBO in your @epochhive\addons folder.

Link to comment
Share on other sites

Why re-invent the wheel?

 

Work on a common set of files and maps so that when people download them they can join other servers not just one specific map/server.

 

Use origins 1.7.9 because that's the bikey we have.

I've mentioned the same thing to another Tavi server group.  This is the only way forward.  Work together, get good clean files and settle on a standard...

 

I'll work with anyone that wants to move this mentality forward.

Link to comment
Share on other sites

Danke GZA, thank you GZA! Script is running well! The Server will be online soon! Final test are running.

 

- 38 Shipping Container Positions all Coordinats place by hand

- 4 Spawncitys East, West, North and Central , three Citys from Altis and a new one made by Nasdero

- 146 Phone Booth (danke an speaR, thx to speaR)

- 21 Foundations, made by Nasdero

- 131 Water Barrel, made by Nasdero

- 70 Wind Turbines, made by Nasdero

- 20 Barracks, made by Nasdero

- 300 more Buildings..., made by Nasdero

- Bridge fixes, made by Nasdero

- SEM Mission v0.8 (thx to KiloSwiss)

 

Much more cooming soon (earplugs....)

 

Thx all for sharing!

Link to comment
Share on other sites

Danke GZA, thank you GZA! Script is running well! The Server will be online soon! Final test are running.

 

- 38 Shipping Container Positions all Coordinats place by hand

- 4 Spawncitys East, West, North and Central , three Citys from Altis and a new one made by Nasdero

- 146 Phone Booth (danke an speaR, thx to speaR)

- 21 Foundations, made by Nasdero

- 131 Water Barrel, made by Nasdero

- 70 Wind Turbines, made by Nasdero

- 20 Barracks, made by Nasdero

- 300 more Buildings..., made by Nasdero

- Bridge fixes, made by Nasdero

- SEM Mission v0.8 (thx to KiloSwiss)

 

Much more cooming soon (earplugs....)

 

Thx all for sharing!

 

If I may, wait untill tomorrow, i'll release tavi clientfiles with loads of texture errors fixed and all sorts of fixes.

Link to comment
Share on other sites

Ok, vehicle spawn fix by GZA is working perfectly for us!  Awesome work GZA!  Thanks for helping the community.

 

In the spirit of community, here's our working ATMs.  We have a working ATMs at every gas station, water barrels nearby as well (optional, delete if you don't want them).  Just replace all the payphones code from Spear with this:

 

//ATMs
{"Land_Atm_01_F", {17609.9, 6338.17, 0}, 178.817},
{"Land_BarrelWater_F", {17611.7, 6338.1, 0}, 0},
{"Land_BarrelWater_F", {17229.2, 7661.71, 0}, 0},
{"Land_Atm_01_F", {17229.7, 7663.1, 0}, 85.8133},
{"Land_Atm_01_F", {17210.2, 7608.58, 1.33264}, 88.2103},
{"Land_Atm_01_F", {15257.8, 7860.25, 0}, 321.168},
{"Land_BarrelWater_F", {15258.8, 7861.11, 0}, 0},
{"Land_BarrelWater_F", {15692.4, 9083.3, 0}, 0},
{"Land_Atm_01_F", {15694.2, 9081.59, 0}, 17.7379},
{"Land_Atm_01_F", {15487.4, 9375.51, 0}, 0},
{"Land_BarrelWater_F", {15488.8, 9375.71, 0}, 0},
{"Land_BarrelWater_F", {15131.2, 10193.2, 0}, 0},
{"Land_Atm_01_F", {15131.3, 10194.8, 0}, 87.2514},
{"Land_Atm_01_F", {16300.6, 11703.8, 0}, 0},
{"Land_BarrelWater_F", {16301.9, 11703.8, 0}, 71.4311},
{"Land_BarrelWater_F", {16245.3, 13675.3, 0}, 0},
{"Land_BarrelWater_F", {16245.3, 13675.3, -0.404755}, 0},
{"Land_Atm_01_F", {16243.8, 13675.3, 0}, 0},
{"Land_Atm_01_F", {12820.3, 12462.7, 0}, 89.169},
{"Land_BarrelWater_F", {12820.3, 12464.2, 0}, 0},
{"Land_BarrelWater_F", {13898.7, 12384, 0}, 0},
{"Land_Atm_01_F", {13898, 12382.5, 0}, 123.654},
{"Land_Atm_01_F", {12504.4, 15007.8, 0}, 233.949},
{"Land_BarrelWater_F", {12505.5, 15006.7, 0}, 0},
{"Land_BarrelWater_F", {12151.2, 15562.8, 0}, 0},
{"Land_Atm_01_F", {12151.5, 15561.2, 0}, 256.928},
{"Land_Atm_01_F", {11448.8, 14960.1, 0}, 300.075},
{"Land_BarrelWater_F", {11448, 14958.8, 0}, 0},
{"Land_BarrelWater_F", {11235.8, 15672.5, 0}, 0},
{"Land_Atm_01_F", {11236.4, 15671.1, 0}, 58.9665},
{"Land_Atm_01_F", {8526.07, 10829.6, 0}, 139.506},
{"Land_BarrelWater_F", {8527.52, 10830.8, 0}, 0},
{"Land_BarrelWater_F", {15435, 16112.8, 0}, 0},
{"Land_Atm_01_F", {15433.9, 16111.3, 0}, 129.439},
{"Land_Atm_01_F", {10612.9, 17340.2, 0}, 49.858},
{"Land_BarrelWater_F", {10611.8, 17341.5, 0}, 0},
{"Land_BarrelWater_F", {10847.4, 18963.9, 0}, 0},
{"Land_Atm_01_F", {10848.9, 18964.6, 0}, 145.259},
{"Land_Atm_01_F", {9207.79, 14410.3, 0}, 358.562},
{"Land_BarrelWater_F", {9210.05, 14410.2, 0}, 0},
{"Land_BarrelWater_F", {9603.42, 13559.2, 0}, 0},
{"Land_Atm_01_F", {9602.6, 13560.8, 0}, 239.702},
{"Land_Atm_01_F", {11228.5, 10131.4, 0}, 269.393},
{"Land_BarrelWater_F", {11228.4, 10130, 0}, 0},
{"Land_BarrelWater_F", {9624.56, 11752.5, 0}, 0},
{"Land_Atm_01_F", {9625.65, 11754.1, 0}, 305.348},
{"Land_Atm_01_F", {6760.78, 12979.7, 0}, 358.082},
{"Land_BarrelWater_F", {6758.74, 12979.4, 0}, 0},
{"Land_BarrelWater_F", {5831.65, 17305.4, 0}, 0},
{"Land_Atm_01_F", {5833.27, 17305.5, 0}, 8.62936},
{"Land_Atm_01_F", {4322.73, 18063.9, 0}, 326.442},
{"Land_BarrelWater_F", {4324.35, 18064.8, 0}, 0},
{"Land_BarrelWater_F", {3491.58, 17815.4, 0}, 0},
{"Land_Atm_01_F", {3491.58, 17817.1, 0}, 274.666},
{"Land_Atm_01_F", {2135.26, 17114.5, 0}, 353.288},
{"Land_BarrelWater_F", {2133.5, 17114.2, 0}, 0},
{"Land_BarrelWater_F", {6668.17, 9807.83, 0}, 0},
{"Land_Atm_01_F", {6666.43, 9807.54, 0}, 179.297},
{"Land_Atm_01_F", {5741.79, 9627.12, 0}, 23.9702},
{"Land_BarrelWater_F", {5739.93, 9627.9, 0}, 0},
{"Land_BarrelWater_F", {5315.6, 8846.85, 0}, 0},
{"Land_Atm_01_F", {5314.1, 8846.68, 0}, 168.75},
{"Land_Atm_01_F", {5736.38, 8692.2, 0}, 282.337},
{"Land_BarrelWater_F", {5735.89, 8690.45, 0}, 0},
{"Land_BarrelWater_F", {3901.08, 7083.94, 0}, 0},
{"Land_Atm_01_F", {3899.27, 7083.89, 0}, 182.653},
{"Land_Atm_01_F", {7448.71, 4581.33, 0}, 225.32},
{"Land_BarrelWater_F", {7450.02, 4580.38, 0}, 0},
{"Land_BarrelWater_F", {7976.63, 4266.73, 0}, 0},
{"Land_Atm_01_F", {7975.66, 4265.58, 0}, 131.836},
{"Land_Atm_01_F", {7837.26, 3872.97, 0}, 313.977},
{"Land_BarrelWater_F", {7836.31, 3871.74, 0}, 0},
{"Land_BarrelWater_F", {9805.82, 1605.28, 0}, 0},
{"Land_Atm_01_F", {9804.66, 1604.1, 0}, 139.986},
{"Land_Atm_01_F", {11668.9, 786.072, 0}, 188.885},
{"Land_BarrelWater_F", {11670.5, 786.024, 0}, 0},
{"Land_BarrelWater_F", {8065.89, 6576.9, 0.14093}, 0},
{"Land_Atm_01_F", {8064.86, 6578.12, 0}, 238.263},
{"Land_Atm_01_F", {9510.77, 7784.71, 0}, 308.704},
{"Land_BarrelWater_F", {9511.93, 7785.85, 0}, 0},

Link to comment
Share on other sites

If I may, wait untill tomorrow, i'll release tavi clientfiles with loads of texture errors fixed and all sorts of fixes.

 

Server is still on the test machine, there a some probs with the root server :(. If you got the fixes, pls let us now, I will test them immediately.

Link to comment
Share on other sites

the actual Taviana 3.0 is taken from the A2 Origins Mod. There are several versions of the 3.0 map as it gets enhanced by martin for every new Origins release.

The actual used one should be the one from Origins 1.7.9 . It works almost perfect with AiA and several fixes.

If you have Origins for A2 Already installed you can simply copy the needed pbo´s to a Folder in A3 @Taviana/Addons including the keyfiles and don´t need to download it.

 

- tavi.pbo

- taviana.pbo

- usec_rig_a.pbo

- osshdy.pbo

- origins_pack.pbo

 

are the minimum required ones

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...