Items Get Shiny!

All Helbreath Server Source Discussion here.
Post Reply
misery
Regular
Posts: 62
Joined: Fri May 07, 2004 1:50 pm

Post by misery »

as you upgrade armors/weapons it gets darker in colour den it becomes shiny as u upgrade even more till +15 i dont know if you guys understand me.. source code? =X
"How art thou fallen from heaven."
misery
Regular
Posts: 62
Joined: Fri May 07, 2004 1:50 pm

Post by misery »

Below is a screenshot of how the weapon looks when it is fully upgraded to +15

<a href='http://img96.imageshack.us/img96/17/hel ... sdensh.jpg' target='_blank'>http://img96.imageshack.us/img96/17/hel ... nsh.jpg</a>

anyone know how to create this effect? the picture is kinda small might require some enlarging. anyway its a beserk wand that is shiny.. it glows
"How art thou fallen from heaven."
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

Copy dk+15 item cfg and edit sprite and sprite frame...
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

there should be some F000000 or smth in source code.
In UpgradeItemHandler or somewhere(when it get's +15) you could maybe change it to your colour?
<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' />
misery
Regular
Posts: 62
Joined: Fri May 07, 2004 1:50 pm

Post by misery »

but its not any of the colours below

Color:
0 = Normal
1 = Strong/Agile
2 = Strong/Agile
3 = Strong/Agile
4 = Green
5 = Gold
6 = Sharp (Blue)
7 = Righteous (White)
8 = Ancient (Purple)
9 = Blood (Red)
10 = Black

its shiny.. translucent i dont know how to describe anyone understand what i'm trying to say?
"How art thou fallen from heaven."
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

Yes i understand.
It's hard to make a shiny effect
there are already 3 shiny effects: Xelima, Ice and Medusa.
You can use one of these effects, but making your own will be tuff work
<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' />
misery
Regular
Posts: 62
Joined: Fri May 07, 2004 1:50 pm

Post by misery »

no its not the glowing of red/blue/green. it doesnt blink/glow. its just shiny. hmmm how am i able to potray what i trying to describle.. have u seen translucent shiny dragonwands before?
"How art thou fallen from heaven."
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

Try make Dragon Sword with 9 Color. it Will glow :P Dragon Staff too.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

You are maybe talking about the stars around the weapon... It comes with the Xelima / Merien Effect.
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
ogeid
Member
Posts: 110
Joined: Thu Feb 02, 2006 11:11 pm

Post by ogeid »

:lol: first search in game.cpp CLIENT SRC

DkGlare Function

Code: Select all

bool DKGlare(int iWeaponIndex, int iWeaponIndex, int *iWeaponGlare)

in that func search *iWeaponGlare = (number)

number 1 = RED SHINY
number 2 = green SHINY
number 3 = BLUE SHINY


if u wanna add new weapon whit that effect

add this code before end

Code: Select all

}else if (  ((iWeaponIndex >= DEF_SPRID_WEAPON_M + 64*17)&&(iWeaponIndex < DEF_SPRID_WEAPON_M + 64*37 + 56)) //Axe
  || ((iWeaponIndex >= DEF_SPRID_WEAPON_W + 64*17)&&(iWeaponIndex < DEF_SPRID_WEAPON_W + 64*37 + 56)))//Axe
	{	*iWeaponGlare = 3;
and change color -> iWeaponGlare = <span style='color:blue'>3</span>
and SPRITE -> 64*37

if u wanna see all weapon and armor sprite, search:

Code: Select all

void CGame::UpdateScreen_OnLoading(bool bActive
and go down.


:D

guide by yoko! thanks yoko!
"Prefiero morir de pie que vivir arrodillado"
Treax2
Loyal fan
Posts: 281
Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:

Post by Treax2 »

u dont ahve chnage noting in client source ... :S
and like u see the armor is not glowing ... it got special color !

so ->

in the hg source ->

requestitemupgradehandler ... there search about the + 15 codes (iValue = 15)

and

Code: Select all

if (iValue == 15) m_pClientList[iClientH]->m_pItemList[iItemIndex]->m_cItemColor = 9;
here it is ... if item became +15 ten it color = 9 :D ..
Post Reply