Brutus Posted March 31, 2014 Report Share Posted March 31, 2014 Hi all. Here it's a simple way to let player choicing spawning point for Epoch NAPF. Credits: ebay, [LS] brutus The file: http://www.sendspace.com/file/yhz1ax ---- Download the file. ---- unpack your mission and server pbo. ---- Place the newspawn folder in your root mission.pbo ---- Open you mission.pbo/init.sqf found the // DayZ epochconfig block somewhere on this block copy and paste this: DZE_teleport = [99999,99999,99999,99999,99999]; in this block found this: dayz_paraSpawn = true; and change it to: dayz_paraSpawn = false; at the bottom of you init.sqf copy and paste this: p2_newspawn = compile preprocessFileLineNumbers "newspawn\newspawn_execute.sqf";// spawn custom waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; if (dayzPlayerLogin2 select 2) then { player spawn p2_newspawn; }; save your file. ---- Open your server.pbo/compile/server_playerSetup.sqf near the bottom find this: dayzPlayerLogin2 = [_worldspace,_state]; and change it with this: dayzPlayerLogin2 = [_worldspace,_state,_randomSpot]; save the file You are ready to go. Now player will get 3 possibility to spawn. Nord Center South each of this will get 4 randooms positions to spawn. Enjoy insertcoins 1 Link to comment Share on other sites More sharing options...
insertcoins Posted March 31, 2014 Report Share Posted March 31, 2014 good job!! Few minor details in spelling: centre.sqf if (dayz_combat == 1) then { titleText ["You cannot choose while in combat!", "PLAIN DOWN", 3]; //choising is not a word sleep 5; titleFadeOut 1; } else { titleText ["Spawning...", "PLAIN DOWN", 3]; //was swapned or summin _ebayrandomspawn = [[6608.6592,9308.5791,-35.027622], [10858.771,9304.708,-99.306541], [13357.682,9277.3818,-183.90199], [16291.977,9367.9609,-254.12651]] call BIS_fnc_selectRandom; player setPosATL _ebayrandomspawn; sleep 2; titleText ["Spawned!", "PLAIN DOWN", 3]; sleep 2; titleFadeOut 1; }; same with the other files Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now