Game Development Community

Tge Gui Questions

by Matthew Plant · in Game Design and Creative Issues · 11/04/2008 (5:19 pm) · 2 replies

1. How do I get rid of the chat hud's border array? Every time I delete it in the code, and in the gui editor, it just keeps coming back.

2. How to I get rid of that awful bevel effect?

Thanks :3

#1
11/18/2008 (8:55 am)
Alter the bitmap - but be careful there are some pixel areas you can't stray into.
#2
11/18/2008 (9:39 am)
Look in chathud.gui:
find where it defines GuiBitmapBorderCtrl(OuterChatHud)

the profile is defined as "ChatHudBorderProfile"
you can change this to another profile, "GuiDefaultProfile" will change it to no border.
or you can change the bitmap array defined by ChatHudBorderProfile, which you can find in
example/demo/client/ui/defaultGameProfiles.cs

-John