Тёмный

How to Setup a Mobile Respawn in Your Scenario! 

Gunter Severloh
Подписаться 2,3 тыс.
Просмотров 4,7 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@excidium1991
@excidium1991 2 года назад
can i do multible markers with one respawnmkr.sqf? so imdoing 4 mobile HQ cars in my scenario with respawn markers on them. but for some reaso i can only get the first one to work like this. i just left a line free under the script and copied it 4 times with the names accordingly. but only the first one works.
@Gunter_Severloh
@Gunter_Severloh 2 года назад
Do the following, in the respawnmkr.sqf make your code look like this: while {true} do { //Moves base marker in the editor to position of vehicle every 5 seconds "Respawn_west" setmarkerpos getpos car; "Respawn_west_1" setmarkerpos getpos car1; "Respawn_west_2" setmarkerpos getpos car2; "Respawn_west_3" setmarkerpos getpos car3; sleep 5; }; Copy this line in the script -----> "Respawn_west" setmarkerpos getpos car; 3 more times like the above for the respawn west marker, then for the other cars, name them. You'll need to create 3 more markers, so copy the marker you have already that is named respawn_west and then paste it 3 more times, and you will get respawn_west_1 respawn_west_2 respawn_west_3 once you have that, then when you test in mp lan it will work, however you will respawn randomly at either of the vehicles, so what you want to do is the following: 1. Open a new notepad doc, and add the following code in it: respawnTemplates[ ] = {"MenuPosition"}; respawnOnStart = 0; 2. Save that and name the notepad doc ---> Description.ext dont misspell it! So test that, go and respawn and after you come back instead of respawning at one of the vehicles, the map will come up and you can choose which vehicle you want to respawn at by click on them. Understand?
@excidium1991
@excidium1991 2 года назад
@@Gunter_Severloh holy shit. Thank you! I learned that in the meantime by myself but i didnt expect anybody to put in that kind of effort to help:)
@excidium1991
@excidium1991 2 года назад
@@Gunter_Severloh you dont know how i could keep my scripts on the mobile hq for recruting ai and teleport to other mhq if it gets destroyed and respawns with a new name by any chance do you? ;)
@Gunter_Severloh
@Gunter_Severloh 2 года назад
@@excidium1991 Your welcome man, well i changed your mind ;) but thats just me i would go out of my way for fellow Arma fans!
@Gunter_Severloh
@Gunter_Severloh 2 года назад
@@excidium1991 What comes to mind is just add the script codes to each mobile respawn, then you'll have the option for each one your at.
@phantomfreak0813
@phantomfreak0813 Месяц назад
Thanks Gunter :) As always your videos are gold worth ^^
@Gunter_Severloh
@Gunter_Severloh Месяц назад
Welcome man, thanks!
@hamishmacpherson1720
@hamishmacpherson1720 2 года назад
Cheers mate, just what I was looking for!
@sergiowithlasers
@sergiowithlasers 2 года назад
"init.sqf" is fired by both server (upon server start) and client (upon client connection), so if 10 people join the server, this block of code would run on 11 instances. Since "setMarkerPos" has global effect, you'd be looking at 11 global changes at asynchronous times (because clients come and go at any time). That's too much unnecessary network traffic and a waste of client performance (as little as it is). One solution would be to run the code ONLY on server. For that, ditch "init.sqf" and use "initServer.sqf", this file fires ONLY on server (on server start).
@Gunter_Severloh
@Gunter_Severloh 2 года назад
Thanks for that insight!
@AirspaceProductions
@AirspaceProductions 2 года назад
@@Gunter_Severloh Following up on this as well. Running both server and clientside (init.sqf) creates some undesirable effects when vehicles are anything but driven. Teleported, sling loaded, etc vehicles will not update marker pos, and thus the marker gets stuck at the last driven position. Running only on server side (initServer.sqf) does not have these issues.
@Gunter_Severloh
@Gunter_Severloh 2 года назад
@@AirspaceProductions Good to know, thanks for the feedback, the video was through mp lan demonstration, so for a dedicated then ideally initserver.sqf should be used instead.
@dunklik6089
@dunklik6089 6 месяцев назад
Hey buddy - It seems we cross path every so often 😂. I was wondering if you knew how to make the respawn happen as passenger rather than next to it. I'm working on a D-day airborn op and I want players to respawn directly inside the c-47. Any idea?
@Gunter_Severloh
@Gunter_Severloh 6 месяцев назад
Hey man, try this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yF3dyC3ZQF8.html
@PVT_Barry
@PVT_Barry Год назад
I figured it out.....I named my HEMTT transport "mobile_spawn_west_1" and synced the multiplayer respawn module with name "respawn_west" (configured for the correct side) to this unmanned HEMTT, then put in the vehicle init field of the HEMTT: "respawn_west" setMarkerPos position mobile_respawn_west_1; This will then show the vehicle spawn location in MCC4, as well as move it around and show the position on the map with a default marker type for infantry respawn. MCC shows MCC FOB and Main using that same marker type (placed by the MCC module Start Location then set as FOB or Main). Anyway, thanks for this video, as I would never had figured out the scripting and how to make it move with vehicle without it! Thanks! Still not sure if I can do this with a second mobile spawn, but going to try it with another multiplayer respawn and name it "respawn_west_2" and use another HEMTT named "mobile_respawn_west_2" and set similar script in init field.
@Gunter_Severloh
@Gunter_Severloh Год назад
Cool, as for a second mobile spawn i had answered this in the bottom comment.
@PVT_Barry
@PVT_Barry Год назад
Awesome! Thanks!
@drunkenofficer
@drunkenofficer Год назад
1: What's happend, when your car get dammaged and get killed? Car is not aviable anymore. True runs all the time. Better while {alive car}. This stop the code, if car is killed. 2: setMarkerPos can handle by server, it's a globale effect. Use initserver.sqf instead init.sqf 3: You dont need a own file for this an load it with exec. You can put this line directley in the initserver.sqf
@Gunter_Severloh
@Gunter_Severloh Год назад
Already know all this, as suggested in the previous comments, but as per video when i recorded this is what i knew how to do, so as you know theres many ways to do something in Arma, theres many ways to do things more efficiently too, so i thank you for your suggestions. Hopefully others that know about coding and such better then i can adjust or set it up accordingly.
@arma3missions467
@arma3missions467 2 года назад
.Thank you for your contribution to the ARMA community PLAYING ARMA 2 try to edit a landing mission persistently (cyclic). For which I needed the AI and the player to respawn in the landing boats, these boats also had to spawn at a point far from the beach. I never achieved this goal, you know how. Try the same with airborne traps. I found in ARMAHOLIC ♥♥♥, a mission where the players respawned on the plane in flight, but not the AI. Do you know how to achieve something like that?
@Gunter_Severloh
@Gunter_Severloh 2 года назад
Hi thanks, i know how to do it for the player but not ai, i would suggest taking a look at my AI compilation list, under AI spawn & respawn category and see if there is anything there that can help, or even some of the other categoriesforums.bohemia.net/forums/topic/165560-ai-compilation-list-of-addonsmodsscripts-threads-for-arma3/
@arma3missions467
@arma3missions467 2 года назад
@@Gunter_Severloh OK, thanks a lot. "Hello thanks, I know how to do it for the player", by any chance have you made a scenario with this feature? On the other hand, I have seen your list before mind. I will check it again, thanks
@Gunter_Severloh
@Gunter_Severloh 2 года назад
@@arma3missions467 Sorry for not getting back to you sooner, im only just seeing your comment now, im not getting notifications of 2ndary comments for some reason, anyways no i haven't created any missions using it.
@QueenGreyClouds
@QueenGreyClouds Год назад
Any ideas why my vehical keeps Respawning when I die like it just resets back to default location
@Gunter_Severloh
@Gunter_Severloh Год назад
That depends on what you setup in your mission, as i demonstrated in the video the respawn only works with a marker with a variable name you set for the side your on, in my case it was blufor side i was on and the variable will be respawn_west the car will be named car unless you named it something else and defined that in the code in the script. Nothing should happen to the vehicle if and when it did get destroyed it wont respawn because there is no respawn set for a vehicle. Can you link your mission to download and i can check it out?
@QueenGreyClouds
@QueenGreyClouds Год назад
@Gunter Severloh yes I can here is google drive link drive.google.com/drive/folders/1Ztcys1NT17TjCbgylplKWLSt3VLTSyxu?usp=share_link
@Gunter_Severloh
@Gunter_Severloh Год назад
@@QueenGreyClouds Thanks, i'll take a look at it and get back to you on it soon!
@Gunter_Severloh
@Gunter_Severloh Год назад
@@QueenGreyClouds Although i didn't have all the mods, like vtx and some others, i had all the cup, ace enough to load the mission. From what im seeing is your vehicles that you have setup to be mobile spawns are also setup to vehicle respawn modules, best to just disable damage on those vehicles.
@Kelvyn_P
@Kelvyn_P Год назад
Is it possible to have more than 1 mobile respawn?
@Gunter_Severloh
@Gunter_Severloh Год назад
Read the bottom comment another person already asked this about 4 mobile respawns and i did the code there, so yes its possible.
@superfish4603
@superfish4603 Год назад
Or you just create a Respawn Module and sync it to a vehicle. No code invovled, works for multiple vehicles and is done in 10 seconds.
@Gunter_Severloh
@Gunter_Severloh Год назад
Cool, i like that idea will try it thanks for the suggestion!
@sixbytes6362
@sixbytes6362 Год назад
WHERE WERE YOU 4 MONTHS AGO WHEN I NEEDED THIS
@Gunter_Severloh
@Gunter_Severloh Год назад
@@sixbytes6362 Not where you were looking, lol
@sixbytes6362
@sixbytes6362 Год назад
@@Gunter_Severloh xD
@frostsoap5735
@frostsoap5735 Год назад
Hi Guy add virtual arsenal, vehicles ??
@Gunter_Severloh
@Gunter_Severloh Год назад
So your asking you want to add the ability to access virtual arsenal to a vehicle that has mobile respawn setup for it? If thats what your asking then go to this video and get the code for virtual arsenal, and just add the code to the vehicle's init box. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YlcQAS97YAc.html
@jamesread4469
@jamesread4469 Год назад
followed to the T, but still having problems, HELP PLEEEEEEASE
@Gunter_Severloh
@Gunter_Severloh Год назад
What issues are you having?
Далее
How to Setup the Support Modules!
21:03
Просмотров 8 тыс.
Arma 3 Editor | Players & Vehicle Mobile Respawn
12:30
Меня знают уже все соседи😅
00:34
What’s your height?🩷🙀💚
00:59
Просмотров 3,6 млн
Arma 3 Editor | ALiVE Mod MIssion Setup
40:33
Просмотров 17 тыс.
What does multiplayer Papers Please look like?
33:55
Просмотров 294 тыс.
How to setup the Eden Editor Respawn Position Module!
13:06
Setup AI in Your scenario to Hunt the Player!
9:36
Просмотров 4,7 тыс.
Arma 3 Respawn Tutorial | Eden Editor
6:28
New Useful Scripts for ARMA 3 Zeus by Crub
6:43
Просмотров 1,1 тыс.
Arma 3 Editor | MP Respawns Done Right
11:59
Просмотров 6 тыс.