Sidebar PT [message #461871] |
Thu, 19 January 2012 22:02 |
|
jlhill17
Messages: 45 Registered: September 2011
Karma: 0
|
Recruit |
|
|
I want to use the sidebar-style PT in my mod, but I don't know how to incorporate it. I assume it's more than just adding MDB_Sidebar_Key.
What do I do to make it work?
|
|
|
Re: Sidebar PT [message #461876 is a reply to message #461871] |
Fri, 20 January 2012 00:24 |
|
sla.ro(master)
Messages: 610 Registered: September 2010 Location: Romania
Karma: 0
|
Colonel |
|
|
is somewhere in TT.ini, you need to run TT in order to have sidebar for your mod.
Creator of Mutant Co-Op
Developer of LuaTT
|
|
|
|
Re: Sidebar PT [message #461901 is a reply to message #461871] |
Fri, 20 January 2012 21:07 |
Generalcamo
Messages: 522 Registered: October 2010
Karma: 0
|
Colonel |
|
|
Create the file tt.ini in your mod's Data Folder.
Type in the file:
Now, in that file, you have the following options:
The following keywords apply to the sidebar logic
GDIUpArrowTexture is the texture for the up arrow button for GDI
GDIDownArrowTexture is the texture for the down arrow button for GDI
GDIBackgroundTexture1 is the upper half of the background texture for GDI
GDIBackgroundTexture2 is the lower half of the background texture for GDI
NODUpArrowTexture is the texture for the up arrow button for Nod
NODDownArrowTexture is the texture for the up arrow button for Nod
NODBackgroundTexture1 is the upper half of the background texture for Nod
NODBackgroundTexture2 is the lower half of the background texture for Nod
RefillLimit is the refill limit in seconds
AlternateSelectEnabled determines if the special alternate selection logic is enabled
GDIAlternateSelectTexture1
GDIAlternateSelectTexture2
GDIAlternateSelectTexture3
GDIAlternateSelectTexture4
These 4 are the 4 textures for the alternate selection buttons for GDI
NODAlternateSelectTexture1
NODAlternateSelectTexture2
NODAlternateSelectTexture3
NODAlternateSelectTexture4
These 4 are the 4 textures for the alternate selection buttons for Nod
Note that the 4 background textures can have alpha transparency
SidebarSoundsEnabled=true. Set this to have new sounds for the sidebar purchasing.
SidebarRefillSound Set this to the sound to use when refilling.
SidebarInfantrySound Set this to the sound to use when buying infantry
SidebarVehicleSound Set this to teh sound to use when buying vehicles.
|
|
|
Re: Sidebar PT [message #461925 is a reply to message #461871] |
Sun, 22 January 2012 08:28 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
The tt.ini file needs to have "[General]" at the top of the document or those keywords won't work.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
|
Re: Sidebar PT [message #461941 is a reply to message #461871] |
Sun, 22 January 2012 14:27 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
You don't need to use JFW_Sidebar_PT if it's a mod. Did you place tt.ini in your My Dcouments -> Renegade -> Client folder?
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
|
Re: Sidebar PT [message #461952 is a reply to message #461871] |
Sun, 22 January 2012 19:13 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
Yeah, the normal PTs should show up as sidebars and you shouldn't be able t join a server like st0rm 4.0.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
Re: Sidebar PT [message #461955 is a reply to message #461871] |
Sun, 22 January 2012 20:52 |
Generalcamo
Messages: 522 Registered: October 2010
Karma: 0
|
Colonel |
|
|
It does not work for a package mod, as tt.ini is only loaded on start.
The only way to make it work in 4.0 is with a standalone mod. 3.4.4 had these settings in the hud.ini. You could try that, but I doubt it will work.
|
|
|
|