Jump to content
Violt

Respawn Menu Loadouts

Recommended Posts

Hey guys, i'm working on a mission. 

But i want to have multiple types of roles and types of loadouts that you can choose within the roles.

I am using the standard Arma 3 Respawn Menu. 

Anyone knows how to do this?

 

Thanks!

Share this post


Link to post
Share on other sites

Everything u need is here. Define roles & respawn inventories in description.ext and you're done. Add to units/sides/groups with this. It's pretty simple.

edit: wrong link xd

Share this post


Link to post
Share on other sites
  On 4/29/2018 at 10:41 AM, Floof said:

Everything u need is here. Define roles & respawn inventories in description.ext and you're done. Add to units/sides/groups with this. It's pretty simple.

Can't really get it to work. 

I have multiple respawns and i want players to be able to select them not to random respawn on them. 

Share this post


Link to post
Share on other sites
  On 4/29/2018 at 11:48 AM, Violt said:

Can't really get it to work. 

I have multiple respawns and i want players to be able to select them not to random respawn on them. 

The info on how to do this is on the wiki page linked by @Floof.

If you can't get it to work post a snippet of what doesn't work.

 

Cheers

Share this post


Link to post
Share on other sites
  On 4/29/2018 at 12:11 PM, Grumpy Old Man said:

The info on how to do this is on the wiki page linked by @Floof.

If you can't get it to work post a snippet of what doesn't work.

 

Cheers

I have no idea what to do tbh. 

Here's my mission atm. 

What do i need to add and where? 

https://drive.google.com/drive/folders/12YMAsAiVKdt4uaCjmVWzo7xmKlG8X7gc?usp=sharing

Share this post


Link to post
Share on other sites
  On 5/9/2018 at 4:52 PM, Harzach said:

You built that mission yet have no idea what to do?

 

Well he's execVMing empty .sqf files from the init.sqf and doing stuff like "for '_i' from 0 to 1 step 0 do", so there's that.

Most likely in way over his head, heh.

 

@Violt

Does your mission absolutely need this kind of functionality?

If you're new to arma scripting it's better to take small, simple steps to reach your goal.

Nothing wrong with loadout selection during mission runtime.

 

Cheers

  • Haha 2

Share this post


Link to post
Share on other sites
  On 5/9/2018 at 5:05 PM, Grumpy Old Man said:

 

Well he's execVMing empty .sqf files from the init.sqf and doing stuff like "for '_i' from 0 to 1 step 0 do", so there's that.

Most likely in way over his head, heh.

 

@Violt

Does your mission absolutely need this kind of functionality?

If you're new to arma scripting it's better to take small, simple steps to reach your goal.

Nothing wrong with loadout selection during mission runtime.

 

Cheers

Yes it does need the system.

 

Share this post


Link to post
Share on other sites

i only haven't implemented the Respawn loadouts yet. Thats why i bumped. i have no idea of what i am doing wrong

Share this post


Link to post
Share on other sites

 

  On 5/9/2018 at 5:05 PM, Grumpy Old Man said:

 

Well he's execVMing empty .sqf files from the init.sqf and doing stuff like "for '_i' from 0 to 1 step 0 do", so there's that.

Most likely in way over his head, heh.

 

@Violt

Does your mission absolutely need this kind of functionality?

If you're new to arma scripting it's better to take small, simple steps to reach your goal.

Nothing wrong with loadout selection during mission runtime.

 

Cheers

The reason why i need the respawn menu with the loadout is for the player to select their rank. And if you are an let say an lt you are able to call in attilery strikes. You won’t as a recruit. The code to select a rank depending on the loadout role you select is already made and should work. If this doesn’t work i need to find another wat for the player to be able to select their rank. 

Share this post


Link to post
Share on other sites
  On 5/11/2018 at 11:39 PM, Violt said:

i only haven't implemented the Respawn loadouts yet. Thats why i bumped. i have no idea of what i am doing wrong

 

So it doesn't work but you haven't implemented it yet?

 

  On 5/11/2018 at 11:55 PM, Violt said:

 

The reason why i need the respawn menu with the loadout is for the player to select their rank. And if you are an let say an lt you are able to call in attilery strikes. You won’t as a recruit. The code to select a rank depending on the loadout role you select is already made and should work. If this doesn’t work i need to find another wat for the player to be able to select their rank. 

 

And this selection absolutely has to happen during respawn?

Again if I understood this right, you made the code and it should work but you only state what to you're doing if it doesn't work.

How about stating what exactly doesn't work?

Does it work from debug console?

Does it work in SP but not in MP/dedicated?

 

The mission you linked to has no single file pointing to something like a custom reload script, initPlayerLocal.sqf and onPlayerRespawn.sqf are both empty.

If you need someone to make the script for you you'll better post in a more appropriate forum.

 

Cheers

 

Share this post


Link to post
Share on other sites
  On 5/12/2018 at 5:44 AM, Grumpy Old Man said:

 

So it doesn't work but you haven't implemented it yet?

 

 

And this selection absolutely has to happen during respawn?

Again if I understood this right, you made the code and it should work but you only state what to you're doing if it doesn't work.

How about stating what exactly doesn't work?

Does it work from debug console?

Does it work in SP but not in MP/dedicated?

 

The mission you linked to has no single file pointing to something like a custom reload script, initPlayerLocal.sqf and onPlayerRespawn.sqf are both empty.

If you need someone to make the script for you you'll better post in a more appropriate forum.

 

Cheers

 

With not implemented yet i mean not working yet. So that feature is not in the mission yet. 

I just need to know step by step what i need to do. As the link you sended me isn't giving me enough help. 

Share this post


Link to post
Share on other sites
  On 5/12/2018 at 11:19 AM, Violt said:

With not implemented yet i mean not working yet. So that feature is not in the mission yet. 

I just need to know step by step what i need to do. As the link you sended me isn't giving me enough help. 

 

Well the mission you posted might as well be a default mission template with most of the files being empty.

@Floof already posted the wiki containing all needed info on how to implement a respawn system with multiple selectable positions.

If this is over your head you can ask someone to script it for you, hence my link to the find or offer editing forum.

 

Maybe I misunderstood but what exactly was the purpose of uploading the mission, if the stuff you need help with isn't even in the mission?

 

Cheers

 

Share this post


Link to post
Share on other sites
  On 5/12/2018 at 11:45 AM, Grumpy Old Man said:

 

Well the mission you posted might as well be a default mission template with most of the files being empty.

@Floof already posted the wiki containing all needed info on how to implement a respawn system with multiple selectable positions.

If this is over your head you can ask someone to script it for you, hence my link to the find or offer editing forum.

 

Maybe I misunderstood but what exactly was the purpose of uploading the mission, if the stuff you need help with isn't even in the mission?

 

Cheers

 

Hey i got it to work atleast the loadout.

But now i can't choose where to spawn. What do i do? 

I was able to choose to respawn at first.

 

 

Share this post


Link to post
Share on other sites
  On 5/12/2018 at 11:45 AM, Grumpy Old Man said:

 

Well the mission you posted might as well be a default mission template with most of the files being empty.

@Floof already posted the wiki containing all needed info on how to implement a respawn system with multiple selectable positions.

If this is over your head you can ask someone to script it for you, hence my link to the find or offer editing forum.

 

Maybe I misunderstood but what exactly was the purpose of uploading the mission, if the stuff you need help with isn't even in the mission?

 

Cheers

 

Hello again, 

 

I have my respawn points back. And i have 1 loadout but thats the standard units loadout and not the one that is in my class CfgRespawnInventory

Could you please help me? 

Share this post


Link to post
Share on other sites

"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime"

Others HAVE been offering help. What they will NOT do is make your mission for you. Please take the time to read through the Wiki and resources like Gunter's  .

Additionally, please take advantage of the 17 or so years of combined knowledge here on the forums. Read the posts, frequently refer to the wiki and suitable for most questions, use your favourite search engine. All of this is preferable to making multiple posts/threads. 

Thanks

  • Like 1

Share this post


Link to post
Share on other sites

Found out for this to work. 

It took me about 1 hour searching on google and it finally worked. 

I'm pretty new to scripting so i do not understand everything. 

Share this post


Link to post
Share on other sites

For anyone who stumbles accross this thread and wonders, jesus... Will anyone just throw up an easy simple answer and move on. Here it is:

 

in your description.ext copy and paste the section under "CfgRespawnInventory"

 

via this page: https://community.bistudio.com/wiki/Description.ext

 

ALSO

 

copy and paste this into your init.sqf

 

[west, "Blufor1"] call BIS_fnc_addRespawnInventory;

 

found here: https://community.bistudio.com/wiki/BIS_fnc_addRespawnInventory

 

*Notice that the [west, "Blufor1"] call BIS_fnc_addRespawnInventory;

 

class CfgRespawnInventory {

 

                class Blufor1 {

 

in the description.ext

 

... you are defining the class Bulfor1 in the inti.sqf and calling it via the description.ext

 

-Happing coding everyone

 

 

  • Like 1
  • Thanks 3

Share this post


Link to post
Share on other sites

Alright. Let's cut the shit and keep this simple.

 

1. Open the editor and choose a map of your choice.

2. Place a marker. Right-click the marker and select "Attributes" . In the following menu type "respawn_West" (without the quotation marks) in the "Variable Name" field.

3. Place a "BLUFOR" unit. It will be playable by default, but you can also go into its attributes and ensure that it is playable under the "Object: Control" tab. (You can select any unit type you like, but it's simpler to select from the "Men" category.

4. Paste the following into your Description.ext.

  Reveal hidden contents

 

5. Paste the following into a file named initPlayerLocal.sqf

 

  Reveal hidden contents

 

6. Test the mission by hosting a local server (LAN).

 

This will give you a Multiplayer Respawn menu with four "Roles", and a variety of "Loadouts". You can go into the "Description.ext" and tinker around with the various "Loadouts" and add or remove them via the "initPlayerLocal.sqf" file.

 

Like some have mentioned; You will need to do your homework if you want to get the results you're looking for. 

 

I recommend reading everything you can on the following links and try to understand how they are connected to each other.

 

Arma 3 Respawn

 

Description.ext

 

Share this post


Link to post
Share on other sites
  On 9/6/2020 at 4:07 PM, Solidsnacks said:

Alright. Let's cut the shit and keep this simple.

 

1. Open the editor and choose a map of your choice.

2. Place a marker. Right-click the marker and select "Attributes" . In the following menu type "respawn_West" (without the quotation marks) in the "Variable Name" field.

3. Place a "BLUFOR" unit. It will be playable by default, but you can also go into its attributes and ensure that it is playable under the "Object: Control" tab. (You can select any unit type you like, but it's simpler to select from the "Men" category.

4. Paste the following into your Description.ext.

  Reveal hidden contents

 

5. Paste the following into a file named initPlayerLocal.sqf

 

  Reveal hidden contents

 

6. Test the mission by hosting a local server (LAN).

 

This will give you a Multiplayer Respawn menu with four "Roles", and a variety of "Loadouts". You can go into the "Description.ext" and tinker around with the various "Loadouts" and add or remove them via the "initPlayerLocal.sqf" file.

 

Like some have mentioned; You will need to do your homework if you want to get the results you're looking for. 

 

I recommend reading everything you can on the following links and try to understand how they are connected to each other.

 

Arma 3 Respawn

 

Description.ext

 

 

Hello, how do I save AI's custom equipment? I command a group of 6 iA and they all respawn with the standard equipment after they die.

Share this post


Link to post
Share on other sites

How exactly are you spawning/ respawning them? If you have an example I might be able to help.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×