Unable to Change Recoil (Solved, involves Anims not odf's)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
AgentSmith_#27
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 302
Joined: Thu Feb 11, 2010 3:10 pm
Projects :: No Projects I am ready to unveil
Games I'm Playing :: SWBF2-MW2-Madden 08
xbox live or psn: No gamertag set
Location: Zeroeditor
Contact:

Unable to Change Recoil (Solved, involves Anims not odf's)

Post by AgentSmith_#27 »

Alright, so I've been able to change everything I want with the weapon I'm using, besides recoil. (The weapon is an edited republic rifle)

So this is what I have in my ODF about recoil:

I won't post the full ODF because it's just the rifle parent and republic child ODF's combined into one, with edited values.

RecoilLengthLight = "0"
RecoilLengthHeavy = "0"
RecoilStrengthLight = "0"
RecoilStrengthHeavy = "0"
RecoilDecayLight = "0"
RecoilDecayHeavy = "0"

Yet, no matter what I change the values to, the recoil effect remains unchanged. I have tried a manual clean, I have it set up with a custom side (properly) and nothing changes.
Last edited by AgentSmith_#27 on Sat May 29, 2010 9:57 pm, edited 1 time in total.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Unable to Change Recoil

Post by AQT »

The parameter you want to use is:

Code: Select all

KickStrength        = "X"
User avatar
AgentSmith_#27
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 302
Joined: Thu Feb 11, 2010 3:10 pm
Projects :: No Projects I am ready to unveil
Games I'm Playing :: SWBF2-MW2-Madden 08
xbox live or psn: No gamertag set
Location: Zeroeditor
Contact:

Re: Unable to Change Recoil

Post by AgentSmith_#27 »

AQT wrote:The parameter you want to use is:

Code: Select all

KickStrength        = "X"
Tried that, I want to change it so it has no recoil anyway. When I change anything in the odf it works fine, besides the recoil lines that is.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Unable to Change Recoil

Post by Fiodis »

Ah - by "Recoil" you mean the visual recoil you see in third-person? That is, unfortunately, not controlled by ODF lines but by animations. You would have to bash a custom animset that replaces the fire animation with the "idle_alert" one. Catch me on XFire and I'll explain it further, or you can check out this tutorial if you want to try and figure it out on your own. If you do, however, take notice of Duck's footnote there about the red lines.
User avatar
AgentSmith_#27
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 302
Joined: Thu Feb 11, 2010 3:10 pm
Projects :: No Projects I am ready to unveil
Games I'm Playing :: SWBF2-MW2-Madden 08
xbox live or psn: No gamertag set
Location: Zeroeditor
Contact:

Re: Unable to Change Recoil

Post by AgentSmith_#27 »

Fiodis wrote:Ah - by "Recoil" you mean the visual recoil you see in third-person? That is, unfortunately, not controlled by ODF lines but by animations. You would have to bash a custom animset that replaces the fire animation with the "idle_alert" one. Catch me on XFire and I'll explain it further, or you can check out this tutorial if you want to try and figure it out on your own. If you do, however, take notice of Duck's footnote there about the red lines.
Yes that's what I meant, I'll look at the tut and probably discuss it with you, thanks.
Post Reply