FOnline Development > Questions and Answers

FOnline SDK - Question

<< < (70/93) > >>

Demenise:
How do I change the action points used for using a gun or throwing a weapon or melee attacks?
because its not in config.fos

Wind_Drift:

--- Quote from: Demenise on April 04, 2013, 04:11:42 pm ---How do I change the action points used for using a gun or throwing a weapon or melee attacks?
because its not in config.fos

--- End quote ---

AP cost is determined separately for each weapon, along with it's other stats such as damage, range, etc.

server/proto/items/weapon.fopro

You can open it with the object editor and have a UI to edit things with, but I've always had problem with the damn thing.  If you do, you can open it as a text file in Notepad and edit it that way.

Here's an example:  This is PID_CLUB

[Proto]
ProtoId=5
Type=3
PicMap=art\items\club.frm
PicInv=art\inven\club.frm
Flags=134217758
DisableEgg=1
Stackable=1
Weight=1360
Volume=2
SoundId=48
Cost=30
Material=3
Weapon_Anim1=5
Weapon_MinStrength=3
Weapon_ActiveUses=1
Weapon_CriticalFailture=1
Weapon_Skill_0=204
Weapon_Skill_1=200
Weapon_Skill_2=200
Weapon_DmgType_0=1
Weapon_Anim2_0=Anim2Swing1H
Weapon_PicUse_0=art\intrface\swing.frm
Weapon_PicUse_1=art\intrface\blank.frm
Weapon_PicUse_2=art\intrface\blank.frm
Weapon_DmgMin_0=1
Weapon_DmgMax_0=6
Weapon_MaxDist_0=1
Weapon_ApCost_0=3   <~  Right there is your Action Point cost.
Weapon_Aim_0=1
Weapon_SoundId_0=54

To find out which weapon (or item) is which, look in _itempid.fos

Demenise:
thank you very helpful ;D

Demenise:
is there a way to change the encounter rate?

Demenise:
Also how can I hide a location I want to remove the replication areas from the world map

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version