![]() |
Tatoos and dyes
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?? |
Yes server will understand it if configured properly...
Have to configure a NPC for that...and here you go :) |
erm ....
u sure? and what u mean by configured properly? |
bumpe
|
Have to input symbols info on the server so it can recognize those..Etc
don't ask me how exactly lol... :lol: |
HEX. Or maybe ai.obj... not shure. Most likely that both.
|
hex prolly
tried to add a line starting by symbol_name : parse eroor |
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.
|
i wont work on npc system until i can display tatoo as symbol,
would be useless. |
Speaking of the wolf, anybody knows what's the slot_type for the mid-slot(s) on C2 client?
|
no slot_type
all info is in hennagrp it define symbol on those slots |
itemdata.txt
Code:
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_endCode:
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_endRegards, |
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 |
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 ;) |
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....... |
| All times are GMT. The time now is 15:25. |