ArmA 3 Editor - Respawn Loadouts Menu

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025
  • In response to a question from Antti Juva, here is a quick once over on the respawn inventory using bis_fnc_addRespawnInventory. Links to files at bottom.
    This also did some custom loadouts and added and removed the trait for a medic. Tested and working in Multi-Player.
    description.ext: • ArmA 3 Editor - Respaw...
    mission attributes: • ArmA 3 Editor - Respaw...
    onPlayerRespawn.sqf: • ArmA 3 Editor - Respaw...
    custom loadouts: • ArmA 3 Editor - Respaw...
    function usage: • ArmA 3 Editor - Respaw...
    **NOTE: THE SCOPE OF THE FUNCTION IS DETERMINED BY THE TARGET!
    Here is the scripts: www.tacticalga...
    Here is the mission files: steamcommunity...
    "This video was created using content of Bohemia Interactive a.s."
    "Copyright © 2017 Bohemia Interactive a.s. All rights reserved."
    "See www.bistudio.com for more information."

Комментарии • 56

  • @activemarii3657
    @activemarii3657 8 лет назад

    Omg i just wanna thank u :) i have spent 3 exact days trying to get this to work...i have looked at some many documents and yet i still couldn't get it...BUT now everything is working perfectly thanks to u :)

  • @JFXAM
    @JFXAM 2 года назад +2

    This video is outdated.
    The point of the respawn menu is to show players what gear they'll be getting, and this method does not accurately represent the actual loadout you'll get.
    The respawn section on the BI wiki explains how to get custom loadouts and roles to work propperly. Granted its a bit more time consuming since you cant just import the loadout straight from the arsenal, but it's a simpler method overall.
    Edit: Control+Shift+C will export the loadout with the propper format!

    • @chrisrotvega1646
      @chrisrotvega1646 Год назад +1

      I may be 11 months late but thank you very much for your edit it cut down my time making my mission tremendously

  • @SayUnkl
    @SayUnkl  8 лет назад +3

    Whoops, commenting was disabled by mistake.

  • @_Krush
    @_Krush 7 лет назад

    Awesome video and great info. Thank you!

  • @FulgurNaturae
    @FulgurNaturae 8 лет назад

    Helped a lot as usual!!

  • @casiofin4136
    @casiofin4136 8 лет назад

    Thank you for that. This helped a lot.

    • @SayUnkl
      @SayUnkl  8 лет назад

      community.bistudio.com/wiki/Arma_3_Respawn Expand the example description.ext in the Menu Inventory row for another way to add the gear.

  • @coreywright5503
    @coreywright5503 2 года назад

    what are the settings you use on notepad++. i keep importing the loadout but it only shows up on 1 line, any help would be greatly appreciated

  • @chariothe9013
    @chariothe9013 2 года назад

    Idk why but when i enter the game my character change the optic to normal one red dot sight. Even though i respawned with DMS.

  • @greencrystals9022
    @greencrystals9022 2 года назад

    Are you still responding to comments? because ive been having issues trying to get JIP to work. everytime someone joins midgame the loadouts get all jumbled and people seem to get another loadout

  • @Pivler
    @Pivler 6 лет назад +1

    In the onPlayerRespawn.sqf file is there a way of looking for other items other than in "_playersWeapons" or "_playersBackpackItems", such as in their vest or whatever?

  • @IMakeMusicProductions
    @IMakeMusicProductions 3 года назад +1

    can you do an updated video since this would be outdated ?. i'm sure BI has changed some code base since 2017.

    • @SayUnkl
      @SayUnkl  3 года назад

      Honestly not likely to revisit this one. I bet you are right though. I may be just worrying about some new content and maybe I should spend an afternoon removing some of this older stuff. The basics should still be the same? I'll look at this video on the weekend with any luck.

  • @drgonzo762
    @drgonzo762 7 лет назад

    a tip i just learned using bis arsenal ctrl + shift + c will copy loadout in CPP format to use with bis respawninventory in the description.ext :)

    • @SayUnkl
      @SayUnkl  7 лет назад +1

      Sweet catch! Thanks!

    • @drgonzo762
      @drgonzo762 7 лет назад

      SayUnkl it doesn't seem to work fully tho uniform doesn't load nor any weapon Items, it only loads the base weapon? So I had to make an external script to load an arsenal loadout based on the weapon that loaded with the classes I had made.

  • @payden0_086
    @payden0_086 5 лет назад

    I keep getting this respawn screen and I set it up so when you die you switch to another playable character and it's not working I need help

  • @AllegedAccomplice
    @AllegedAccomplice 7 лет назад

    class CfgRespawnInventory this is at the start of the description ext would I just make it class CfgRespawnInventory west or east to define stuff for multiplayer

  • @chop1116
    @chop1116 8 лет назад

    Any info or help on creating a working teleport function in the Eden Editor? I see how you can do it in Zeus, in-game. But I'm looking for information on making a working teleport to 3 different locations in the Editor. For a multi-player scenario. Thanks.

    • @SayUnkl
      @SayUnkl  8 лет назад

      ruclips.net/video/-2h8ic5Rj1w/видео.html Try that out. It is the same in the Eden editor.

    • @chop1116
      @chop1116 8 лет назад

      Will do. Thanks. I've set down flagpoles as objects, used an sqf that I'd read about, but couldn't get it to work. I will check your link out.

  • @MultiRacinger
    @MultiRacinger 8 лет назад

    Hi! First of al thanks for the video! I have a small problem i set up everything but when i respawn i do not see my custom loadout at the loadout selection, for example squad leader. After respawn i always get the basic rifle stuff.

    • @SayUnkl
      @SayUnkl  8 лет назад +1

      If you set up the custom kits the way I did here using the onPlayerRespawn.sqf then you will only see the basic gear in the respawn menu...but you should get the custom gear when you respawn back in game. It is a shame that you don't see the accurate gear in the list, but from what I could see there is some functions that description.ext are using that I have not found documentation for. I did link that method below for Antti Juva.
      If you mean that you respawn and still only have the basic gear then there must be something you missed along the way. Like renaming the "_this" from the arsenal scripts to either "_unit" or "player".

    • @MultiRacinger
      @MultiRacinger 8 лет назад

      Thanks! I figured it out. One more queistion. What should i do if i want
      to see my custom loadout in the respawn menu and is it possible to
      limit roles? I mean if AT soldier spawned then no more players are able
      to choose AT role until he alive.

    • @GlomorianPeacock
      @GlomorianPeacock 7 лет назад

      I have had the same, do you care to elaborate on how you solved the issue?

  • @SilverTheBullet
    @SilverTheBullet 2 года назад

    So where can I copy these scripts?

  • @Flanponos
    @Flanponos 6 лет назад

    "error undefined variable in expression: _playerrole" can you help me out? I stayed up until 6am trying to figure this out, I'm using custom mods so that may be the issue.

  • @Violt_
    @Violt_ 6 лет назад

    Hey, my Roles and my Loadout name are all called Rifleman i want it to be Player how do i do this?

  • @chariothe9013
    @chariothe9013 2 года назад

    Ok, i was able to do it, just follow the basic one(not the vehicle), all excess items will automatically be put into unit’s backpack and this video is outdated it doesn’t work anymore.

  • @pedro17444
    @pedro17444 7 лет назад +1

    how use it, but not on start of mission ? just after u die the first time

    • @SayUnkl
      @SayUnkl  7 лет назад +1

      You have to force respawn when you first join the mission. If you have "Choose Repsawn Position" chosen in the MP attributes and in your description.ext make sure you don't have a line that says respawnOnStart = -1 ---- then you should be good. You also need a respawn position create by either a Respawn Module or BIS_fnc_addRespawnPosition I think.

    • @pedro17444
      @pedro17444 7 лет назад

      thank you ! I add line "respawnOnStart = 0;" in description.ext.

    • @pedro17444
      @pedro17444 7 лет назад

      now the role and loadout: " ... unspecified an will be chosen automatically" help please ?!

    • @drgonzo762
      @drgonzo762 7 лет назад

      AlaskaBR Be sure you have the mission setup to select loadout on respawn I had made this mistake when making my respawn loadout script for a sp bf2-3 style conquest game i made. Missed that and almost threw out a functioning script because i didn't choose that option...smh

  • @lordleif1
    @lordleif1 7 лет назад

    What about if you have 2 factions?

  • @purplespecter
    @purplespecter 8 лет назад

    I don't have the initPlayerLocal file. Is this the reason why it doesn't work ?

    • @SayUnkl
      @SayUnkl  8 лет назад

      I think you certainly would need to create it. It is a file that will run for each connected client if you create it. It is a much easier way that using the "if !(isServer)" statements in the init.sqf file.

    • @purplespecter
      @purplespecter 8 лет назад

      Ok, I have made a mistake with the extensions of the scripts. It now works, except that for each of the four classes, I spawn with the same loadout "sniper.sqf". And when I try to delete the line "_playerRole = "sniper" " in the onPlayerRespawn.sqf file, which initializes the player to a certain class, it doesn't work anymore. What should I do to have my 4 classes available on the respawn screen ?

    • @SayUnkl
      @SayUnkl  8 лет назад

      If you change the loadout kits you start with you will need to find unique pieces of gear that each would have in order to determine which loadout they had chosen. There are other ways of finding this out but this is the way I used for this script. A squad leader has binoculars and none of the other loadouts I chose to create did. So what rifle does you basic sniper spawn in with that is unique to your 4 loadout choices?
      Find the classnames for those objects and substitute them in the "if then" statements that set what loadout script should run for each of them.

    • @purplespecter
      @purplespecter 8 лет назад

      I figured it out ! Thanks for the advice !

  • @zahidcan
    @zahidcan 7 лет назад

    I've mixed both of the scripts and I made a script where when you spawn you get only what I gave you I mean the modder gave you :D

    • @SayUnkl
      @SayUnkl  7 лет назад

      Cool, glad it worked for ya.

  • @Fatal_Inertia
    @Fatal_Inertia 2 года назад

    This is too much work lol isn't there an easier way? 😅

  • @BlackBirdAter
    @BlackBirdAter 2 года назад

    I could find the scripts for the life of me... so confusing!

  • @Kintepro
    @Kintepro 7 лет назад

    this shit is so goddamn glitchy, I've got blufor loadouts showing up for opfor for absolutely no fucking reason. Nowhere are they called for the EAST side...

    • @SayUnkl
      @SayUnkl  7 лет назад

      It might not be possible to use this for different sides in the same mission. I wouldn't really want to since a Team vs Team usually requires a lot more control on how many of any one type of kit is out there. Like you don't want to go up against a full team of grenadiers or AR's. So, you would want a different solution overall.

    • @Kintepro
      @Kintepro 7 лет назад

      I ended up getting it to work right after i made that comment haha. I'm making an endgame mission, so it will fit well. Each team has special loadouts available, but they are limited to one or two. Anyone can be a rifleman, engineer, or cls.

    • @SayUnkl
      @SayUnkl  7 лет назад

      Ohhh...I likey. May have to hit you up when I set this up :)

    • @Kintepro
      @Kintepro 7 лет назад

      Hey if you are into endgame, its called "End Game Negades". Just recently published it. Of course, it probably needs balancing work since I am only one person and can't fully test it. but you're more than welcome to check it out. I'm upgrading my internet soon so I'm currently trying to figure out if I'll be able to put a server up for it.

    • @mikejvlogs7250
      @mikejvlogs7250 7 лет назад

      +SayUnkl Where do you save all the script files ect ? in your Mission Folder ?.

  • @payden0_086
    @payden0_086 5 лет назад

    I keep getting this respawn screen and I set it up so when you die you switch to another playable character and it's not working I need help

    • @floppy401
      @floppy401 5 лет назад

      It only works in multiplayer.