View unanswered posts | View active topics It is currently Thu Jan 02, 2025 10:39 pm



Reply to topic  [ 6 posts ] 
 Change the damage? 
Author Message

Joined: Wed Jun 25, 2008 7:10 am
Posts: 6
Reply with quote
Post Change the damage?
Hello everyone! I just started modding today, mostly just editing stuff more than creating, and I was wondering where I can change (what value in the respective devices.ini file) the damage that is caused by weapons/devices.


Wed Jun 25, 2008 7:14 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Change the damage?
Damage is not controlled by a single variable.

It is a function of, primarily, wounds.

The more bullets your gun fires that are capable of making wounds, the more damage it will do. If it passes through an actor and creates an exit wound, that will also increase damage.

The other aspect is gibbing; if a part sustains either A; enough shots or B; a sufficient force it will "gib", basically break into multiple pieces. This causes initial damage, and creates a "Breakwound", another aspect of the damage system.

Typically, to raise the damage of a weapon, you increase either Mass, Sharpness, or ParticleCount. A mass of 0.5 or more is more than enough to cause a major impact on an actor, and at a high enough Rate of Fire, could certainly gib a part. Sharpness means that your bullet is more likely to wound actors, and a low mass/high sharpness weapon tends to act like a fictional "laser". ParticleCount is how many bullets are fired by your weapon per shot. For example, the Shotgun has a high ParticleCount; it fires more than one bullet per trigger pull. If you raise this number, but lower the ParticleSpreadRange, you can make a gun that fires multiple bullets, but all in a straight line, which will increase the potential for damage. Also, recoil calculations on rounds with high particlecounts are only performed as if one bullet is being fired.


Wed Jun 25, 2008 9:12 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Change the damage?
Increasing the velocity of bullets also increases damage, especially in weapons that depend on mass to do their damage. A 0.5kg slug traveling at 100 does quite a bit more damage than the same slug going 50 (though if it's sharp it will also dig itself a very long hole, which doesn't look very good.).


Wed Jun 25, 2008 11:36 am
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Change the damage?
Grif wrote:
Also, recoil calculations on rounds with high particlecounts are only performed as if one bullet is being fired.


IIRC data fixed that


Wed Jun 25, 2008 12:14 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Change the damage?
p3lb0x wrote:
IIRC data fixed that



Nope. It's not a bug; he did it on purpose. Each shotgun shell is about .08 mass, and the gun fires eight of them. If the recoil were calculated based on all of those, it would send clones flying; .64 mass is absurd. The way the physics engine calculates bullet ballistics, the system has to ignore secondary particlecounts because each particle has to have a fairly high mass in order to do damage.


Wed Jun 25, 2008 6:31 pm
Profile
User avatar

Joined: Sun Mar 04, 2007 11:22 pm
Posts: 254
Location: In my happy and/or unhappy place.
Reply with quote
Post Re: Change the damage?
Code:
AddAmmo = Round
   InstanceName = Round Gun Template
   ParticleCount = 1
   Particle = MOPixel
      InstanceName = Particle Gun Template
      Mass = 0.008                < Take this  And make it bigger
      RestThreshold = 500
      LifeTime = 1500
      Sharpness = 250            < Take this, and make it slightly bigger
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 143
         G = 143
         B = 143
      Atom = Atom
         Material = Material
            CopyOf = Bullet Metal
         TrailColor = Color
            R = 155
            G = 155
            B = 155
         TrailLength = 25
   Shell = MOSParticle
      CopyOf = Gun Template Casing
   FireVelocity = 80            < Take this and make about 100
   ShellVelocity = 10
   Separation = 5



Mass = Will add to recoil, but adds to the wound size. May make it possible for the bullet to leave an entry, and exit wound *go all the way through* And the higher Mass the more damage the bullet does to terrain.
Note: Too much and the wielder may explode upon firing

Sharpness = Will cut through things with higher sharpness, but may also do more damage, and doesn't add to recoil

Fire Velocity = Bullet fires faster or slower depending how high or low it is.


Try to even out the damage and Recoil by varying the Mass and Sharpness.



And you may even want to change stuff for the Tracer too, but it may be too much damage.


Wed Jun 25, 2008 8:56 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.054s | 13 Queries | GZIP : Off ]