How to make ''WeponsDye''

All Helbreath Server Source Discussion here.
xmukox
Member
Posts: 175
Joined: Sun Sep 11, 2005 9:53 am

Post by xmukox »

Hello all i have questions how to make ''WeponsDye''

ArmorDye:

Item = 920 ArmorDye(Yellow) 11 0 (32) 13 0 0 0 0 0 1 0 6 70 -100 1 -1 0 0 0 0 0 -1 42 0

Dye:

Item = 371 Dye(Khaki) 11 0 (17) 12 0 0 0 0 0 1 0 6 69 100 1 -1 0 0 0 0 0 -1 42 0

and WeponsDye:

WeponsDye(Khaki) 11 0 (??) 12 0 0 0 0 0 1 0 6 69 100 1 -1 0 0 0 0 0 -1 42 0

How numer to Wepons Dye?:> some one know?;F
Tafka12
<3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

you have to put something to.. the items class.

and then in game.cpp and everywhere :P


Item.h

#define DEF_ITEMEFFECTTYPE_ARMORDYE 32

this is armor dye add this there.
like

#define DEF_ITEMEFFECTTYPE_WEAPONDYE 33

i dont know what in game.cpp
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
jonisan
Member
Posts: 164
Joined: Sat Jan 07, 2006 1:14 pm
Location: Fin

Post by jonisan »

Lol i tryd and its working :P really good looking when you add deva to gold :D
<img src='http://i72.imagethrust.com/i/160466/newww.png' border='0' alt='user posted image' /><br><br><img src='http://img154.imageshack.us/img154/9360/tagi7wk.png' border='0' alt='user posted image' /><br><br><img src='http://img446.imageshack.us/img446/6094/uusi0xr.png' border='0' alt='user posted image' /><br><br><img src='http://img73.imageshack.us/img73/9738/xpuser3xy.png' border='0' alt='user posted image' /><br><br><b><u><span style='color:red'>Noobie List:</span></u></b><br><span style='color:blue'><i>BlueChristmas</i></span>
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

so with what code you got it working?
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
xmukox
Member
Posts: 175
Joined: Sun Sep 11, 2005 9:53 am

Post by xmukox »

Tafka12 wrote: so with what code you got it working?
with that ''33'' in my files working too thenks.
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

uh no problem lol :D
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
Alz
Regular
Posts: 40
Joined: Fri Dec 30, 2005 2:54 pm
Location: Estonia.

Post by Alz »

ok, i added #define DEF_ITEMEFFECTTYPE_WEAPONDYE 33 ting into item.h and i made Weapon Dyes. ill hope it work.

And btw, thx :P
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

hmm can you post screens too then xD
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
Windy
Member
Posts: 157
Joined: Tue Nov 18, 2003 8:31 am
Location: wishing I was somewhere else

Post by Windy »

are u serious? post screens of pointless stuff like dyed deva....if your that desperate and you really cant add in a simple weapon dye then just change the color in either the item configs or the saved items in a characters file....

<span style='color:blue'>Coding with Evil Intentions....Evil at its Best....</span>
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

Hey i told how to do it, i just wanna see 1 screen.

"If i dont know how to do it" I told how to do it

Gay
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
Windy
Member
Posts: 157
Joined: Tue Nov 18, 2003 8:31 am
Location: wishing I was somewhere else

Post by Windy »

I cant believe useless posts like these are still being posted, helbreath development is dieing because alot of the good coders out there for HB have given up, even I have become to lazy to bother with adding new things....I dont get why people are bothering anymore....helbreath is a good game but once your out of school its just something else you dont have time for....in other words work sucks and alot of the good coders are too old to bother with coding for a game after working day in and out
<span style='color:blue'>Coding with Evil Intentions....Evil at its Best....</span>
Namesis
Regular
Posts: 88
Joined: Fri Mar 03, 2006 12:53 pm

Post by Namesis »

that doesnt works... you can create it and all but IT doesnt change color when you try to dye it.. ¬.¬
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

weapons dye is a waste imo <_<
Namesis
Regular
Posts: 88
Joined: Fri Mar 03, 2006 12:53 pm

Post by Namesis »

lol.. i was making shit with that code and plap.. now i can dye hero robes :blink: :huh: :P
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

Namesis wrote: lol.. i was making shit with that code and plap.. now i can dye hero robes :blink: :huh: :P
hero robe was always dyable all you needed to change was it in the cfg
Post Reply