sparrow8332 Posted April 22, 2015 Report Share Posted April 22, 2015 SPAWN SELECTION MENU v1.0 . AUTOMATIC WORLDNAME DETECTION + MAP IMAGE CHANGE . AUTOMATIC CHANGES THE SPAWN BUTTONS ON THE MENU TO POINT TO YOUR MAP SPAWN LOCATIONS. CUSTOMIZE SPAWN LOCATIONS IN CONFIG. CUSTOMIZE MAP IMAGE + INSTALL LOCATION. ESC KEY DISABLED WHILST MENU IS ACTIVE INSTALATIONDownload and follow the instructions below. https://github.com/sparrow8332/A3-Epoch-Spawn-Menu description.ext #include "spaz_spawn.hpp" onPlayerRespawn.sqf if (isNil "inSpawnPoint") then { inSpawnPoint = false; }; waitUntil { inSpawnPoint }; createDialog "spaz_spawn"; [] execVM "Spaz_Spawn.sqf"; noesckey = (findDisplay 8332) displayAddEventHandler ["KeyDown", "if ((_this select 1) == 1) then { true }"]; Add a Sensor in your Mission.sqm class Item0 { position[] = {8886.766,102.1,9097.741}; //respawn_west Location a = 10; b = 10; activationBy = "ANY"; repeating = 1; interruptable = 1; age = "UNKNOWN"; name = "SPAWNPOINT"; expCond = "(player distance SPAWNPOINT) < 10;"; expActiv = "hint ""You are in the clone room""; inSpawnPoint = true;};"; expDesactiv = "inSpawnPoint = false;"; class Effects{}; }; To change your spawn locations + map images go to Spaz_Spawn.sqf Altis_Map = "images\map1.jpg"; Statis_Map = "images\map2.jpg"; Bronholm_Map = "images\map3.jpg"; Chernarus_Map = "images\map4.jpg"; Altis_Spawn_North = [0,0,0]; Altis_Spawn_South = [0,0,0]; Altis_Spawn_East = [0,0,0]; Altis_Spawn_West = [0,0,0]; Altis_Spawn_Centeral = [0,0,0]; Statis_Spawn_North = [0,0,0]; Statis_Spawn_South = [0,0,0]; Statis_Spawn_East = [0,0,0]; Statis_Spawn_West = [0,0,0]; Statis_Spawn_Centeral = [0,0,0]; Bronholm_Spawn_North = [3516.31,17886.3,0.00151825]; Bronholm_Spawn_South = [15296.9,163.178,0.00105]; Bronholm_Spawn_East = [13281.8,12691.9,0.00137055]; Bronholm_Spawn_West = [792.478,7133.28,0.00152135]; Bronholm_Spawn_Centeral = [9367.02,8402.27,0.00139618]; Chernarus_Spawn_North = [0,0,0]; Chernarus_Spawn_South = [0,0,0]; Chernarus_Spawn_East = [0,0,0]; Chernarus_Spawn_West = [0,0,0]; Chernarus_Spawn_Centeral = [0,0,0]; Set up for Altis / Stratis / Bornholm / Chernarus BE Filters: Scipts.txt line #40 !"createdialog "spaz_spawn"; Scipts.txt line #53 !"(findDisplay 8332) displayAddEventHandler [\"KeyDown\",\"true\"];" Scipts.txt line #21 !="[] execVM "Spaz_Spawn.sqf";" Phantomkiller, Richie, Ghostrider-GRG and 5 others 8 Link to comment Share on other sites More sharing options...
sparrow8332 Posted April 22, 2015 Author Report Share Posted April 22, 2015 Added to github :-) Link to comment Share on other sites More sharing options...
ertatu Posted April 22, 2015 Report Share Posted April 22, 2015 Not understant dear... more details please friend Link to comment Share on other sites More sharing options...
sparrow8332 Posted April 22, 2015 Author Report Share Posted April 22, 2015 Not understant dear... more details please friend what more details do you want ? Link to comment Share on other sites More sharing options...
ertatu Posted April 23, 2015 Report Share Posted April 23, 2015 Dear friend, step for step for install if is possible dear friend please. Link to comment Share on other sites More sharing options...
Brian Soanes Posted April 23, 2015 Report Share Posted April 23, 2015 Should be Stratis and Bornholm Link to comment Share on other sites More sharing options...
pr0dukt Posted April 23, 2015 Report Share Posted April 23, 2015 Need a couple decent grid refs for north and south chernarus spawn points. too lazy to put out editor right now. =p Pretty cool system though. I was in the process of porting over a arma life spawn select system and adapting chernarus and bornholm to it, but I haven't had to the time to finish as of late. Link to comment Share on other sites More sharing options...
Totto005 Posted April 23, 2015 Report Share Posted April 23, 2015 what more details do you want ? Can you edit for Taviana? Please Link to comment Share on other sites More sharing options...
sparrow8332 Posted April 23, 2015 Author Report Share Posted April 23, 2015 Can you edit for Taviana? Please should be easier enough for you to do by using whats their as a copy / paste ref :-( but if you have issues let me know and will edit it for you :-) Link to comment Share on other sites More sharing options...
Salla Posted April 23, 2015 Report Share Posted April 23, 2015 I like it man.. well done. Nice and easy to install and works a treat. Had to add some BE filters, but very straight forward. sparrow8332 1 Link to comment Share on other sites More sharing options...
Salla Posted April 23, 2015 Report Share Posted April 23, 2015 Hmm.. at server reboot.. you get the dialog even though you are not a fresh respawn. Edit: actually. I'm imagining things. Link to comment Share on other sites More sharing options...
R4ziel Posted April 23, 2015 Report Share Posted April 23, 2015 Does anyone know the location of the Chernarus spawn points needed for this? Link to comment Share on other sites More sharing options...
ertatu Posted April 23, 2015 Report Share Posted April 23, 2015 Please, help me for install... any can help? Please steep to steep o more details for intall please :wub: Link to comment Share on other sites More sharing options...
Totto005 Posted April 23, 2015 Report Share Posted April 23, 2015 OK THX for info. I test today Link to comment Share on other sites More sharing options...
Salla Posted April 23, 2015 Report Share Posted April 23, 2015 BTW: Do the following full text replace in the spaz_spawn.sqf Bronholm to Bornholm (some spawns were spelt correct and some incorrect so didn't work.) Centeral to Central (only to correct spelling on this) Link to comment Share on other sites More sharing options...
sparrow8332 Posted April 23, 2015 Author Report Share Posted April 23, 2015 BTW: Do the following full text replace in the spaz_spawn.sqf Bronholm to Bornholm (some spawns were spelt correct and some incorrect so didn't work.) Centeral to Central (only to correct spelling on this) Doh lol thanks was late when i put this all together lol Link to comment Share on other sites More sharing options...
ertatu Posted April 23, 2015 Report Share Posted April 23, 2015 Ana say me a instruccions for install please¿ Not understand this Link to comment Share on other sites More sharing options...
sparrow8332 Posted April 23, 2015 Author Report Share Posted April 23, 2015 Ana say me a instruccions for install please¿ Not understand this if you don't understand this then maybe you shouldn't be modifying your mission file .. what exactly do you want to know about the install ?? Link to comment Share on other sites More sharing options...
R4ziel Posted April 23, 2015 Report Share Posted April 23, 2015 if you don't understand this then maybe you shouldn't be modifying your mission file .. what exactly do you want to know about the install ?? I can agree with that statement hehe. Is there an easy way of getting the co-ordinates for Chernarus? Link to comment Share on other sites More sharing options...
Richie Posted April 23, 2015 Report Share Posted April 23, 2015 I can agree with that statement hehe. Is there an easy way of getting the co-ordinates for Chernarus? I'm working on them now, give me 30 minutes to test Link to comment Share on other sites More sharing options...
R4ziel Posted April 23, 2015 Report Share Posted April 23, 2015 I'm working on them now, give me 30 minutes to test Sweet, im waiting XD Thanks dude Link to comment Share on other sites More sharing options...
ertatu Posted April 23, 2015 Report Share Posted April 23, 2015 I put in description.ext #include "spaz_spawn.hpp" I add a Sensor in my Mission.sqm class Item0 { position[] = {8886.766,102.1,9097.741}; //respawn_west Location a = 10; b = 10; activationBy = "ANY"; repeating = 1; interruptable = 1; age = "UNKNOWN"; name = "SPAWNPOINT"; expCond = "(player distance SPAWNPOINT) < 10;"; expActiv = "hint ""You are in the clone room""; inSpawnPoint = true;};"; expDesactiv = "inSpawnPoint = false;"; class Effects{}; }; But... Where i have to put the file onPlayerRespawn.sqf and file onPlayerRespawn.sqf ?? Link to comment Share on other sites More sharing options...
Salla Posted April 23, 2015 Report Share Posted April 23, 2015 You put the onPlayerRespawn.sqf in the root of your mission.pbo funnily.. I learnt exactly how onPlayerRespawn.sqf works for Arma3 as it shows the Bohemia wiki page as the first google link. From that page too, you can also find out what many other default files you can use in your missions. eg: onPlayerKilled.sqf, initPlayerServer.sqf, initServer.sqf, etc, etc.. This is all very valuable information if you want to be a server admin, coder, etc... As for the position[] for your sensor, be sure to get the correct coords from your actual mission.sqm under the section MARKERS, and its the respawn_west one. If the sensor is not on the correct clone room coords, the script wont fire when you spawn in the clone room. Link to comment Share on other sites More sharing options...
Richie Posted April 23, 2015 Report Share Posted April 23, 2015 This works but you can't choose your sex before the spawn points, so once you TP to the spawn it asks you to choose your sex and puts you back in the spawn room. Link to comment Share on other sites More sharing options...
Salla Posted April 23, 2015 Report Share Posted April 23, 2015 Strange..gender selection works fine for me before you get the spawn selection screen. 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