twisted 128 Posted October 15, 2007 Now as you can see in ArmA there is a sequence with more 3 parameters, can anyone explain what the <span style='color:red'>5</span> mean? ArmA Original code: 1 2 3 4 <span style='color:red'>5?</span> <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">M4Recoil[] = {0.00,0,0, 0.060,0.010,0.010, 0.100,0,-0.018, 0.100,-0.010,0.010, 0.050,0,0}; the last recoil value is time taken for gun to go to 0,0 (centre) Share this post Link to post Share on other sites
Radic 0 Posted October 15, 2007 Yep - that last value is where the rifle ends up - but it's simply by virtue of the fact that it's the last set of values in the string - I've confirmed that if you knock one or more of the sets of three values to zero (can probably just remove them altogether - haven't tried that), the recoil is shorter and more abrupt - I put another set of 3 zeros after the first three and deleted altogether the three values immediately before the final set and the recoil is much more realistic IMO - tho I'm a wuss and prefer to be able to rapid fire with accuracy so will use my first "soft" set of values. I don't know if there has to be a certain number of 3 value "sets" or if you could simply have a recoil string that's only 3 values in it's entirety - I just played it safe by maintaining the same number of values as original. Share this post Link to post Share on other sites
RN Escobar 0 Posted October 15, 2007 err, the M249 definately behaves differently when prone compared to standing. i'm more in to MP so altering these values is a big NO-NO for me, all kinds of server errors and complaints of cheating when i have 0 recoil and can put a 3 round burst right in someones head but i just thought i would comment, nice work though, if i ever get round to a full mod its nice to know what the values are and what to tweak Share this post Link to post Share on other sites
bravo 6 0 Posted November 6, 2007 This does work.Quote[/b] ]M4RecoilProne[] = {0,0,0,0.02,0.01,0.01,0.1,0,-0.008,0.1,-0.01,0.01,0.03,0,0 }; Would this idea work aswell? <ul>M4RecoilCrouch[] = {0,0,0,0.02,0.01,0.01,0.1,0,-0.008,0.1,-0.01,0.01,0.03,0,0 }; i already tryed with name "M4RecoilCrouch", also adding the class M4RecoilCrouch at the bottom of the config, but it did not work. Is there a way to make this idea work when we fire in a crouch position? (maybe im not using the right name "Crouch") guys any idea why this does not work? Share this post Link to post Share on other sites
Q1184 0 Posted November 6, 2007 That's because the engine only takes Recoil and RecoilProne Also, the name of the recoil itself doesn't matter, you can call it "MySuperRealisticM4Recoil", it won't change anything Share this post Link to post Share on other sites
Maddmatt 1 Posted November 6, 2007 Is there a way to make this idea work when we fire in a crouch position? (maybe im not using the right name "Crouch") Because you can't have seperate values for crouch. Even if you can, you need to modify the config of the weapon itself. Simply adding new recoil values isn't going to work. ArmA isn't just going to take "m4recoilprone" and "m4recoilcrouch" and automatically add it to the weapon based on the name. It doesn't work that way. You need to open up the config for the weapon and set what recoil it's going to use. Even though some weapons don't have seperate values for prone, ArmA automatically adjusts recoil according to your position. Crouch position just uses the same as standing recoil, but reduces it. Edit: I see you did look at the weapon configs. Oh well, some of this still applies. Maybe you should look at this instead of fiddling with the stuff yourself. You might like it. Share this post Link to post Share on other sites
bravo 6 0 Posted November 6, 2007 yup, i already tryed that from Q1184. Its nice but, i its not exactly perfect, imo. Though its easyer to change by having a small file instead moding the hole weapons.pbo. Share this post Link to post Share on other sites