PwnageG0d (02-16-2010)
there is a lot of peapel there asking if you can change the damge of a wep. and the answer is NO!.
here is a TUT i leached from another site i cant say here:
[leached stuff]
Table of Contents.
1. A short introduction
2. What This is about
3. What is a mod?
4. Why no Damage change?
5. Smart modding.
6. End word
1. A short introduction
hey, i have been modding for quite some time now, and ofcourse, checking ********* alot. what i
noticed while scrolling trough these mods/Requests was than people dont understand the basics of
modding, so i figured wth. ill tell em.
2. What this is about
This little tutorial is designed to make you understand certain basics about modding, for example
WHY isnt damage changeable with mods. this focuses on the sometime un-important details of modding
wich CAN be of great importance once you created it.
3. What is a mod?
simpel: a mod is a change to an existing weapon.
non-simple (lol): a mod is the altering of LTB files, inplented in these files is, (among others)
the fire rate of a weapon, the recoil and accuracy. extracting and renaming these files. and
afterwards injecting them back into a useable format, can drasticly change your gameplay in CA
say you switched the m16 for the m4a1, seeing the m4 has less recoil, the 'new' m16 has this recoil
reduction too. for other players watching you fire these kind of weapons. it will look like a really
big lagg.
4. Why no damage change?
to begin with, Damage is serversided, thus not included in any LTB files.
heres a simplified example of how things work:
Imagine, there are three persons standing in the room, one of them is you, the second is the 'middleman'
(the server). and the third is the enemy.
to keep it simple. you: A server: B enemy C
you are wielding an average weapon, wich has a damage of 25 (yesh thats low.)
you fire 4 shots at the enemy, heres how this works:
A tells B that he/she has fired 4 rounds of this weapon.
B decides that these bullets deal 25 damage each
B calculates: 4x25=100
B tells C that he has recieved 100 points of damage, thus killing C.
Now, because the server decides, and afterwards calculates the damage, you cant change it.
But what you CAN change: is the number of rounds fired in the same amount of time.
5. Smart modding.
My conclusion is that it would be wiser to, say switch the SR25 with a UMP then with an L96.
because although the L96 is 1 shot kill, the server still thinks you are wielding an SR25
Thus only dealing the damage to C of an SR25.
But, an ump has a fast rate of fire. and the server 'believes' A when he sais "i fired 20 rounds"
Dealing over 3000 damage to C.
6.End Word
This tut is not to LEARN how to modd, it is to better understand, and act according to the knowledge
gained from it. it took me around an hour to make this tutorial (im dutch) and i hope this helps you
in your future modding work [/leached stuff]
hope you understand this
PwnageG0d (02-16-2010)
good for the choobs i guess
LIVERPOOL FC
this is basically what i have been saying all along...
though, the server does not calculate the damage.. the damage is written into the attributes, which loads with the game, thus changing your own attributes, would only give you the changes, thus making it client sided