News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 3rd Aug 2003, 03:54 PM   #1
TaoPaiPai
Commisaire Van Loc
 
TaoPaiPai's Avatar
 
Join Date: Jun. 13th, 2000
Location: Matnik
Posts: 1,623
[ut2003]creating a GuiTabPanel for GameRules

Ok I've created a new gametype and linked to it a gameRules tab Panel in the Instant Action menu(via the int file)
Now the problem is that if I subclass it from GuiTabPanel none of my defaultProperties Subobjects work.
On the other hand,if I subclass it from tab_InstantActionGameRules,they do appear but I can't remove the default subobjects.
So anybody have a suggestion? what do I have to do to have my subobjects appear in a guiTabPanel?
TaoPaiPai is offline   Reply With Quote
Old 3rd Aug 2003, 04:12 PM   #2
TaoPaiPai
Commisaire Van Loc
 
TaoPaiPai's Avatar
 
Join Date: Jun. 13th, 2000
Location: Matnik
Posts: 1,623
Ok I just found out it was because of the variables winHeight and winTop that I didn't setup in defaultproperties.
I think they must be at 0 by default or something like that.
TaoPaiPai is offline   Reply With Quote
Old 4th Aug 2003, 04:21 PM   #3
TaoPaiPai
Commisaire Van Loc
 
TaoPaiPai's Avatar
 
Join Date: Jun. 13th, 2000
Location: Matnik
Posts: 1,623
after many tries I found out that you can't subclass a gamRules Tab Panel from GuiTabPanel because the play() function won't be called.
You ave to subclass it from Tab_InstantActionBaseRules and erase the default controls that you don't want to have (for example setting their dimensions to 0).
If anybody has a better way to do it please tell me.
TaoPaiPai is offline   Reply With Quote
Reply

Thread Tools
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 -5. The time now is 02:30 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer