Please ask your basic (newbie) questions in here. - by scumble
Mandrake on 27/3/2005 at 20:39
Quote Posted by Krypt
Don't use bHidden, it is an obsolete property left over from unreal. It probably works to some extent, but it's not the right way to do it because I believe the game still calculates physics and AI and stuff on it even when it's hidden. bOutOfWorld is the property you should be using to hide/unhide stuff.
bOutOfWorld works nicely... I'd already noticed it being used on the "staff" in the cradle when I went looking to figure out how they appeared in the "past" cradle but not the present.
In my test map I have a push button on a wall that toggles some Guards on and off :cheeky:
Does time flow for Guards stop when they're "off" like this ? It's a bit hard to tell. For example if he's chasing you and you turn him off for a couple of minutes, will he resume the chase, or will he have given up by then ?
Also vaugly related, with Triggerscripts that toggle a value (such as bOutOfWorld), why is it necessary to include the action "Reset Script conditions and actions" as the last action ?
Initially I just had:
Toggle [bOutOfWorld] on linked objects of type [TriggerScript]
and it worked once, but wouldn't toggle back again. Then I looked at the light On/Off script and saw the reset script line, and it toggles fine after I added it, but just wondered why its needed?
2003MINI on 28/3/2005 at 15:50
Alright, completely noob question. What is the command to show the FPS? I tried the show_stats command, as indicated in the T1 & T2 forums. I hit the ~ button in the debug mode, typed in show_stats, and nothing happened (actually got "invalid command" or something like that).
What should I be doing differently?
-2003Mini
OrbWeaver on 28/3/2005 at 15:55
Quote Posted by Mandrake
Also vaugly related, with Triggerscripts that toggle a value (such as bOutOfWorld), why is it necessary to include the action "Reset Script conditions and actions" as the last action ?
All scripting systems need a distinction between "run this script once, then forget about it" and "run this script each and every time the trigger conditions are met". Whether you do it this way round, or have the scripts run every time by default with an additional "discard this script after use" option is a design decision.
scumble on 28/3/2005 at 16:01
Quote Posted by 2003MINI
Alright, completely noob question. What is the command to show the FPS? I tried the show_stats command, as indicated in the T1 & T2 forums. I hit the ~ button in the debug mode, typed in show_stats, and nothing happened (actually got "invalid command" or something like that).
What should I be doing differently?
-2003Mini
Well, you aren't going to get very far with dromed commands...
You can get a debug menu by pressing backspace in game, and the option to display FPS is in there.
jolynsbass on 28/3/2005 at 18:31
Quote Posted by 2003MINI
Alright, completely noob question. What is the command to show the FPS? I tried the show_stats command, as indicated in the T1 & T2 forums. I hit the ~ button in the debug mode, typed in show_stats, and nothing happened (actually got "invalid command" or something like that).
There is also a great, FREE program called fraps that will show you the fps on Direct3d games/apps. Its very good. just search for it on google or something.
2003MINI on 28/3/2005 at 18:59
Quote Posted by scumble
You can get a debug menu by pressing backspace in game, and the option to display FPS is in there.
Thanks for the help. One problem. When I press back-space, all I see is a black box on the screen with no writing in it (unless the writing is black, as well). Is there some way to change this?
van HellSing on 28/3/2005 at 19:14
If you are running fullscreen, try switching into windowed mode.
nomad of the pacific on 29/3/2005 at 00:13
Press "~" in game and type "Stat FPS" without the quotes, of course.
I also have the black menu with no text when I try to use backspace. I run in windowed mode, so that's not the solution.
SneaksieDave on 29/3/2005 at 00:26
No text?? Do you have T3Menu.ini in your system folder? After the initial comments at the top, it starts out:
[T3 Debug Menu]
{
[CitySection]
{
<'Day 1', setint sta_gameday 0>
<'Day 2', setint sta_gameday 1>
<'Day 3', setint sta_gameday 2>
<'Day 4', setint sta_gameday 3>
etc...