Modify some value

正在查看此主题的用户

sienda

Recruit
Hello,

sorry for my English is not my language ...

I try to modify the damage caused by arrows, horses and spears against the horses. Do you know where I can change these values? Do you have values to advise me?

Thank you very much in advance for your help  :smile:
 
Hi, and welcome to the amazing World of the module development!  :mrgreen: That questions can be easilly answered:  :wink:

The horses, arrows and spears are items, to edit it you should download and install the Module System (there are a lot of tutorials about this), when you are ready locate module_items.py file and modify the item flags of each object:

For example:
:arrow: To change the damage that causes a horse, edit the following flag: horse_charge(14)

:arrow: To change the damage that causes a bow/pistol/crossbow, edit the following flag:thrust_damage(41 ,pierce)
(you can also change the type of damage)

:arrow: The same process for every item, you just should find the correct flag... its very easy...  :idea:


PD: Do not use notepad to open the .py files use Notepad++ or Notepad2. Greetings from Spain  :smile:
 
You can also download the item editor, its much more simple.

If you just want to edit use the item editor.

If you are making a mod use the Module System.

:wink:
 
Thank you very much for your help. I don't understand something: The module_items files don't locate in a specific mod. If I modify it, how change it the native expansion mod and not the fire arrow mod for example ?
 
fire arrow has a source code native expansion don't so you can't use use the module. native mount and blade can be edited.
 
后退
顶部 底部