Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: advanced repair/dirt system
Re: New feature: advanced repair/dirt system[message #353239 is a reply to message #353234] Fri, 20 April 2018 01:22 Go to previous messageGo to next message
sylar951

 
Messages:53
Registered:December 2013
So what do I do next. Is it tweakable? I want to increase the chance of all armors getting permanent status damage (repairable only by gunsmiths or merc engineers). Is there some parameter in xml or ini files which I can edit or add?
Btw, in items.xml <damage chance> tag is not present on armors, only on weapons.

[Updated on: Fri, 20 April 2018 01:26]

Re: New feature: advanced repair/dirt system[message #353251 is a reply to message #353239] Fri, 20 April 2018 23:02 Go to previous messageGo to next message
Flugente

 
Messages:3339
Registered:April 2009
Location: Germany
It seems that the tag affects guns and attachments, but not armours, so for now you can't alter it. Not sure why... if there was a reason for this I've long forgotten it. I can change that when I get to it.
So much to do.

[Updated on: Fri, 20 April 2018 23:03]




“What are you doing?” Joffrey interrupted him.

“… can’t a man give a few last words for his son to carry?”

“…Who told you your son was making it out of this field alive?”

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: New feature: advanced repair/dirt system[message #353258 is a reply to message #353251] Sat, 21 April 2018 11:46 Go to previous message
silversurfer

 
Messages:2292
Registered:May 2009
The reason may be that armor is not "used" in any way.
When we use (fire) a gun the damage chance modifies the chance for item damage when the gun jams. Attachments for the gun are allowed to modify the damage chance as well.
<DamageChance> is also used when we are in deep water so it should already apply to any item that has the tag. In default 1.13 armor doesn't seem to have <WaterDamages> tag but both tags could be added if that makes sense.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Previous Topic: New feature: creature raids
Next Topic: New feature: individual militia
Goto Forum:
  


Current Time: Mon Jun 25 12:48:30 EEST 2018

Total time taken to generate the page: 0.01759 seconds