Sorry for the delayed reply guys but I needed (and still need ) some distance to the game atm. It hooked me totally since June when A2 came out and I still feel correspondingly wasted with it :-)
hoz,
many thanks for the review, and for your tests and your guidance in polishing that mission as well !
kju,
there are 4 things that at least must be done for a island port:
- 1) UrbanPos.sqf consisting the marker names (see below), the random probability (to be the mission area) and the area radius of the primary location. Carful for no missing markers or mis-typed names as they might screw up the init completely
- 2) The urban/village markers in the editor. These are used for the map/briefing areas & names
- 3) func\IsInPosBlackList.sqf - that file defines blacklist areas where no AI should be placed or move to, f.e. islands, deep ponds or lakes
- 4) The markers starting with "rp_" on the map should be replaced on the roadnetwork similar to the ones on Chernarus. If more or less of those are needed its best to create a new consistent row set of them. After that the new highest number (last marker) must be assigned to the var ADPI_RoadMarker_Counter in the init_initial.sqf
Furthermore some additionally measures should be taken for island objects other or different to the Chernarus ones:
Buildings should be checked if/how they work for the AI in regards of BuildingPos (setpos and move). For troubling ones there is an extra blacklist defined in the init_initial that should be updated accordingly( ADPI_BL_BuildingPos for all movement and ADPI_BL_BuildingPos_ini for initial placement).
Also the blacklists ADPI_BL_VehicleSfcs, ADPI_BL_RoadSfcs and ADPI_BL_CoverObjects should be verified for objects different than in Chernarus.
And finally the dreaded intro. I'd say best choice is to just deactivate the intro completely (in the options so that Cipher_into always equals 0), the respective units are deleted automatically then.
Hope i didnt forget something important.
If in trouble or have questions just drop me a mail or simply post it here.