-
Content Count
22 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout KarmaT UK
-
Rank
Private First Class
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Custom Respawn Inventory Menu per player (dynamically load player's saved Virtual Arsenal loadouts)
KarmaT UK replied to soldier9945's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks so much, I did what you said and it works ๐ Didnt put anything for it into description, and just used the code in InitPlayerLocal and onPlayerKilled. Then selected "resapwn on custom position" and checked "Select Respawn Loadout" and "Select Respawn Position" Thanks again that was the last little QOL thing I needed in my mission ๐- 29 replies
-
- 1
-
- MenuInventory
- Custom Loadouts
-
(and 1 more)
Tagged with:
-
Custom Respawn Inventory Menu per player (dynamically load player's saved Virtual Arsenal loadouts)
KarmaT UK replied to soldier9945's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys really sorry to post on such an old thread, but i cant get Larrows solution on post 3 to work anymore. Had this thread on my faves for years and always used this method, took a break from arma and now either it dosent work or im messing something up (more likely). I did try just a blank map with description and initPlayerLocal, but i get errors and it doses not show the respawn menu, instead shows the map, with my guy in the corner, then moves me to spawn point with a random VA loadout ๐ Any ideas?- 29 replies
-
- MenuInventory
- Custom Loadouts
-
(and 1 more)
Tagged with:
-
Set vehicle respawn height with LVR? (light vehicle respawn)
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I just want that LVR script to respawn the thing 2m up in the air, using the fnc_whateverinit that you can create with it ๐ -
Set vehicle respawn height with LVR? (light vehicle respawn)
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The addaction for the deploy is not an issue that works perfectly Im just using it as an example of something that does work. I think the problem is only the format of the height command for lvr to recognise it. I don't understand what this means exactly but its been described to me before that "the lvr function creates variables that are passed to the lvr script" maybe that helps? Just incase though... openMap true; onMapSingleClick { onMapSingleClick {}; b1 setPos [ _pos select 0 , _pos select 1 , 8 ]; [b1, 0] remoteExecCall ["removeAction", 0]; openMap false; true }; EDIT Actually I just noticed im using setpos differently there than im trying to in the lvr function. Maybe I should try that version of setpos instead? -
Set vehicle respawn height with LVR? (light vehicle respawn)
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
That addaction one works perfectly with lvr as I described it. Many others work just by adding the underscore, im not skilled enough at this to know half of what your talking about lol. (I fix cars all day long, coding warps my brain) I know that lvr remembers the location, direction and name of a vehicle then respawns it when destroyed or abandoned. If you want you can create a function in one of the lvr folders and recreate the vehicles init, so when it respawns if you have say a flag on it its still there. The flag code that works in the init of a vehicle is another one that works with just an underscore inside that lvr function. So this works.. vehicle init this addAction ["<t color='#2E64FE'>Deploy Vehicle</t>", "Deployb1.sqf", [],1,true,true,"","_this distance _target < 5"]; this forceFlagTexture "\A3\Data_F\Flags\Flag_NATO_CO.paa"; LVR function _this addAction ["<t color='#2E64FE'>Deploy Vehicle</t>", "Deployb1.sqf", [],1,true,true,"","_this distance _target < 5"]; _this forceFlagTexture "\A3\Data_F\Flags\Flag_NATO_CO.paa"; Thing starts and respawns with a flag and action ๐ But height only works in the vehicle init, when it respawns the lvr function throws an error about "undefined veriable in expression field" All the code is at the top of the lvr post I believe, I haven't altered anything just using it normally as author describes ๐ PS im sorry im useless at this, id use the normal editor module if it didn't loose track of stuff and blow stuff up ๐ -
Set vehicle respawn height with LVR? (light vehicle respawn)
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi I changed topic title to clarify, this is LVR (light vehicle respawn) It respawns vehicles and lets you set up the inits for them with functions, at least I think they are functions lol Im trying to make the function set height, but where something like this this works fine just adding the underscore this addAction ["<t color='#2E64FE'>Deploy Vehicle</t>", "Deployb1.sqf", [],1,true,true,"","_this distance _target < 5"]; to get this for the lvr function _this addAction ["<t color='#2E64FE'>Deploy Vehicle</t>", "Deployb1.sqf", [],1,true,true,"","_this distance _target < 5"]; The height one dosent work the same way for some reason ๐ -
Set vehicle respawn height with LVR? (light vehicle respawn)
KarmaT UK posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys im using LVR and I cant figure out how to do this This works in the vehicles init this setPosATL (this modelToWorld[0,0,2]); I just assumed, like with most of the commands iv used, I would just add the _ to get this for lvr init _this setPosATL (this modelToWorld[0,0,2]); But I get an error undefined variable in expression field. Also tried a couple of other ways to set height to no avail. Anyone know how to do it? -
Move boat into boat rack with script?
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Cheers, il have a look. Tbh im starting to think if I can just use setpos to set them a couple feet above the racks and let them just fall onto them instead of having them actually on the rack. At least that way a transport heli could pick it up right away without them having to unload it first ๐ -
Move boat into boat rack with script?
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the reply, iv had a look and that setvehiclecargo seems to be the right one, but im having trouble getting it to work. I just tried B1 setvehiclecargo BR1; That says "Init: Type bool, expected nothing" So I swapped them round because its using the cargo vehicle first in the examples and tried BR1 setvehiclecargo B1; Same message The example looks like this _success = blackfish setVehicleCargo offroad; //true but I don't understand why its got the _sucsess bit at the beginning or the //true at the end, if im right // is just commenting stuff out right? So is it because im not putting _success and what is that doing? why does it need to be there? PS if its any help what im trying to achieve is putting the boats into the racks from the init at mission start, then using that for LVR custom inits to move it back into the rack when it respawns ๐ -
Move boat into boat rack with script?
KarmaT UK posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi I need to put a boat in a boat rack via script Boat is B1, boat rack is BR1, so I tried B1 moveInCargo BR1; But that dosent work and im not aware of other commands that might do it. Any ideas? -
KarmaT UK changed their profile photo
-
Arma 3: Community wishes & ideas- NO DISCUSSION
KarmaT UK replied to Maio's topic in ARMA 3 - GENERAL
Not sure what section this would fall under.... Whitelist for spawn AI module -
Using lobby params makes me crash
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just tried leaving it unpacked and it works, I did see that and thought maybe the export procedure sorted it out, but I guess it dosent do anything special. Oh well I guess il just leave these ones unpacked, that dosent cause any issues does it? I had another look and I don't know if il be able to do that manual way at the top of the page, bit complicated for me lol -
Using lobby params makes me crash
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Cleaned it out of everywhere (except my original in player profile) but same result when I export it. The server browser crashes the game, then when I delete it from MPmissions works again. Im thinking its got to be something wrong with my description.ext this is the entire thing... class CfgFunctions { #include "LVR\functions\functions.hpp" }; class Params { #define DAYTIMEHOUR_DEFAULT 14 #include "\a3\functions_f\Params\paramDaytimeHour.hpp" #define WEATHER_DEFAULT 40 #include "\a3\functions_f\Params\paramWeather.hpp" #define TIMEACCELERATION_DEFAULT 1 #include "\a3\Functions_F_MP_Mark\Params\paramTimeAcceleration.hpp" #define VIEW_DISTANCE_MIN 500 #define VIEW_DISTANCE_MAX 3000 #define VIEW_DISTANCE_DEFAULT 1000 #include "\a3\Functions_F_Heli\Params\paramViewDistance.hpp" }; respawnOnStart = 0; disabledAI = 1; corpseManagerMode = 1; corpseLimit = 10; corpseRemovalMinTime = 10; corpseRemovalMaxTime = 120; overviewPicture = "pic1.jpg"; -
Using lobby params makes me crash
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I could try but if it threw the error once and I don't change anything then wont it just do it again? I mean my server browser is working fine now, just not when that mission is present. Il have a look in the other folders and try exporting again now ๐ -
Using lobby params makes me crash
KarmaT UK replied to KarmaT UK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi thanks for the reply but I can fix it by deleting the mission, that's not really a problem, Its getting it to actually work right when it is in there I need help with ๐