Comrades in Arms Discussion Board
WIP: Home Unlimited Questions (Spawn Locations Islands & Peninsulas) - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: WIP: Home Unlimited Questions (Spawn Locations Islands & Peninsulas) (/showthread.php?tid=3134)



WIP: Home Unlimited Questions (Spawn Locations Islands & Peninsulas) - Phantom - 10-11-2015

I'm currently working on a mission called Home Unlimited where you randomly spawn inside a random house and enemies are coming towards your home to kill you and you must kill them all before they kill you. (Weapons and spawn location are random). I finish all the logistics of the missions and stuff, now I just need to create a bunch of spawn locations for the players.

I ran into a problem with certain spawn locations.

Islands and peninsulas can be extremely problematic for spawning enemies for me. I disable a direction where the enemy will end up in the water since they will spawn in midair then die (so I make sure its NOT surfaceIsWater so I can spawn enemies on cities by the beach without dead enemies).

If I check areas around the players on an island, there will be cases that everywhere around them at a certain distance is ALWAYs water (script error and pretty much no enemy spawns) so I avoid pretty much any island (the one little island in the middle of Altis).

Peninsulas on the other hand, I can get working for at least the default startDistance (300m). 400m might work too I guess, but if players want to adjust parameters to anything higher than that, then the spawn will detect just water and no one will spawn. The default will work fine although usually, enemies will only come from one direction on a peninsula anyways (Northwest Altis lighthouse).

Now I'm wondering whether I should include Peninsulas for locations as well or simply avoid it. If I do include it, I'll probably mention a disclaimer about adjusting startDistance.