PDA

View Full Version : Tatoos and dyes


hamidouch
01.05.2005, 22:37
ok, i didnt played c2 offi, so i discovered that by myself, so i dunno if it rly works like this.

seems dyes are used to "craft" tatoos,
a npc will give you a tatoo for 10 dyes and it will appear as a symbol on the 3 tatoo slots, and cant be removed.

i looked into armorgrp, weapongrp etc .... nothing
so ive found its in hennagrp-e.txt
here is all infos about tatoos, its the file which define effects, icon, and slot of tatoos.
since our client is c2 and the file is a c2 file, its loaded by client.

so we "just" have to add a tatoo in itemdata or skilldata i though,
but line got to start by symbol_begin, same as item_begin or set_begin,
i didnt even tested because im nearly sure server wont recognize that,

my question is can we mod serv side to understand symbol_begin??

Truffe
02.05.2005, 02:13
Yes server will understand it if configured properly...
Have to configure a NPC for that...and here you go :)

hamidouch
02.05.2005, 08:20
erm ....
u sure?
and what u mean by configured properly?

hamidouch
02.05.2005, 13:57
bumpe

Truffe
02.05.2005, 19:49
Have to input symbols info on the server so it can recognize those..Etc
don't ask me how exactly lol... :lol:

Livid
02.05.2005, 20:03
HEX. Or maybe ai.obj... not shure. Most likely that both.

hamidouch
03.05.2005, 00:54
hex prolly
tried to add a line starting by symbol_name : parse eroor

porkmaster
06.05.2005, 19:19
As a start point (not fix but workaround) you could simply add the dyes as monster drops and create a npc that checks for a combination of dyes in PC's inventory (you can look at some other npc definitions in ai.obj to see how that can be done) and if pc has some combination of dyes, takes them and in return puts the tattoo matching the dye combination in PC's inventory.

hamidouch
06.05.2005, 23:10
i wont work on npc system until i can display tatoo as symbol,
would be useless.

porkmaster
07.05.2005, 09:53
Speaking of the wolf, anybody knows what's the slot_type for the mid-slot(s) on C2 client?

hamidouch
08.05.2005, 02:11
no slot_type
all info is in hennagrp
it define symbol on those slots

krapno
23.06.2005, 10:15
itemdata.txt
item_begin etcitem 4445 [dye_s1c3_d] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end

hennagrp-e/cn.txt
symbol_begin han_name=[Symbol of Strength] symbol_name=[symbol_s1c3_d] symbol_add_name=[Str+1 Con-3] symbol_id=1 dye_item_id=4445 symbol_icon=[icon.etc_str_symbol_i00] symbol_description=[Str+1 Con-3] equip_class=[Applicable Class Group: All classes after the first class transfer, not available after the second class transfer.] symbol_end

In that configuration we can get Dyes in inventory, warehouse, trade, put on the floor put we cannot get any symbol... no more idea about that ?

Regards,

hoho324
05.08.2005, 16:34
Just curious if anyone had any luck on this and if so would mind pointing me in the right direction as to implement this...

Thanks

Fulminus
05.08.2005, 17:57
To my knowledge, nobody got this to work.
Just a guess though: Items that are equipped are referrenced in the table with the character data, each within its own slot. Someone mentioned above that there is no slot for them. I'm not too sure about it. Something is telling me that the database needs extra fields representing the slots for the tattoos. If that be the case, it will be impossible to add them, unless someone can
1) Create the fields in the database, and
2) edit the hex in order to catch when the user is putting on a tattoo (via the NPCs) and put it there. It looks like a good size project to do with open source...let alone in hex!!!
As an added note to the first post: tattoos are removable. However, they may only be removed via the NPC who puts them on and people have to pay both for adding and removing tattoos. I haven't played in a server where tattoos work. I know that from reading the official site's descriptions ;)

torune
05.08.2005, 18:37
bug will exist, but the str/con/dex/wit/int/men can be changed

the only problem is the hp/mp criticaldmg and all those status wont be affected. sadly, but anyway lol

its shit load of work
i added 7000lines of codes for 12 symbols and there are 180.......