![]() |
|
|
#1 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
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?? |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Yes server will understand it if configured properly...
Have to configure a NPC for that...and here you go
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
erm ....
u sure? and what u mean by configured properly? |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
bumpe
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Have to input symbols info on the server so it can recognize those..Etc
don't ask me how exactly lol... :lol: |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
HEX. Or maybe ai.obj... not shure. Most likely that both.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
hex prolly
tried to add a line starting by symbol_name : parse eroor |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Feb 2005
Posts: 11
|
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.
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
i wont work on npc system until i can display tatoo as symbol,
would be useless. |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Feb 2005
Posts: 11
|
Speaking of the wolf, anybody knows what's the slot_type for the mid-slot(s) on C2 client?
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
no slot_type
all info is in hennagrp it define symbol on those slots |
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
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_end
Code:
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 Regards, |
|
|
|
|
#13 |
|
Архивный участник
Join Date: May 2005
Posts: 52
|
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 |
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jul 2005
Posts: 23
|
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
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
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....... |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|