Jump to content
Sign in to follow this  
mmd6449

Can't disable stamina in Eden Editor

Recommended Posts

Hello folks. I'm new to Arma 3 as well as these forums. I'm in the process of creating my first mission in the Eden Editor and have run into a bit of a problem that I was hoping to get some help with. I have the "Remove Stamina" mod installed from the Steam Workshop and it runs just fine in story mode; but, for some reason, it doesn't want to work in the editor. Is there some option that I need to enable in order to get the editor to recognize my mods or does disabling stamina in the editor require an entirely different process that doesn't involve mods? I've found a couple of different tutorials on Youtube that suggest a couple of different methods for accomplishing this but none of them have worked for me. One video I watched said that deselecting the "Enable Stamina" checkbox inside the Eden Editor itself should work if you're creating a single player rather than multiplayer mission, which I am -- but it still hasn't worked. Another video suggested applying a simple script ("player enableStamina false;") to an individual save folder in the /Documents/Arma 3/missions directory under the file names "InitPlayerLocal.sqf" and "OnPlayerRespawn.sqf." The problem with this solution, as near as I can tell, is that I am unable to load the saved game to which the script was applied because the "load" button simply doesn't exist in the editor's pause menu. "Save" is there but "load" isn't -- which strikes me as kind of weird. 😕

 

In any case, if anyone knows of either a way to make any of the above methods work by adding additional steps that I may have missed or of an entirely different method that may work better, I'd appreciate the help.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

For something simple as this I don't recommend your using a mod, I prefer doing some coding/scripting to make something work and having a "cleaner" mission/scenario but nonetheless that mod should do exactly what it says without the need of activating anything. Does the mod work on the campaign or other scenarios of Arma? Maybe the mod is not loaded correctly.

 

Going for the scripting solution, you could start by trying to apply that code in the debug console in the editor pause menu: paste the code in the console, and press local exec:

"player enableStamina false"

Y5jeXfx.png

Sorry crappy res 😂

If this script does what you what, now it's time to see the best way to apply this to your mission, is this for a short time of your mission, after something happens or more easily, the whole mission?

Let's say it's for your whole mission, first create the mission on the editor and most important save it, for this example the map is good old Stratis and we name the mission "MyMission".

Then go to "Documents/Arma 3/missions" and search the folder corresponding to the name you saved your mission in the editor, a dot and the map in which the mission is, in this case the folder for our mission is "MyMission.Stratis".

Now, in this file is where you will have all your files, configs and scripts for this only mission, for now you should only have a mission.sqm that is the Arma 3 file for everything you have placed in the editor including triggers, modules, options, etc. So let's create in the mission folder a text document and add in the code "player enableStamina false;". 

This is our "init.sqf", similar to "InitPlayerLocal.sqf" but used in SP scenarios, this file automatically executes all the code inside at the start of the mission, and to wrap it up just save it as "init.sqf" (make sure you have file extension visible in file explorer) and with this, when you load up your mission in the editor and try it your player shouldn't run out of stamina anymore.

 

Another tip, in the launcher enable "showscripterror", this will enable Arma to help you figure out if there is anything wrong with your code.

 

Good luck!

Share this post


Link to post
Share on other sites

Thanks for the help but I think I figured out the problem myself. As it turns out, because I also have Ace 3 installed, its "Advanced Fatigue" feature was overriding my Remove Stamina mod. I found a patch on the Steam Workshop that disables this feature and now I no longer seem to be having the problem. The only reason why I clued into this in the first place is because I started playing in story mode and noticed that stamina was still active, so had to conclude that the problem wasn't with the editor at all. Anyway, it's all good now.

Share this post


Link to post
Share on other sites

You can remove stamina with ACE, no need for another mod.

 

see sig

Share this post


Link to post
Share on other sites
1 minute ago, Harzach said:

You can remove stamina with ACE, no need for another mod.

 

Oh really? Okay, cool. I'll definitely look into that.

 

On a totally unrelated subject, I don't suppose you know why I can't load saves within the editor, do you? As I said in my original post, there's no "load" option in the pause menu.

Share this post


Link to post
Share on other sites
Just now, mmd6449 said:

Oh really?

 

Actually, see the first line in my signature 😕

 

I could swear that used to be an option, but it appears it either wasn't or was removed.

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
Sign in to follow this  

×