Jump to content

KarmaT UK

Member
  • Content Count

    22
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About KarmaT UK

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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 ๐Ÿ™‚
  2. 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?
  3. 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 ๐Ÿ™‚
  4. 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?
  5. 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 ๐Ÿ˜ž
  6. 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 ๐Ÿ˜ž
  7. 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?
  8. 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 ๐Ÿ™‚
  9. 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 ๐Ÿ™‚
  10. 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?
  11. Not sure what section this would fall under.... Whitelist for spawn AI module
  12. 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
  13. 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";
  14. 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 ๐Ÿ™‚
  15. 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 ๐Ÿ™‚
ร—