Froanta Posted March 17, 2014 Report Share Posted March 17, 2014 Heres my version of the spawn selector for Chernarus: https://dl.dropboxusercontent.com/u/14937351/spawnselect.zip Install instructions: -) Unpack the files in the archive to your mission folder. 1) In the end of !isDedicated block in your MPMissions init.sqf file -> if (!isDedicated) then { ...jadajada... //just an example, don't change to this :D <--Place code--> }; Place this code: waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; if (dayzPlayerLogin2 select 2) then { [] execVM "custom\spawn_select\Spawn.sqf"; }; //After this comes the !isDedicated condition ending bracket! 2) Open your description.ext and paste this to the end: #include "custom\spawn_select\dialogs.hpp" 3) Unpbo your dayz_server.pbo and open file dayz_server\compile\server_playerSetup.sqf and change this (around line 236): dayzPlayerLogin2 = [_worldspace,_state]; to this: dayzPlayerLogin2 = [_worldspace,_state,_randomSpot]; 4) Repbo your dayz_server and enjoy :) I did everything like you said to a T, However whenever i click where i want to go I die as soon as i spawn...any clue as to why? Link to comment Share on other sites More sharing options...
W4lly Posted March 18, 2014 Report Share Posted March 18, 2014 Maybe you put WaitUntil...etc..etc code inside isDedicated .. correct like this if (!isDedicated) then { //Conduct map operations 0 fadeSound 0; waitUntil {!isNil "dayz_loadScreenMsg"}; dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; //refuel rearm repair execVM "service_point\service_point.sqf"; //Bus Route [] execVM "busroute\player_axeBus.sqf"; }; //Start Dynamic Weather execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf" waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; if (dayzPlayerLogin2 select 2) then { [] execVM "custom\spawn_select\Spawn.sqf"; }; try in my Chernarus server in signature , is little bit different but working for my players.. Link to comment Share on other sites More sharing options...
adg Posted March 18, 2014 Report Share Posted March 18, 2014 I did everything like you said to a T, However whenever i click where i want to go I die as soon as i spawn...any clue as to why? What does your server .rpt say when this happens? Link to comment Share on other sites More sharing options...
asremix Posted March 18, 2014 Report Share Posted March 18, 2014 This script can use with battleye and anti hack? My server use battleye and anti hack. But not work with anti hack. But if i close anti hack this script it work 100%. Link to comment Share on other sites More sharing options...
W4lly Posted March 19, 2014 Report Share Posted March 19, 2014 I use this with infistar antihack , no problems .. whats kick restriction number ? Link to comment Share on other sites More sharing options...
asremix Posted March 19, 2014 Report Share Posted March 19, 2014 Now battleye not kick but not show spawn select display. Link to comment Share on other sites More sharing options...
asremix Posted March 19, 2014 Report Share Posted March 19, 2014 Ok I'm wrong . I'm missing ; in init.sqf Now It work. Link to comment Share on other sites More sharing options...
an1m4l Posted April 15, 2014 Report Share Posted April 15, 2014 Did anyone manage to get this working with Sauerland? Link to comment Share on other sites More sharing options...
Cam Am Posted April 25, 2014 Report Share Posted April 25, 2014 Love this script! How would i go about editing the spawn locations? Link to comment Share on other sites More sharing options...
rentiger1112 Posted April 25, 2014 Report Share Posted April 25, 2014 so yah i did everything you did even enable teleportation on infistar for spawns and the menu doesnt even come up. im not missing an ;'s Link to comment Share on other sites More sharing options...
thorstman Posted April 29, 2014 Report Share Posted April 29, 2014 At first, thank you guys! These scripts are a great improvement to the aditional maps. We have used te fn_selfaction spawnselect on one of our vserver, till an antihack update destroys our changes to it (wasent easy to change something a the ah.sqf, now it this backdoor closet by the hoster). But the graphical Spawnselect doesent work for an nonadmin on a server witch antihack on, no matter if we set the backspawn flag. the Menu doesent show up, like the other ones sayed. You wil baiscly get an black screen, the map shows up for 1 second and disapears, the black screen stays. Thought it was the debug monitor, it wasent. We have something here[ disable antihack.sqf (Just before the includes section) or place a fixed version of antihack.sqf with line 89 checking for SPM=1 e.g if ((_speed > _topSpeed) && (alive player) && (SPM=1) etc etc ] on the pantherea github readme; https://github.com/Gezzunder/Panthera-Spawn-Select "checking for SPM=1" spm=spawnmenu? there is no SPM defined in the whole ah.sqf. Should i just ad these code to make shure the SPM, wich is defined in the spanwselectscript has a "free to go" by antihack? An if so; if ((_speed > _topSpeed) && (alive player) && (SPM=1)) else (SPM=1); would do the job? Link to comment Share on other sites More sharing options...
Asian Kid Posted May 1, 2014 Report Share Posted May 1, 2014 The map is not showing up for me. I have the 3 character addon, will that change anything? Link to comment Share on other sites More sharing options...
arkmal Posted May 24, 2014 Report Share Posted May 24, 2014 At first, thank you guys! These scripts are a great improvement to the aditional maps. We have used te fn_selfaction spawnselect on one of our vserver, till an antihack update destroys our changes to it (wasent easy to change something a the ah.sqf, now it this backdoor closet by the hoster). But the graphical Spawnselect doesent work for an nonadmin on a server witch antihack on, no matter if we set the backspawn flag. the Menu doesent show up, like the other ones sayed. You wil baiscly get an black screen, the map shows up for 1 second and disapears, the black screen stays. Thought it was the debug monitor, it wasent. We have exactly the same problem ! Does anyone have an idea about it ? Link to comment Share on other sites More sharing options...
an1m4l Posted May 25, 2014 Report Share Posted May 25, 2014 So would I be able to make napf have halo and regular spawn select? Link to comment Share on other sites More sharing options...
arkmal Posted May 26, 2014 Report Share Posted May 26, 2014 So would I be able to make napf have halo and regular spawn select? Yes you will. People can choose paraspawn or land spawn Link to comment Share on other sites More sharing options...
an1m4l Posted May 28, 2014 Report Share Posted May 28, 2014 Yes you will. People can choose paraspawn or land spawn I would assume, all I would have to do is change the picture, the coords of the buttons and the spawn points from the one GitHub posted link to reflect my map? Link to comment Share on other sites More sharing options...
arkmal Posted May 28, 2014 Report Share Posted May 28, 2014 I would assume, all I would have to do is change the picture, the coords of the buttons and the spawn points from the one GitHub posted link to reflect my map? Yep you can, it is easy to do ! Link to comment Share on other sites More sharing options...
chipsandcheese Posted June 10, 2014 Report Share Posted June 10, 2014 from array of adg class btnChe: RscButton { idc = 1609; text = "Cherno"; x = 0.447265 * safezoneW + safezoneX; y = 0.726875 * safezoneH + safezoneY; w = 0.0431419 * safezoneW; h = 0.0145 * safezoneH; action = "closeDialog 0;drnspawn = 9;"; }; class btnELE: RscButton { idc = 1610; text = "Elektrozavodsk"; x = 0.527265 * safezoneW + safezoneX; y = 0.726875 * safezoneH + safezoneY; w = 0.0551419 * safezoneW; h = 0.0145 * safezoneH; action = "closeDialog 0;drnspawn = 10;"; }; Petrovka idc=1600 Krutov idc=1612 I must be missing something here, but this makes little sense to me. I want to edit the buttons on the map but have no idea what the X & Y values mean. If anyone can point it out, thanks in advance EDIT: Realised now it's pretty much the distance across and down the screen, with 1.0 being all the way. Thanks anyway Link to comment Share on other sites More sharing options...
zkirby Posted June 15, 2014 Report Share Posted June 15, 2014 Hey all, great script. I'm using the Napf version and would like to be able to select halo.... Is this possible? Thanks. Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2014 Report Share Posted July 4, 2014 is this compatible with character selection from axe ? Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2014 Report Share Posted July 4, 2014 hi, so ive got the original script working now, i got the spawn selection but when i press a button it doesnt change my location? possible that infistar blocks something? thanks for your help, waTTe EDIT: i worked it out with the newer version, i even removed the base spawn button and classes stuff Link to comment Share on other sites More sharing options...
Gramps Posted July 5, 2014 Report Share Posted July 5, 2014 Converted first script https://github.com/Gezzunder/Spawn-select for Sauerland can test in my server in signature.... DOWNLOAD these instructions suck look in compile folder and change spawn number 2............what file is the folder Link to comment Share on other sites More sharing options...
Guest Posted July 5, 2014 Report Share Posted July 5, 2014 its the player setup file Link to comment Share on other sites More sharing options...
Kimzer Posted August 26, 2014 Report Share Posted August 26, 2014 Did anyone do this for Lingor? :D Link to comment Share on other sites More sharing options...
billybloggs Posted August 28, 2014 Report Share Posted August 28, 2014 Hi Thanks for this is is just great works a treat....... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now