Jump to content
salival

[RELEASE] Vehicle Key Changer (updated for Epoch 1.0.6+

Recommended Posts

@salival @kingpapawawa Thank you both

added the two lines in variables.sqf and put the new fn_selfActions.sqf in. Also deleted that one line.

    // Custom below
    s_givemoney_dialog = -1;
    s_bank_dialog = -1;
    s_bank_dialog1 = -1;
    s_bank_dialog2 = -1; 
   
    s_player_checkWallet = -1;
    s_player_copyToKey = -1;
    s_player_claimVehicle = -1;

Share this post


Link to post
Share on other sites
1 hour ago, C0nfig84 said:

How to disable claiming vehicles?

 

Thanks in advance

fn_selfactions remove this..
 

Spoiler

if (_isVehicle && {_characterID == "0"} && {_hasKeyKit} && {!_isMan} && {_isAlive}) then {
        if (s_player_claimVehicle < 0) then {
            _totalKeys = call epoch_tempKeys;
            if (count (_totalKeys select 0) > 0) then {
                s_player_claimVehicle = player addAction [format ["<t color=""#0096FF"">Claim %1</t>",_text],"scripts\vkc\vehicleKeyChanger.sqf",[_cursorTarget,_characterID,"claim"],5,false,true];
            };
        };
    } else {
        player removeAction s_player_claimVehicle;
        s_player_claimVehicle = -1;
    };

 

Share this post


Link to post
Share on other sites

What I do is set the price at $150,000  Which is about the cost of a cheap heli.  The ones that cost more I do not let spawn. So players do not clam everything they see. There you go, my 2 cents worth.

Share this post


Link to post
Share on other sites
On 1/29/2018 at 9:16 AM, kingpapawawa said:

fn_selfactions remove this..

Would you need to comment out the following in the fn_selfactions also?

    player removeAction s_player_claimVehicle;
    s_player_claimVehicle = -1;

Share this post


Link to post
Share on other sites
13 hours ago, Thug said:

Would you need to comment out the following in the fn_selfactions also?

    player removeAction s_player_claimVehicle;
    s_player_claimVehicle = -1;

you can comment that out or delete it. also there is "s_player_claimVehicle = -1" in init/variables.sqf

both of those however will not break anything if left alone.

Share this post


Link to post
Share on other sites
18 hours ago, salival said:

Hey guys,

I have finally fixed the bouncing vehicles issue!

This has been running on a few test servers for a few weeks and I haven't heard any issues since so we can maybe classify it as fixed!

https://github.com/oiad/vkc/commit/01bd4df8140d9d3465eeba0831b2780ea22f7dba

Great work, you should make this an official [Release]. 

Share this post


Link to post
Share on other sites

Hi guys,

I updated VKC the other day to add removal of thermal and ammo when a vehicle is rekeyed. As usual you can modify this to suit your needs.

Unfortunately rekeying/claiming a vehicle gives it fresh ammo, so we need to remove the ammo to make it "fair" otherwise players are getting a free rearm.

See this commit: https://github.com/oiad/vkc/commit/289fbaf0ba2e3bfce385442c5cfcbcfc302663fa

 

Share this post


Link to post
Share on other sites

Okay... I have the local server (test server) up and running.

All your Modpack is up same as the DZAI and WAI.

Now... I am having some question (obviously is for my ignorance... not for problems in the mod)

So...

1.- How can I make the  "one key vehicle" works

2.- How does the "locate vehicle" works? (I bought a SUV, I disconnected and when reconnected it was no more in Stary safe zone and when I click in the key to "lock" it says that the suv is not in the area)
3,- How do use the Virtual Garage? (I look for videos but cant get it yet)

Thanks a lot and amazing job the one you did!!

 

Share this post


Link to post
Share on other sites

1. VKC basically lets you change a vehicles key or claim an unkeyed vehicle, you just install it as per the README.md

2. Locate Vehicle just searches for the corrosponding key on the server and displays the location of it on the map if it finds it, it will tell you if it can't find it or if the vehicle is destroyed as well.

3. Virtual Garage you get into the seat of a vehicle you want to store, goto your plot pole and then click store, the admin can set up the store fees (price for vehicle + price per gear item), you can then retreive that vehicle later

Share this post


Link to post
Share on other sites

So VKC is not going to allow me to have 1 key in general instead of 1 per vehicle?

The locate vehicle: how do you call it?... you open the map and that's it? or u have to use the key?

The VG... I didnt try it in a plot... my mistake.

Thanks a lot as usual, Salival.  You are amazing teacher in this matter

Share this post


Link to post
Share on other sites
7 hours ago, LadyVal said:

So VKC is not going to allow me to have 1 key in general instead of 1 per vehicle?

The locate vehicle: how do you call it?... you open the map and that's it? or u have to use the key?

The VG... I didnt try it in a plot... my mistake.

Thanks a lot as usual, Salival.  You are amazing teacher in this matter

You can change all your vehicles to 1 key if you like, it won't automatically do it, you have to manually do it

Locate vehicle uses Click Actions as a dependency, you right click your map (changable) and it will list your vehicles on the map

Share this post


Link to post
Share on other sites

Question again...

Locate Vehicles is working as a charm... same as everything else.

so... honestly it is one question and an issue that I am pretty sure it has nothing to do with the VG

Question: the VKC, it is working great but if you sell one of the vehicles the key dissapear from your belt.  How can I avoid that from happening?

And the last one... I has the VG working great on my test server... but, after uploading the dll into GTX every single time we use the VG the server crash and I have this screeninthe console

https://gyazo.com/10be95f74e90810526dcb30027a4b328

I already told GTX and they say it is me doing something wrong.   Obviously, I would love to think they are right because if I am doing something wrong, I can solve it.  What do you think?

Welll.... the most importan right now, is the Key that dissapear when we sell one vehicle.

Thanks a lot again

Share this post


Link to post
Share on other sites
2 hours ago, LadyVal said:

Question again...

Locate Vehicles is working as a charm... same as everything else.

so... honestly it is one question and an issue that I am pretty sure it has nothing to do with the VG

Question: the VKC, it is working great but if you sell one of the vehicles the key dissapear from your belt.  How can I avoid that from happening?

And the last one... I has the VG working great on my test server... but, after uploading the dll into GTX every single time we use the VG the server crash and I have this screeninthe console

https://gyazo.com/10be95f74e90810526dcb30027a4b328

I already told GTX and they say it is me doing something wrong.   Obviously, I would love to think they are right because if I am doing something wrong, I can solve it.  What do you think?

Welll.... the most importan right now, is the Key that dissapear when we sell one vehicle.

Thanks a lot again

I can't answer the issue with Virtual Garage, it's obviously on  GTX's end. If anything, they are missing the Visual C++ redistributables.

As for the key being removed: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/configVariables.sqf#L68

You need to set that to true

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Ghostrider-GRG
      For a while now I have wanted to put together an addon that makes available additional storage containers and, in the future, other craftable items like heli pads, additional lights and so forth. To that end, and with quite a lot of help from Grahame, I offer V 0.1 of Extended Base Objects for Epoch. It offers a variety of additional storage containers and an easy method for installation.
      Installation: download from my github here:  https://github.com/Ghostrider-DbD-/EB4E
      Subscribe on Steam here: https://steamcommunity.com/sharedfiles/filedetails/?id=1475332817
      Unpack your mission.pbo using PBO manager or its equivalent.
      Copy all files from the mapname.epoch folder to the folder created by unpacking your mission.
      Repack your mission.
      Copy @EB4E to the same folder containing @Epoch and @epochhive on your server. 
       Copy the key found in @EB4E\Key to the \keys folder on your server.
      Add "EB4E" to the -mods="@Epoch;blahblah;" parameter for server startup.
      Players can subscribe to the mod here: https://github.com/Ghostrider-DbD-/EB4E
    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      Find
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
    • By Yoda
      Hello, I am apart of the Global Chaos Gaming community. We currently are hosting a modified Arma 3 Epoch server, we have very active staff aswell as active community members, I urge you to stop by and check us out! TeamSpeak: ts.globalchaos.net Website : http://www.GlobalChaos.net
    • By WinterLuka
      Winter Gaming is a gaming community, that was created in early 2018. We're currently running DayZ Epoch 1.0.6.2 server.
      Winter Gaming is a project created with passion – for players from players.
      On our server, the rules are equal for all players – no Pay2Win, no benefits for donating.
       
      Server IP: 164.132.201.34:2302
      Discord: discord.me/wintereu
      Website: http://www.wintergaming.eu
      Forum: http://www.wintergaming.eu/forums
       
      Server Configuration:
      Building Maintain - 10 Days Abandoned Vehicle Unlock - 7 Days Abandoned Safes/Lockboxes Unlock - 10 Days Building Limit – 350 Objects Max Base Height - 50m  
      Features:
      Plot Management Door Management Snap and Vector Building Coin System Running Zombies Ai Missions Ai Convoys High FPS Custom Loot Custom Locations Custom Traders Hidden Trader Selling Rare Items Toggle Grass/Environmental Sounds Deploy Bike/Motorcycle/Mozzie Walk Amongst The Dead Harvestable Hemp Tow/Lift Repair/Rearm – Service Points Bury Bodies Take Clothes Locate Vehicle Paychecks every 30 minutes Spawn Selection Abandoned Safe Mission Indestructible Metal/Cinder Bases Blow up door and more!  
      I hope to see You on the server!
    • By Tricks
      We are back! Ranked 7th overall in 2014! Classic DayZ Epoch PvP Server!! No stupid start bonus, no heavy military. Just classic Epoch gameplay with new updates!

       
      - Top of the Line Hardware - Overclocked 8700k servers with SSDs. Super high FPS!!

      - XP System & XP Trader - Acquire handy Perks, Skills, and Permits with our XP system!

      - Custom Traders - Totally custom traders unique to this server!

      - Military Bases - High Loot areas perfect for gearing up.

      - Custom Map Content - Aircraft Carriers, Secret Military Bases, New Towns, and more!

      - All The Major Mods - All the major mods like Coin System, Heli Evac, Hide from Zeds, and many more.

      - Lots of AI Missions - Challenging AI missions color-coded by difficulty.

      - Custom AI Missions for Groups - Static missions with super high difficulty and major loot rewards!

      - Realistic Loot Spawns - You wont find high-powered weapons while hunting for loot, realistic loot spawns.

      - No Heavy Weapons, Tanks, Attack Choppers, Jets - Just the classic Epoch vehicles with a few new additions!

      - Lots of Vehicles - Lots of vehicles scattered around the map. Some are ready to go, others need to be fixed first!

      - Base Building - Fully modular base building system with unique build items and crafting recipes.

      - Full Day/Night Cycle - Realistic day and night cycle, no stupid 24 hours daylight!!

      - Full Weather System - Rain, thunderstorms and snow in the winter!!

      - Destructible Base/Garage Doors - Base raiding without losing your whole base! Just the doors are destructible.

      - Abandoned Safes/Lockboxes - Abandoned bases will have their safes unlocked for you to raid!!

      - Fresh Server, All The Best Base Locations Still Available! - No more wipes, server is done and all progress will be saved.

      - Regular Updates/Suggestions Considered - Pass along ideas to the admin staff. We consider all changes.

      - Admin Events - Events with High Loot and great times! See pic below.

      - Active Admin Staff - Find us on Discord anytime or by email!





      Connect to us on DayZ Launcher or directly:

      [SHG]ClassicEpoch|XPSystem|CustomTraders|CustomAImissions|Coins|FPS++

      144.217.62.76:2302

      Discord: http://xn--discrd-zxa.com/join.php?v=OXHD95

      Email: [email protected]

      Website: Under construction


  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×