Data Realms Fan Forums
http://45.55.195.193/

How do I edit weight and ammo count?
http://45.55.195.193/viewtopic.php?f=1&t=19378
Page 1 of 1

Author:  Miggles [ Fri Jul 30, 2010 10:22 pm ]
Post subject:  How do I edit weight and ammo count?

I'm making a very small (VERY small) mod. All it is is an edited gatling gun. Extremely overpowered at that. Why? Because I want it to weigh little to nothing so the actor will still go as fast as if they were holding nothing, AND make it have infinite ammo. How would I do this by editing the .ini?

Author:  Petethegoat [ Fri Jul 30, 2010 10:40 pm ]
Post subject:  Re: How do I edit weight and ammo count?

Well, assuming you have the ini (Coalition.rte\Devices\Weapons\Machineguns\GatlingGun.ini) you need to scroll down until you see
Code:
AddAmmo = Magazine
   PresetName = Magazine Gatling Gun
   Mass = 10
   ...

and then continue scrolling down until
Code:
   DrawAfterParent = 0
   RoundCount = 100
   RTTRatio = 6

Change RoundCount = 100 to RoundCount = -1.
Make sure you don't mess up the capitalization or tabbing, as it will break if they are not correct.

Next, scroll down a little way to
Code:
AddDevice = HDFirearm
   PresetName = Gatling Gun
   Description = Coalition's feared heavy weapon...

Look just below that for
Code:
   Mass = 54

Try changing that to a low value, like 1.
Save the file and run Cortex Command. If you've not broken anything, it should load without problems.

Feel free to experiment and change other values, and observe the effects it has.
Everything you need to know about modding in CC is a handy compilation of useful threads, should you wish to experiment further.

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