Data Realms Fan Forums
http://45.55.195.193/

Actor keeps Dropping his gun
http://45.55.195.193/viewtopic.php?f=1&t=31399
Page 1 of 1

Author:  Random guy [ Wed Jul 04, 2012 7:23 pm ]
Post subject:  Actor keeps Dropping his gun

Cant believe i have to make an account just to ask this :oops:

So im new too this moding, but so far iv been able to figure things out myself mostly, except this thing.

so i edited a gun, making it able to shoot faster, but the actor keeps dropping the gun after the second shot.
i figure its to heavy or high recoil, but i looked throo everything in the gun file, and i basically teared it IN and out, and still he drops it. (the actor is a HEAVY BTW, not a light unit)
i cant figure out what makes the gun to Not drop.

i searched both google & this forum, the tutorials i found didn't go over this info. :???:


i figure this question goes in mod Making since that's what i'm doing...

Author:  No_0ne [ Thu Jul 05, 2012 3:46 am ]
Post subject:  Re: Actor keeps Dropping his gun

The JointStrength variable determines how much force the weapon can take before it is detached, try raising it.

Author:  Random guy [ Thu Jul 05, 2012 7:34 am ]
Post subject:  Re: Actor keeps Dropping his gun

No_0ne wrote:
The JointStrength variable determines how much force the weapon can take before it is detached, try raising it.

i did try that, ridiculously much too, like 9000 even X.x
does it have to be even Higher?

Author:  Gotcha! [ Thu Jul 05, 2012 11:36 am ]
Post subject:  Re: Actor keeps Dropping his gun

Sounds to me you're using an actor with strong arms that fires a round that is extremely heavy.
How heavy is the bullet/rocket/rock/building/whatever you're firing?
Also, does the gun get damaged when your actor drops it?

Author:  4zK [ Thu Jul 05, 2012 11:47 am ]
Post subject:  Re: Actor keeps Dropping his gun

Sounds like you edited some already overpowered gun to be even more overpowered :roll:

Well, anyways, you can try adding a line called RecoilTransmission somewhere in the gun data. Set it to 0.10 or something and there should be pretty much no recoil*.

Code:
AddDevice = HDFirearm
   PresetName = <whatever the gun is you're modifying>
   Description = <blah blah blah>
   AddToGroup = <Weapons>
   AddToGroup = <Primary Weapons>

   RecoilTransmission = 0.10

   Mass = ...


*very little recoil

Author:  Random guy [ Fri Jul 06, 2012 3:58 pm ]
Post subject:  Re: Actor keeps Dropping his gun

i tried RecoilTransmission = 0.10 but whenever i added it the game crashes when i try to start it.
yes i added it correctly, (i think) and tried many different ways to add it, still crashes.

I don't think the gun takes damage, as i dropped & picked it up tons of times while testing.
not sure how heavy it is at the moment, but i changed all weight/mass to 0 or 1 when i messed about trying to fix it, and it didn't help.

Author:  4zK [ Fri Jul 06, 2012 7:09 pm ]
Post subject:  Re: Actor keeps Dropping his gun

You do have build 27 of Cortex Command, right?

Author:  Random guy [ Fri Jul 06, 2012 8:33 pm ]
Post subject:  Re: Actor keeps Dropping his gun

4zK wrote:
You do have build 27 of Cortex Command, right?

Yes i do, i even double checked the read me and it says "Cortex Command Test Build 27"
just bought it like 4 days ago.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/