Data Realms Fan Forums
http://45.55.195.193/

How to change the Weapon Dmg and Oz
http://45.55.195.193/viewtopic.php?f=1&t=12701
Page 1 of 1

Author:  Kamahl [ Sun Nov 16, 2008 6:54 pm ]
Post subject:  How to change the Weapon Dmg and Oz

Hey,
I`m creating a weapon (Kriss) and i am at around 50% finishing it (Round Capiciti and Rate of Fire + Sprites are finished). But I need to do a few things :
1. Change the Dmg of the weapon. I don`t know how to do this. Can someone help me ?
2. Change the cost of the weapon (the oz). I dont know how to do this, too.

I am using the gun Template. Can someone help me ? ThX

Author:  Duh102 [ Sun Nov 16, 2008 7:01 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

To change weapon damage, increase the sharpness, mass, or particle count of your rounds.
To change cost, change the GoldValue variable.

Author:  Kamahl [ Sun Nov 16, 2008 7:14 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Thank you for the fast answer ! But where are the "sharpness" "mass" or "particle count" ?

I found "mass" often so i don`t know which one i need to increase. I don`t find "sharpness" and "particle count", only "particle", but then there are a lot of them.

Hope you answer fast this time,too :D

Author:  uberhen [ Sun Nov 16, 2008 8:06 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Quick copy+paste from the gun template:

Code:
AddAmmo = Round
   PresetName = Round Gun Template
   ParticleCount = 1 <----------------------------------------------------
   Particle = MOPixel
      PresetName = Particle Gun Template
      Mass = 0.008 <--------------------------------------------------
      RestThreshold = 500
      LifeTime = 1500
      Sharpness = 250 <-----------------------------------------------
      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 <---------------------------- (how fast the bullet travels)
   ShellVelocity = 10
   Separation = 5

// Regular Round ^ ///////////////////////////
// Tracer Round V ////////////////////////////

AddAmmo = Round
   CopyOf = Round Gun Template
   PresetName = Round Gun Template Tracer
   ParticleCount = 1
   Particle = MOPixel
      CopyOf = Particle Gun Template
      PresetName = Particle Gun Template Tracer
      RestThreshold = 500
      LifeTime = 1500
      HitsMOs = 1
      GetsHitByMOs = 0
      Color = Color
         R = 247
         G = 247
         B = 147
      Atom = Atom
         Material = Material
            CopyOf = Bullet Metal
         TrailColor = Color
            R = 255
            G = 255
            B = 159
         TrailLength = 45


The first segment is the regular round. The second segment is the tracer, the one that has glows applied by default. It would be wise to keep the ParticleCount the same between the regular round and the tracer round. Also, FireVelocity plays a part in determining overall damage, just not as much as sharpness (however, it's good to keep sharpness a little lower than you want so that it doesn't destroy terrain, unless you're going for that effect). If you're using another template, just look for the segments with "AddAmmo = Round," and you're good to go.

Author:  Kamahl [ Sun Nov 16, 2008 8:46 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Thx u but ... I tested all things and find it out myself :(
Thy anyways, I changed the FireVelocity to 100.

My Kriss is nearly finished... it only needs a better sprite. But I don`t know if I can do it.
My Kriss :
Image

Sorry ^^ it lags :grin:

I like it !
One more weapon and I will upload a little Mod.



One Question Left :
When I don`t want that the folder is called "Gun Template", which things I need to change ?

Author:  teh somebody [ Sun Nov 16, 2008 8:50 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Kamahl wrote:
One Question Left :
When I don`t want that the folder is called "Gun Template", which things I need to change ?


If you change the folder name, you have to reroute all file paths for the new file.

Author:  Kamahl [ Sun Nov 16, 2008 8:57 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Thx u,


sry for my noobish questions!
btw: what to you think about the weapon ?

Author:  Warbz [ Sun Nov 16, 2008 9:43 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Until I personally use i can only say it looks like a poorly sprited smg.

Author:  Gedou [ Thu Nov 27, 2008 10:03 pm ]
Post subject:  Re: How to change the Weapon Dmg and Oz

A little tip about spriting: Do it rather pixel by pixel. It looks alot better

Author:  Geti [ Fri Nov 28, 2008 12:07 am ]
Post subject:  Re: How to change the Weapon Dmg and Oz

uh.. isnt this the mod-making thread for that huge rage thread? in that case, i dont think he's going to reply. that guy didnt like advice very much, but i suppose there was a lot of gun nuts arguing about the real life version of his weapon.

Author:  No_0ne [ Fri Nov 28, 2008 12:21 am ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Geti wrote:
uh.. isnt this the mod-making thread for that huge rage thread? in that case, i dont think he's going to reply. that guy didnt like advice very much, but i suppose there was a lot of gun nuts arguing about the real life version of his weapon.


That's why I find it best to avoid recreating things from real life, people get whiny about details.

Author:  DSMK2 [ Fri Nov 28, 2008 12:50 am ]
Post subject:  Re: How to change the Weapon Dmg and Oz

Like the uncanny valley that applies to 3D games when it comes to modeling human characters.

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