FOnline Development > Questions and Answers

FOnline SDK - Question

<< < (75/93) > >>

Wind_Drift:

--- Quote from: Wipe on April 15, 2013, 06:51:05 pm ---CrType limitations of wearing armor (and other things) are defined in data/CritterTypes.cfg, protos have nothing to do with that. Default scripts callbacks, in critter_item_movement module, won't allow any critter to use any armor if that's how it's set in .cfg

--- End quote ---

So basically, in the "Ar" column, we change the 0 to a 1 to allow that critter to wear armor we specify in their armor slot?

Wipe:
Without going into too much details: yea, that will do the trick.

Demenise:
ok cool thanks  ;D

Does anyone know anything about those encounters being kept on the world map?

MrCovin:
How is it possible to make NPC's barter ? I tried writing this on a NPC properties with the mapper:
ScriptName           trader
FuncName             _TraderInit

Then when i try to barter with the NPC, he doesn't want .... maybe someone got some tips to fix the problem ?

wladimiiir:

--- Quote from: MrCovin on April 18, 2013, 02:00:40 am ---How is it possible to make NPC's barter ? I tried writing this on a NPC properties with the mapper:
ScriptName           trader
FuncName             _TraderInit

Then when i try to barter with the NPC, he doesn't want .... maybe someone got some tips to fix the problem ?

--- End quote ---
Make sure that your NPC has MODE_NO_BARTER set to 0 (otherwise the message "You cannot trade with this person." will be shown).


--- Code: ---npc.ModeBase[MODE_NO_BARTER] = 0;
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version