5 quick Qs
by Joseph Euan · in Torque Game Engine · 11/30/2004 (9:11 am) · 1 replies
Hi all,
Could someone answer afew quick questions please?
1. How do I add more than 1 image to the main game load screen?
2. What file do I edit to change the colour of the gui box? (I have already edited the GUI box items)
3. I want to use another font (for the chat hud), how do I add it?
4. When I add a new item to the player GUI then change the res the item moves... how do I stop it?
5. Where do I edit the colour of the GUI button text.
Thanks in advance
Also, sorry for posting this twice.
Joseph
Could someone answer afew quick questions please?
1. How do I add more than 1 image to the main game load screen?
2. What file do I edit to change the colour of the gui box? (I have already edited the GUI box items)
3. I want to use another font (for the chat hud), how do I add it?
4. When I add a new item to the player GUI then change the res the item moves... how do I stop it?
5. Where do I edit the colour of the GUI button text.
Thanks in advance
Also, sorry for posting this twice.
Joseph
About the author
Torque Owner Nick Zafiris
2, 3, 5. To edit color/text and other properties of a gui, first check which profile it's using (i.e. GuiDefaultProfile, GuiWindowProfile, etc.) and edit it's properties in the customProfiles.cs and defaultGameProfiles.cs files. I recommend you create your own custom profile though.
4. Make sure you set "horizSizing" and "vertSizing" to relative. You also need to set it's parent controls to relative also.
If you play around a little with the GUI Editor, and the .gui files, you'd be surprised on how much you'll learn by changing properties.
Nick