gruppe-adler / TvT_OnTheFly.Stratis

simple, dynamic attack/defend TvT
3 stars 0 forks source link

spawn players depending on island #41

Closed Fusselwurm closed 9 years ago

Fusselwurm commented 9 years ago

There is a function to get the currently loaded island: https://community.bistudio.com/wiki/worldName.

Proposal: Let the mission decide where to initially spawn the players depending on the current island. Thus, porting the mission would be reduced to copying/renaming the directory.

(selecting where to spawn is the only thing that has to be done per-island, right?)

nomisum commented 9 years ago

when merging, every playable unit has to be set playable anew. shouldnt be the case when renaming i guess.

so todo is to find two safe spawn locations per island and collect them here.

AdlerXiviD commented 9 years ago

How do i save a location once i found it? Is there a way to save the coordinates?

nomisum commented 9 years ago

@AdlerXiviD

https://github.com/gruppe-adler/TvT_OnTheFly.Desert_E/blob/2738f2aadd4232367d9f2fba7ec1982ec463ba60/mission_setup/adjustInitialSpawnPosition.sqf#L3-L12

neue Insel hinzufügen im Array oben, Zielkoordinaten für blufor / opfor im array unten. Koordinaten sind jeweils in Metern, beginnend in der linken unteren Kartenecke