Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.05.2005, 22:37   #1
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default 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??
hamidouch is offline  
Old 02.05.2005, 02:13   #2
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

Yes server will understand it if configured properly...
Have to configure a NPC for that...and here you go
Truffe is offline  
Old 02.05.2005, 08:20   #3
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

erm ....
u sure?
and what u mean by configured properly?
hamidouch is offline  
Old 02.05.2005, 13:57   #4
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

bumpe
hamidouch is offline  
Old 02.05.2005, 19:49   #5
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

Have to input symbols info on the server so it can recognize those..Etc
don't ask me how exactly lol... :lol:
Truffe is offline  
Old 02.05.2005, 20:03   #6
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

HEX. Or maybe ai.obj... not shure. Most likely that both.
Livid is offline  
Old 03.05.2005, 00:54   #7
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

hex prolly
tried to add a line starting by symbol_name : parse eroor
hamidouch is offline  
Old 06.05.2005, 19:19   #8
porkmaster
Архивный участник
 
Join Date: Feb 2005
Posts: 11
Default

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.
porkmaster is offline  
Old 06.05.2005, 23:10   #9
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

i wont work on npc system until i can display tatoo as symbol,
would be useless.
hamidouch is offline  
Old 07.05.2005, 09:53   #10
porkmaster
Архивный участник
 
Join Date: Feb 2005
Posts: 11
Default

Speaking of the wolf, anybody knows what's the slot_type for the mid-slot(s) on C2 client?
porkmaster is offline  
Old 08.05.2005, 02:11   #11
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

no slot_type
all info is in hennagrp
it define symbol on those slots
hamidouch is offline  
Old 23.06.2005, 10:15   #12
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

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
hennagrp-e/cn.txt
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
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,
krapno is offline  
Old 05.08.2005, 16:34   #13
hoho324
Архивный участник
 
Join Date: May 2005
Posts: 52
Default

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
hoho324 is offline  
Old 05.08.2005, 17:57   #14
Fulminus
Архивный участник
 
Join Date: Jul 2005
Posts: 23
Default

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
Fulminus is offline  
Old 05.08.2005, 18:37   #15
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

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.......
torune is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:53.