Select team GUI ..
by CIMO · in General Discussion · 05/30/2006 (4:27 am) · 28 replies
It's possible to disable the select team GUI?
I have use the "Team implementation" resource....And this resource have a Select Team GUI for select the team..
Call with "ctrl t" and see the GUI...
I have a single player and multy player type of game...And i would that the Select Team GUI in single player game it is not looked at....
A code for this? thanks...
I have use the "Team implementation" resource....And this resource have a Select Team GUI for select the team..
Call with "ctrl t" and see the GUI...
I have a single player and multy player type of game...And i would that the Select Team GUI in single player game it is not looked at....
A code for this? thanks...
#22
05/30/2006 (1:57 pm)
I insert echo($singlePlayerMap);in consolle and it does not succeed nothing
#23
05/30/2006 (2:00 pm)
You do not need to write the ; when writing that code in the console, but it doesn't hurt either.
#25
If you mean a single game " never host multi " all ok i start the single game
---
But is a strange....If i write this->
But when reload the game....The select GUI return ....
05/30/2006 (2:20 pm)
What you mean for "When you loaded the single player map?"If you mean a single game " never host multi " all ok i start the single game
---
But is a strange....If i write this->
$singlePlayerMap=true;in consolle....the Select GUI not see =D
But when reload the game....The select GUI return ....
#26
Or if you are using let's say the Stronghold map from the starter.fps and want to load that as a singlePlayerMap then open the stronghold.mis and add that line at the end of the file.
That should do it.
05/30/2006 (2:34 pm)
Ok when you load the map, you are prob calling a method doing that you need to add this line of code to it, if it's a single player map:$singlePlayerMap=true;
Or if you are using let's say the Stronghold map from the starter.fps and want to load that as a singlePlayerMap then open the stronghold.mis and add that line at the end of the file.
That should do it.
#27
this script create a "singlePlayerMap" = true ( only single player in my case =D )
I use this ->
ALL OK =D the SelectGUI not see in my single game and see in my multi game =D
You GREAT i learn =D
THANKS =D
05/30/2006 (2:43 pm)
YES =D i learn =Dthis script create a "singlePlayerMap" = true ( only single player in my case =D )
I use this ->
$singlePlayerMap=false;in my multiplayer and.....
ALL OK =D the SelectGUI not see in my single game and see in my multi game =D
You GREAT i learn =D
THANKS =D
#28
05/30/2006 (2:46 pm)
I don't know about The Game Programmer's Guide to Torque (GPGT), as I haven't read it. But reading GPAiO this code is rather obvious and strait forward. So I can only recomend getting the GPGT and start reading it.
Associate Scott Burns
GG Alumni
echo($singlePlayerMap);
Cimo, you really should consider getting the book so can learn the fundamentals of the engine. A good C++ book would also be a wise investment so you can learn the fundamentals of programming in general.