mxstylie
Member-
Content Count
9 -
Joined
-
Last visited
-
Medals
Community Reputation
11 GoodAbout mxstylie
-
Rank
Private
Profile Information
-
Gender
Not Telling
-
Hello, First off thank you for the mod. I am running many of your modules on Taviana with great results. Question: Does anybody know how to have the lootspawn script re-initialize every time you load a saved multiplayer mission? Any help would be appreciated and thanks again for the awesome modules.
-
if (is server) then question
mxstylie replied to mxstylie's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you guys for the direction, I got them both running together like this: enableSaving [FALSE,FALSE]; waitUntil {time > 0}; execVM "statSave\saveFuncs.sqf"; waitUntil {!isNil "saveFuncsLoaded"}; if(isServer) then { _serverHasID = profileNameSpace getVariable ["ss_ServerID",nil]; if(isNil "_serverHasID") then { _serverID = str(round((random(100000)) + random 10000)); profileNameSpace setVariable ["SS_ServerID",_serverID]; }; serverID = profileNameSpace getVariable "ss_ServerID"; publicVariable "serverID"; }; waitUntil {!isNil "serverID"}; if(!isDedicated) then { execVM "statSave\loadAccount.sqf"; execVM "statSave\saveLoop.sqf"; }; if (isServer) then { fn_crashdrop = compile preprocessFile "fn_crashdrop.sqf"; [2] call fn_crashdrop; }; -
if (is server) then question
mxstylie replied to mxstylie's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks davidoss for the description. When I remove isDedicated, no matter if I run from the editor or from the multiplayer , the save scripts doesn't run. When I add isDedicated back in, I spawn in my location with my loadout. -
if (is server) then question
mxstylie replied to mxstylie's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for answering the question. There is no reason at all that I am using isDedicated. I just copied the script from here https://forums.bistudio.com/topic/149167-addon-free-stat-save-system-script/ it worked right away so I figured I would leave it alone. Maybe this is my problem? I will try to remove isDedicated from the script and see if I can then run the heli crash script. -
-
Addon-Free Stat Save System [Script]
mxstylie replied to zooloo75's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys, I have noticed some of the same errors as a few other people. The primary weapon's magazine is not saved, the pistol's magazine is also not saved. All guns are deleted out of backpacks and many other items are moved to the chest rig (I am assuming the guns are being moved as well and since they don't fit in the chest rig they are deleted). I also am new to scripting so any big worded response is going to fly over my head. Any help would be appreciated though because this script is awesome. Thanks. -
if (is server) then question
mxstylie replied to mxstylie's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I've tried a few different combinations and still can't seem to get both of these scripts working at the same time. I went back to just using the player data save stuff as it is the most important at this point. Any other help/ideas would be appreciated. If not no worries and thanks for reading my post. -
if (is server) then question
mxstylie replied to mxstylie's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you for the reply. I suppose I should have mentioned that I am running this MP mission on my computer and friends are connecting to my game. When I tried running an initServer.sqf with the scripts it did not load the players saved data, so I assumed the heli was not working either. I went back to my original init.sqf and the data was still there and players are able to join with their gear position etc. When I had the Heli script running before the save script the save script was not working. I now have the save scripts running before the Heli script and it is working fine. I'm going to test and see if the heli is spawing. I basically just pasted the entire heli script from above right below the save script in the init.sqf. Thanks again for the help I really appreciate it, I am new to this. -
Hello, Can you have more than one if(isServer) then in your init, or does everything need to go between (in) the same one? I am asking because I was running a heli crash/drop script and it is working great, I wanted to add player save data (position, loadout etc) for my MP mission. I can only get the player save data scripts to work when I remove the heli crash/drop script. Both use the if(isServer) then command. Both work great on their own I think I just nee help putting them together. Thanks. Save Script init: enableSaving [FALSE,FALSE]; //ADD THIS TO YOUR MISSION'S INIT FILE waitUntil {time > 0}; execVM "statSave\saveFuncs.sqf"; waitUntil {!isNil "saveFuncsLoaded"}; if(isServer) then { _serverHasID = profileNameSpace getVariable ["ss_ServerID",nil]; if(isNil "_serverHasID") then { _serverID = str(round((random(100000)) + random 10000)); profileNameSpace setVariable ["SS_ServerID",_serverID]; }; serverID = profileNameSpace getVariable "ss_ServerID"; publicVariable "serverID"; }; waitUntil {!isNil "serverID"}; if(!isDedicated) then { execVM "statSave\loadAccount.sqf"; execVM "statSave\saveLoop.sqf"; }; //======================================================================== Heli Script init: //ETG Heli Crash And Drop Script if (isServer) then { fn_crashdrop = compile preprocessFile "fn_crashdrop.sqf"; [2] call fn_crashdrop; };
-
I just wanted to say something about the update without creating a completely new thread. I read through many of the posts and it seems that this thread is mostly about the sound. I just wanted to point out something else that has me confused about this update since this thread is about "sounds/system update". I have played about 15 hours since I purchased the new weapon pack and updated my Arma 3. I am noticing that the sway of the weapons is absolutely out of control. I have tried to narrow it down to stance/elevation/stamina etc. and I don't understand why now when kneeling or even prone firing and at full stamina, the rifles, (I am speaking about rifles not SMGs or pistols) the sway out of control and the recoil is very over-exaggerated. I understand that sway and recoil is a part of shooting a weapon but I don't see how one shot from a 7.62 Marksman rifle will leave my barrel pointed at the sky and a follow-up shot very shaky and then my breath is gone. I am able to get off one or two accurate shots at range before getting decimated by an lone AI with a Katiba and an ACO (I have been playing Pilgrimage). I love the new weapon resting and bi-pods but it seems that standard style shots have taken a major step backwards and are now very unrealistic. Especially in BR everyone is very frustrated with this. If there is an explanation or rule that applies to this new sway/recoil system please fill me in. I just want to say my opinion and I hope that BI is reading this thread as well. The only reason I am saying this is because I love Arma. Thanks for reading.