Aliveman Posted June 15, 2013 Report Share Posted June 15, 2013 Anyone have an idea of how to remove the gear option on the locked cars? Being able to steal the gear is making locked cars seem useless. lolw00t 1 Link to comment Share on other sites More sharing options...
Axle Posted June 16, 2013 Report Share Posted June 16, 2013 If we knew, it would be done. If anyone knows and would like to share that would be great. MALUK3N 1 Link to comment Share on other sites More sharing options...
Achmed Posted June 16, 2013 Report Share Posted June 16, 2013 i have no idea how to do it but is it not possible to make it check the locked status and if the vehicle is locked then the gear option is not available in the list when you scroll the mouse? Link to comment Share on other sites More sharing options...
Nox Posted June 17, 2013 Report Share Posted June 17, 2013 ok i'll try to find :) Link to comment Share on other sites More sharing options...
Eegore Posted June 20, 2013 Report Share Posted June 20, 2013 The access point of gear is set to be X amount of meters from center. Reduce that to .01 and you will then have to be inside of the vehicle using the Map to gain access to the gear. Unfortunately I don't recall how that parameter is set, it could be in the vehicle addon itself but I know the MI17 used to have no outside Gear option because f its size and now it does. Do the MI 17 gear fix in reverse I would imagine. Link to comment Share on other sites More sharing options...
Bungle Posted June 27, 2013 Report Share Posted June 27, 2013 How does that work with the UH-1H? As the gear is in the tail is this considered the center of the model? I think this idea is brill but as Axle pointed out needs to be discovered. There must be somewhere in the code that has the function to check Gear.. where are you!! Link to comment Share on other sites More sharing options...
Achmed Posted June 27, 2013 Report Share Posted June 27, 2013 i have been thinking about this and i dont know if its possiable or not but could you not... make another column in the object_data table called something like Inventory_Locked when you lock the car it moves all data from the Inventory column to the Inventory_Locked column and as such makes the vehicle look like it has no gear when you unlock the car, all the data gets moved back to the inventory column and you can once again access the gear. Link to comment Share on other sites More sharing options...
Bungle Posted June 27, 2013 Report Share Posted June 27, 2013 That sounds just crazy enough to potato.. But I guess it could work as you suggested. :D Link to comment Share on other sites More sharing options...
maca134 Posted June 30, 2013 Report Share Posted June 30, 2013 i have been thinking about this and i dont know if its possiable or not but could you not... make another column in the object_data table called something like Inventory_Locked when you lock the car it moves all data from the Inventory column to the Inventory_Locked column and as such makes the vehicle look like it has no gear when you unlock the car, all the data gets moved back to the inventory column and you can once again access the gear. This is possible but it would take time for the inventory to be loaded into the vehicle. Another possible way (same as the safes). Is replace locked vehicles with another class. This class would have no gear in it at all. The thing is this would require the devs to create a new class for every lockable vehicle in the game. Link to comment Share on other sites More sharing options...
vbawol Posted July 6, 2013 Report Share Posted July 6, 2013 The access point of gear is set to be X amount of meters from center. Reduce that to .01 and you will then have to be inside of the vehicle using the Map to gain access to the gear. Unfortunately I don't recall how that parameter is set, it could be in the vehicle addon itself but I know the MI17 used to have no outside Gear option because f its size and now it does. Do the MI 17 gear fix in reverse I would imagine. I have attempted something like this and it did not work, if you can find the fix please link it and I will take a look. Link to comment Share on other sites More sharing options...
vbawol Posted July 6, 2013 Report Share Posted July 6, 2013 This is possible but it would take time for the inventory to be loaded into the vehicle. Another possible way (same as the safes). Is replace locked vehicles with another class. This class would have no gear in it at all. The thing is this would require the devs to create a new class for every lockable vehicle in the game. That is correct it can be done this way but not really an option as it would be alot of work and makes the whole lock/unlock process more taxing. Link to comment Share on other sites More sharing options...
ToejaM Posted July 7, 2013 Report Share Posted July 7, 2013 With that fix you would need the car to despawn and respawn everytime it was locked or unlocked as editting inventory through the database requires players to be in the lobby. My suggestions: 1) Perhaps you could do something like if vehicle locked "copy inventory data to new table" then run a script to remove "addweapon/addmagazine" from the vehicle which is possible to do in game, then when the unlock command is given it checks the db and does "addmagazine/addweapon" in relation to what that vehicle is in the new database table? 2) If car is locked, it has a repeating aura on it to constantly "removeaction gear" - however not sure how much this would effect the server performance as I know even the safe zone repeating scripts can lag the server. The admin tool I use has an option for "remove scroll options" but when I use it on my safe it removes everything but gear and reload different ammo types. Now I'm not sure if this is instant or not and it just automatically pops back. However I see an issue with it perhaps people could easily just press G to access the gear anyway. 3) Owners of the vehicle are not allowed within XX distance of the car or they get bounced XX distance away. Could potentially be exploited by pushing people into walls or blocking bases but nothing an admin can't fix if you have active admins. 4) Use the wasteland gear system for loading items in? Not sure if it works for standard inventory. Or perhaps use the takistan life system? 5) You use your key to "lock" the vehicle and when it locks it, it teleports it to somewhere in the debug or makes it invisible (localdeleteobj? would that work and be able to make it reappear?). Perhaps for realism it could spawn a prop in its place? Though I dont think there are props over every vehicle. 6) In the editor you have the option to spawn vehicles in "locked" which stops even your own team accessing anything I believe, would this not work and is this something that can be done in game.. I assume its scripted so there is a way to unlock a vehicle during missions? Then the unlock command be done via the key? Just my ideas. Link to comment Share on other sites More sharing options...
ToejaM Posted July 7, 2013 Report Share Posted July 7, 2013 That is correct it can be done this way but not really an option as it would be alot of work and makes the whole lock/unlock process more taxing. I think people would be fine with this if it stopped stuff in their gear from being stolen though wouldnt it negate having safes though I guess if you got the owners car key you could open it. Surely you can make the lock and unlock time really short so its not so taxing? Link to comment Share on other sites More sharing options...
Achmed Posted July 7, 2013 Report Share Posted July 7, 2013 I think people would be fine with this if it stopped stuff in their gear from being stolen though wouldnt it negate having safes though I guess if you got the owners car key you could open it. Surely you can make the lock and unlock time really short so its not so taxing? even if you stop the gear from being taken the vehicle can still be destroyed. so far safes seem to be indistructable Link to comment Share on other sites More sharing options...
Munkeskov Posted July 7, 2013 Report Share Posted July 7, 2013 dont know if this will work, but i have the self bloodbag script, and the text "bloodbag self" only appears when i have a bloodbag, so if the gear option could work on character-id, so if the id on the car and the palyer dont match, and the car does not have 0, then the gear optins dont show. Link to comment Share on other sites More sharing options...
ToejaM Posted July 11, 2013 Report Share Posted July 11, 2013 The problem is the gear function is coded differently I believe so its not a case of just removing that option. I think having peoples vehicles indestructable while locked would please alot of people, though I don't agree with them being indestructable if the owner is on the server or has been in the past 20-30minutes. Problem with DayZ is that while its trying to simulate it being real, you dont work in the world of DayZ and you don't sleep inside your base so there are inevitable times when you will have to be offline regardless and these are times when nighthawks and jobless bums can be on destroying your work so it does need something to protect your equipment while you're offline and perhaps this is a step towards it if its possible? Would solve both the gear problem and the losing equipment while offline. Link to comment Share on other sites More sharing options...
Achmed Posted July 11, 2013 Report Share Posted July 11, 2013 I take offence to your "jobless bums" comment...... not all bums are jobless ;-) same as not all is jobless are bums :-) Is there any buildings in game you can drive into with out wrecking the vehicle? And if possiable fly a choppa into as well. Maybe the blue hangers with doors?? Link to comment Share on other sites More sharing options...
traffiq Posted July 11, 2013 Report Share Posted July 11, 2013 When a new car is spawned the following happens: _object setvehiclelock "locked"; clearWeaponCargoGlobal _object; clearMagazineCargoGlobal _object; _object allowDamage false; I'll have a look on the issue, maybe i can trick around ;) Link to comment Share on other sites More sharing options...
traffiq Posted July 11, 2013 Report Share Posted July 11, 2013 Maca is right, there are only two ways of "removing" the option "gear". 1. replace the car with a different model upon locking it 2. clear it's inventory upon locking it So it looks like it is not possible because of the restrictions arma 2 has :( Link to comment Share on other sites More sharing options...
Bungle Posted July 11, 2013 Report Share Posted July 11, 2013 3rd Option.... Add extra gear options like R3F/BTC... have this accessible only when holding key. Or chance based access via a Crowbar. Add all the object classes and give them a size/weight. Create a pathway from Gear/Backpack to said extra cargo. Looking at this option its a lot of work but.. will give you a Boot/Lockbox for vehicles. All other gear would just be cosmetic and lying around vehicles interior (Access by smashing a window..) Link to comment Share on other sites More sharing options...
Nox Posted July 11, 2013 Report Share Posted July 11, 2013 1) Perhaps you could do something like if vehicle locked "copy inventory data to new table" then run a script to remove "addweapon/addmagazine" from the vehicle which is possible to do in game, then when the unlock command is given it checks the db and does "addmagazine/addweapon" in relation to what that vehicle is in the new database table? good idea like - I lock the car then : Copy inventory to colum inventory Lock and removing info in Inventory - I unlock the Car then : Copy inventory lock in Inventory colum and remove info in inventory lock colum Link to comment Share on other sites More sharing options...
traffiq Posted July 11, 2013 Report Share Posted July 11, 2013 The problem with that approach is that it takes time to do these sql operations. I think it would be kind of annoying if you are for example in elektro for a run. You lock your car somewhere, collect stuff. When you return to your car you have that seconds of waiting time until you can finally get in your car again. Just imagine if you happen to be under attack from zombies or players and can't get away because of that silly database stuff. Link to comment Share on other sites More sharing options...
maca134 Posted July 11, 2013 Report Share Posted July 11, 2013 And the inventory has to be updated on all clients too. Each client hold all the map information, all the time Link to comment Share on other sites More sharing options...
Nox Posted July 11, 2013 Report Share Posted July 11, 2013 okay it was a bad idea :( ...... and i read here something like You lock a vehicule and he take a new name like Skoda_DZ Unlock = skoda_LOCK = No interaction only "Unlock" ? Link to comment Share on other sites More sharing options...
maca134 Posted July 11, 2013 Report Share Posted July 11, 2013 Still would require all clients to despawn the old unlocked model and replace it with a locked one :( Im sorry, i dont mean to be a downer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now