Jump to content

1.6.2 [Remote Lock/Unlock Veh] USING KEYBOARD.sqf


juandayz

Recommended Posts

  On 5/12/2017 at 4:59 AM, JohnnyBravo666 said:

Anyone have this working with the Call Vehicle mod ? I've tried installing both and can only get the call vehicle option. So I tried changing up how it shows in ui_selectslot but then nothing worked lol. So I reverted back and still stuck at just call vehicle. Any help would be greatly appreciated!

Expand  

Seems like you have issues with merging the changes of the two addons in your files. I suggest you take the conflicting files from both addons and difmerge them in comparison with the original epoch provided files and then you see what changes were made and these you have to add to the new file.

Link to comment
Share on other sites

  On 5/12/2017 at 4:59 AM, JohnnyBravo666 said:

Anyone have this working with the Call Vehicle mod ? I've tried installing both and can only get the call vehicle option. So I tried changing up how it shows in ui_selectslot but then nothing worked lol. So I reverted back and still stuck at just call vehicle. Any help would be greatly appreciated!

Expand  

if u are talking about this mod

use tthe custom ui_selectslot.sqf (the salival mod use the ui_selctslot from deployanything so..)

find this line

  Reveal hidden contents

and just below paste:

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/12/2017 at 2:02 PM, juandayz said:

if u are talking about this mod

use tthe custom ui_selectslot.sqf (the salival mod use the ui_selctslot from deployanything so..)

find this line

  Reveal hidden contents

and just below paste:

  Reveal hidden contents

 

Expand  

Sorry I should've linked the mod. This is the one I am talking about below. I've already added in the mod you quoted there as that was working well. I've added in the vehicle locate script as well. Just when I go to add in the call car mod, it prevents the remote unlock/lock system from displaying when I right click on the key. I have tried merging them but when I try that, then the only option that will appear is "Make Copy".

 

 

Link to comment
Share on other sites

  On 5/12/2017 at 6:55 PM, JohnnyBravo666 said:

Sorry I should've linked the mod. This is the one I am talking about below. I've already added in the mod you quoted there as that was working well. I've added in the vehicle locate script as well. Just when I go to add in the call car mod, it prevents the remote unlock/lock system from displaying when I right click on the key. I have tried merging them but when I try that, then the only option that will appear is "Make Copy".

 

 

Expand  

ui_Selectslot.sqf  delete all about this mod and the other and

find:

_pos set [3,_height];

above paste:

 

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/12/2017 at 7:25 PM, juandayz said:

ui_Selectslot.sqf  delete all about this mod and the other and

find:

_pos set [3,_height];

above paste:

 

  Reveal hidden contents

 

Expand  

So I tried this. At first I managed to break it and no right click worked at all lol. So I removed it all. Loaded and noticed right click was working again. So I re-added this code and all the right clicks still work, but I only get the "Call Vehicle" option, none of the remote unlock/lock options...

Link to comment
Share on other sites

ui_Selectslot.sqf  abvove _posset

well heres another try @JohnnyBravo666

  Reveal hidden contents

 

 

Link to comment
Share on other sites

  On 5/13/2017 at 12:36 AM, juandayz said:

ui_Selectslot.sqf  abvove _posset

well heres another try @JohnnyBravo666

  Reveal hidden contents

 

 

Expand  

So this time I was able to call my vehicle, but still no options for remote lock/unlock.

Link to comment
Share on other sites

  • 4 weeks later...
  On 6/10/2017 at 7:34 AM, ViktorReznov said:

helicopters wont start (i think this is probably the best reason for remote start!) and the cars do but almost immediately shut off again(and yes, i unlocked them both first). Otherwise it is another excellent addition @juandayz!

Expand  

i mate.. i think you need recognize as owner of the vehicle first.. something like.. you get inside of the vehicle ... turn on... and them should  be work

Link to comment
Share on other sites

@JohnnyBravo666 @Hooty @ViktorReznov@WLF @gernika @Cherdenko @S4M @kingpapawawa  Here you got guys the last remake.. just use one single file, and not need right click actions.. just keyboard. The engine start and shutdown alone.. If vehicle locked then unlock and start engine... if is unlocked and engine is working.. then shutdown the engine and lock the veh automatically.

VIDEO:

  Reveal hidden contents

1-In your CUSTOM!!! keyboard.sqf at bottom but before the last "_handled" paste:

  Reveal hidden contents

 

2-Create remote_key.sqf  (mpmissions\your instance\scripts\ )

  Reveal hidden contents

 

 

Link to comment
Share on other sites

Hey @juandayz really love this one with keyboard!! Pretty easy, Pretty clean but i have a problem... Want to use yours but also like the option that have the one of where you can eject players from vehicles

but  i dont like the right click actions and touch all that files that the other needs. Yours is more faster and comfortable for players and you use one single file. Is possible merge yours with the option to eject players?

Link to comment
Share on other sites

@gernika  ok here you got.. dont have players to test.. but i do it with a BOT.

remote_key.sqf  (with the eject players adition)

  Reveal hidden contents

video: (the bot is stupid and get into the car ..he dosnt matter if is locked or not.. but players cant made it.)

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 6/12/2017 at 3:05 AM, juandayz said:

@gernika  ok here you got.. dont have players to test.. but i do it with a BOT.

remote_key.sqf  (with the eject players adition)

  Reveal hidden contents

video: (the bot is stupid and get into the car ..he dosnt matter if is locked or not.. but players cant made it.)

  Reveal hidden contents

 

Expand  

Just a note here,

If you're going to take code from someone elses script, please give them credits

Link to comment
Share on other sites

  Quote

Just a note here,

If you're going to take code from someone elses script, please give them credits

Expand  

sory but this guy comes asking for a merge my code with your option to eject (and he put your link).

 

  On 6/12/2017 at 2:52 AM, gernika said:

Hey @juandayz really love this one with keyboard!! Pretty easy, Pretty clean but i have a problem... Want to use yours but also like the option that have the one of where you can eject players from vehicles

but  i dont like the right click actions and touch all that files that the other needs. Yours is more faster and comfortable for players and you use one single file. Is possible merge yours with the option to eject players?

Expand  

I dont need give you credits for nothing its more than obvoius that bunch of code its yours:

  Reveal hidden contents

and im not selling nothing here.. and i dont have this part im my main post, and i post this update with keyboard before yours, and I when i saw your update i had the descency to delete my old right click action and redirect to yours. So dont know what more you want.. And this is not all i want say you,.. but is all i can say in english... so whish u can speack spanish. So i think the best thing for us .. is jsut keep ignoring me as i ignore you. 

 

Here you got the original post ...the guy who have the idea of it. if u want give some credits in your post:

And about main post take a look on the hours

Sin_t_tulo.jpg

and after all of thhis sh***  .. more of the tasted of each one.. great work with the new right click. But i still think you were bad comes here to leve me notes.

Link to comment
Share on other sites

  On 6/12/2017 at 5:21 PM, juandayz said:

sory but this guy comes asking for a merge my code with your option to eject (and he put your link).

 

I dont need give you credits for nothing its more than obvoius that bunch of code its yours:

  Reveal hidden contents

and im not selling nothing here.. and i dont have this part im my main post, and i post this update with keyboard before yours, and I when i saw your update i had the descency to delete my old right click action and redirect to yours. So dont know what more you want.. And this is not all i want say you,.. but is all i can say in english... so whish u can speack spanish. So i think the best thing for us .. is jsut keep ignoring me as i ignore you. 

 

Here you got the original post ...the guy who have the idea of it. if u want give some credits in your post:

And about main post take a look on the hours

Sin_t_tulo.jpg

and after all of thhis sh***  .. more of the tasted of each one.. great work with the new right click. But i still think you were bad comes here to leve me notes.

Expand  

moved to PM.

Link to comment
Share on other sites

  • 4 weeks later...

Where are you putting the keyboard.sqf

And I'm assuming when you mean custom you mean, copied from dayz_code into my mpmissions somewhere.

I tried to activate it through my custom compiles.sqf but not sure on what to do or how to get it to work.

  Reveal hidden contents

Thanks.

Link to comment
Share on other sites

  On 7/7/2017 at 12:49 PM, jjsnacks77 said:

Where are you putting the keyboard.sqf

And I'm assuming when you mean custom you mean, copied from dayz_code into my mpmissions somewhere.

I tried to activate it through my custom compiles.sqf but not sure on what to do or how to get it to work.

  Reveal hidden contents

Thanks.

Expand  

this is exactly what you need to do.

Example  custom compiles.sqf

if (!isDedicated) then {
	diag_log "Loading custom client compiles";
	
	fnc_usec_selfactions = compile preprocessFileLineNumbers "dayz_code\compile\fn_selfActions.sqf";
	DZ_KeyDown_EH = compile preprocessFileLineNumbers "dayz_code\compile\keyboard.sqf";	
};

 

Link to comment
Share on other sites

  On 7/7/2017 at 3:57 PM, juandayz said:

this is exactly what you need to do.

Expand  

I thought as much. But in game i get nothing and nothing in logs to say there are any errors. Maybe I'll try again tomorrow! Thanks for the reply.

 

EDIT - Noted, I will see if I have placed this code in the correct location. I'm pretty sure its under the last };

I had read somewhere that it needed to load both dedicated and server.

Cheers!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...