1 Attachment(s)
GunZ 1.0 like shop layout
Hello,
Since some people dislike the layout of the GunZ 1.5 store/equip menu I'll tell you what to edit in the source and xml
First extract default.mrs and edit shop.xml
Goto:
Code:
<EQUIPMENTLISTBOX item="AllEquipmentList" parent="Shop">
And change:
Code:
<NUMCOLUMN>2</NUMCOLUMN>
to:
Code:
<NUMCOLUMN>1</NUMCOLUMN>
Now open equipment.xml
Goto:
Code:
<EQUIPMENTLISTBOX item="EquipmentList" parent="Equipment">
And change:
Code:
<NUMCOLUMN>2</NUMCOLUMN>
to:
Code:
<NUMCOLUMN>1</NUMCOLUMN>
Recompile default.mrs
Now the C++ part.
Go to Mint2/source
Open MMultiColListBox.cpp
Change:
Code:
, m_desiredNumRow(4)
, m_itemHeight(16)
to
Code:
, m_desiredNumRow(8) //4
, m_itemHeight(8) //16
Now go to Gunz and open ZShopEquipListbox.cpp
Goto: void ZShopEquipListItem::OnDraw
change:
Code:
if (bSelected)
pDC->SetColor(220, 220, 220);
else if (bMouseOver)
pDC->SetColor(60, 60, 60);
else
pDC->SetColor(30, 30, 30);
to:
Code:
if (bSelected)
pDC->SetColor(220, 220, 220);
else if (bMouseOver)
pDC->SetColor(60, 60, 60);
else
pDC->SetColor(19, 19, 19);
change:
Code:
if (!bSelected)
pDC->SetColor(200, 200, 200);
else
pDC->SetColor(20, 20, 20);
to:
Code:
if (!bSelected)
pDC->SetColor(200, 200, 200);
else
pDC->SetColor(19, 19, 19);
Attachment 114699
Side note: To make the menu smaller, use the GunZ 1.0 shop xml and dds files and such
Re: GunZ 1.0 like shop layout
Re: GunZ 1.0 like shop layout
OMG. Thank you so much. I hate the big fucking Gunz 1.5 shop. It's so hard to see
Re: GunZ 1.0 like shop layout
already most kind and cute guy in gunz cummonity i love u :)
Re: GunZ 1.0 like shop layout
Quote:
Originally Posted by
bulli10
already most kind and cute guy in gunz cummonity i love u :)
Haha thanks! :)
Re: GunZ 1.0 like shop layout
Finally something useful, Good work
Re: GunZ 1.0 like shop layout
Re: GunZ 1.0 like shop layout
Re: GunZ 1.0 like shop layout
Look so good and decent, unlike the Gunz 1.5 Shop, it's so weird.
Nice releases. Cute Item Shop Face.
Re: GunZ 1.0 like shop layout
Gunblade, such an experienced developer, good job
Re: GunZ 1.0 like shop layout
Quote:
Originally Posted by
bulli10
already most kind and cute guy in gunz cummonity i love u :)
Are you hitting on him? :O
Anywayz.. good release ;).
Re: GunZ 1.0 like shop layout
Could spend some time perfecting it to look just like the 1.0 one.
Re: GunZ 1.0 like shop layout
This tutorial works with 2008's server files?
Re: GunZ 1.0 like shop layout
Quote:
Originally Posted by
gatsu
This tutorial works with 2008's server files?
Why you need this on 2008 files if on 2008 files Already have it.
Re: GunZ 1.0 like shop layout
Yay finally i can change it to the large icon back. Thanks man i can reverse it from 1.0 to 1.5 shop :D