![]() |
|
#1
|
|||
|
|||
![]()
I've searched for this, come up with nothing...
How do I modify an item? Say I want make beer heal you a tiny bit, like a bandage. How would I do that? Or perhaps make a hat that helps you run faster? (Body armor modifies your health, other things should be able to |
#2
|
|||
|
|||
![]()
Lolz, ive got no idea on this one, though armor doesnt modify your health. In the Properties, Human.ext there is a section on body armor itself, it doesnt add health, it simply reduces damage, the human.ext body armor section tells you how much, ive got it set atm at like 35 or so. As for the healing beer ive got nothing, never was able to find anything on health kits myself....been trying to figure out how to make them heal more maybe but kinda gave up on it.
|
#3
|
|||
|
|||
![]() Quote:
Also what about modifying weapons? Any tips on how to do that? I noticed that the .def files for the MGs are all very different, so I am pretty confused |
#4
|
|||
|
|||
![]()
I have no idea on the hat, you would have to play around with it, I try to edit as little as possible to get the effect I want b/c when you edit this game it sometimes pulls up a random error and I have hell trying to get it fixed.
As for the weapon it's best to piece together one standard file layout that works for you can just use it on all weapons. I know the layouts for all the weapons is different and thats quite annoying...I stuck with this layout for all my guns {from "pattern smg" {filling "ammo pistol" 30} {mass 5} {entity "L85a2s"} {fireSound "smg/ppsh_burst"} {reloadSound "mp44"} {speed 300} {recoveryTime 0.5} {aimRange 70} ; == maxRange {maxRange 70} {spreading 1 {BurstAccuracy 100 96 95 93 92 92} {SpreadPower 0.05} {SpreadXYRatio 0.05} {SpreadYadjust 0.02} } {healthDamage 80} ("accuracy_carabine") } However, you still have to makesure the pattern at the top is associated with the proper weapon, if you have a weapon in the mgun folder its gotta have Pattern Mgun at the top and such. It took awhile to get all my guns right but it was worth it and it makes making changes easier. As for Tank guns this is what I use {from "pattern gun" ; "Pz5G" {filling "bullet75"} {fireSound "gun/50to76_cal/75mm_kwk42"} {reloadSound "gun_r01"} {rechargeTime 6} ("range_130+") {range 150 150} ("speed" s(2000)) ("75-76caliber") {projectileDamage 150} {projectileDamageTable {0 160} {40 149} {80 138} {120 127} {150 116}} } You might have to add in the ("accuracy panther") and stuff back into it but that layout there is how I have my Tank guns set. For these you gotta make sure w/e caliber you are editing you go into one of the preset files in the "gun" folder and it has several lines of caliber, like here the gun is a 75mm so it has 75-76 caliber there...if it was a 85mm you would have to put it to I think 85-90caliber or something. Just look in the proper file it will tell you. Weapon editing is not that hard. One more thing, dont forget any of the { } things where they need to be otherwise you will get a "block terminator expected" error....the error message will tell you where the missing one is so just read the message, though sometimes it just likes to be bitchy and refuse to work...ive had that happen despite the fact ive used the same method for like 50 guns and infantry weapons. |
#5
|
|||
|
|||
![]()
what are the other values for accuracy other than accuracy_carabine?
|
#6
|
|||
|
|||
![]()
Look in your small.firearms.accuracy file, they are all in there.
The 'set' folder has all the good stuff in it once you get it extracted. |
![]() |
|
|