Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
Jesper Green Jensen

Need help with controls XML file

Recommended Posts

Hi all.

Im one of the loyal DayZ players who cant play until controls get fixed.
Dont ask me to play defaults after 5000 hrs DayZ and trice that other FPS games with same settings :)

I have edited the dayz_preset_user .XML file and most of the controls work now.
BUT...for some reason I CAN NOT change "A" and "D" or assign Zoom??


AS you can see in the code i have changed Turnleft/Turnright to Comma and Period. but when ingame i STILL have to use A/D.
It makes no sense to me?

Any help is greatly appreciated, since waiting for 1.0 is just torture for a fan :(

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<preset>
    <input name="UAMoveForward">
        <btn name="mBRight" />
        <btn name="x1LeftThumbUp" />
    </input>
    <input name="UAMoveBack">
        <btn name="kRMenu" />
        <btn name="x1LeftThumbDown" />
    </input>
    <input name="UATurnLeft">
        <btn name="kComma" />
    </input>
    <input name="UATurnRight">
        <btn name="kPeriod" />
    </input>
    <input name="UATu

 

....And here i try to Zoom on mouse thumb button:

 

<input name="UAZoomIn">
        <btn name="m5" />
        <btn name="x1ShoulderRight" />

Edited by Jesper Green Jensen

Share this post


Link to post
Share on other sites
1 hour ago, Jesper Green Jensen said:


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<preset>
    <input name="UAMoveForward">
        <btn name="mBRight" />
        <btn name="x1LeftThumbUp" />
    </input>
    <input name="UAMoveBack">
        <btn name="kRMenu" />
        <btn name="x1LeftThumbDown" />
    </input>
    <input name="UATurnLeft">
        <btn name="kComma" />
    </input>
    <input name="UATurnRight">
        <btn name="kPeriod" />
    </input>
  

<input name="UAZoomIn">
        <btn name="m5" />
        <btn name="x1ShoulderRight" />

Hey Jesper,

i don't know what exactly could cause the first issue, but the second is because you name the mouse button wrong, it should be:

<input name="UAZoomIn">
        <btn name="mB5" />

</input>

do you maybe have other commands bound to kComma and kPeriod? or maybe the brackets for UATurnLeft and UATurnRight aren't really mapped to an action?

It can also be that, because the m5 binding can't be mapped to an action, the game changed the presets to the default one because it tan into an error,

try changin m5 to mB5 and try again then, and if all else fails, try to set the file to read only

Edited by ZomboWTF

Share this post


Link to post
Share on other sites
53 minutes ago, ZomboWTF said:

Hey Jesper,

i don't know what exactly could cause the first issue, but the second is because you name the mouse button wrong, it should be:

<input name="UAZoomIn">
        <btn name="mB5" />

</input>

do you maybe have other commands bound to kComma and kPeriod? or maybe the brackets for UATurnLeft and UATurnRight aren't really mapped to an action?

It can also be that, because the m5 binding can't be mapped to an action, the game changed the presets to the default one because it tan into an error,

try changin m5 to mB5 and try again then, and if all else fails, try to set the file to read only

Hi Jesper Green Jensen here again.

Must have written down the wrong password for the account i made the post with :S

...SO, had to make a new one :D

Anyway, thx for your time ZomboWTF.

The Thumb button for mouse works now. with mB4 <3

I tried the read only thing, still no worky on LEFT/RIGHT

The following needs still needs to be assigned, then im ready to go:
Left

Right

Hold Breath

I can live without "Hold Breath", but really need to change the A/D.
Period and Comma are only used once, so that was not the problem.

Share this post


Link to post
Share on other sites

I don't know if this helps but the XML file is a bit tricky when it comes to the basic movement.

 

UAMoveForward

UAMoveBack

UATurnLeft

UATurnRight

 

The third and fourth blocks are TURN, not move. The UAMoveLeft and Right are further down in the file.

I fell for it too, maybe it helps someone else.

Edited by Undeceived

Share this post


Link to post
Share on other sites
Sign in to follow this  

×