Hollow

Random spawn positions for parachutespawn = 0

8 posts in this topic

Would be great if there was more spawn positions for communities who have parachutespawn turned off

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

ACD lets you add up to 5 custom spawn points :)

I don't mean spawn cities, If you turn off paraspawn each player spawns in the exact same place every time.

Share this post


Link to post
Share on other sites

you don't get the dialog that lets you select your spawn point anymore?

Share this post


Link to post
Share on other sites

+1 on this...

Disabling the parachute option "=0" still allows players to select what city to spawn in, except it spawns the player in the exact same position every time they select to spawn in that city.

For example:

If I select Pygros: my position is x:170 y:125(just to get the idea across)

Would like to see this randomized...spawn the player some where within a certain radius.

-Izz

1 person likes this

Share this post


Link to post
Share on other sites

Ok guys, you are gonna love this. After spending some time poking around in there I found where the mistake was. You need to go to the file "exile_server/code/ExileServer_object_player_createBambi.sqf" and at line 18 change 

_spawnAreaRadius = getNumber(configFile >> "CfgSpawnZone" >> "BambiSettings" >> "spawnZoneRadius");

to

_spawnAreaRadius = getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "spawnZoneRadius");

All the code and math was there to get the random positions but someone made a typo on the configFile reference. For the record parachute spawns were also not random but not as noticeable because of them being steerable and the wind factors. I messed around with this for about an hour until I finally hardcoded it all and it worked, then I realized that simple little typo. Anyways enjoy, hopefully I saved some people some headaches.

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

  • Recently Browsing   0 members

    No registered users viewing this page.