Page 1 of 1

How to edit weapon

Posted: Sat Dec 29, 2018 8:58 am
by wzfcns
How to edit weapon?like change the power of bow.
Is there any guide talk about it?

Re: How to edit weapon

Posted: Mon Dec 31, 2018 8:21 am
by Femto
You need to tweak "Field of Glory II\Data\scripts\CombatTools.BSF" to edit weapon effectiveness. The bsf file can be edited by using Notepad++.
But before modding, it is recommended that you read basic modding guide provided by Slitherine below, especially "1.1 The Basics" and "1.2 Creating a Mod".

http://archonwiki.slitherine.com/index.php/Modding

Now the part about bow is between line 2111 and 2334 of the file. Specifically line 2172 and 2176 set the POA.
Sorry for my poor English. Hope this helps.

Re: How to edit weapon

Posted: Wed Jan 16, 2019 8:11 am
by wzfcns
thanks a lot!
Is that any way to add new weapon?

Re: How to edit weapon

Posted: Wed Jan 16, 2019 8:19 am
by rbodleyscott
wzfcns wrote: Wed Jan 16, 2019 8:11 am thanks a lot!
Is that any way to add new weapon?
Yes you could add a new weapon, but you would have to:

1) Add a new column to the Squads file.
2) Script the effects of the weapon in various places - depending on whether it is a close combat or a shooting weapon.
3) Add the necessary strings to display it in the UI.

Re: How to edit weapon

Posted: Tue Jan 22, 2019 2:45 pm
by wzfcns
rbodleyscott wrote: Wed Jan 16, 2019 8:19 am
wzfcns wrote: Wed Jan 16, 2019 8:11 am thanks a lot!
Is that any way to add new weapon?
Yes you could add a new weapon, but you would have to:

1) Add a new column to the Squads file.
2) Script the effects of the weapon in various places - depending on whether it is a close combat or a shooting weapon.
3) Add the necessary strings to display it in the UI.
Thanks a lot!