Project

General

Profile

Feature #1421

Implement missing console commands

Added by rot tor almost 4 years ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Scripting
Target version:
Start date:
06/08/2014
% Done:

0%

Severity:
Normal

Description

Help
ToggleDebugText (TDT)
ToggleDialogueStats (TDS)
ToggleGrid (TG)
ToggleScriptOutput (TSO)
ToggleStats (TST)
ToggleTextureString (TTS)


Related issues

Related to OpenMW - Feature #2780: A way to see current OpenMW version in the console New 07/16/2015
Duplicated by OpenMW - Bug #1607: "help" command in the console doesn't work Rejected 07/01/2014

History

#1 Updated by scrawl . almost 4 years ago

"show" (to check the value of a global variable)

You can already do that by typing the name of the global variable into the console. Wouldn't hurt to also recognize 'show', though.

#2 Updated by rot tor almost 4 years ago

Good to know.

Another one is "set", I'm not sure whether it's only a console syntax limitation or could be indicative of another issue -
Vanilla lets you call "set [variable] to [value]" on an object from the console, and targets it on its local variables. OMW doesn't recognise that syntax in the console but you can use "set [ID].[variable] to [value]" to the same effect (which is how things must be written when this operation is done by a global script or another object's script)

#3 Updated by Lord Berandas almost 4 years ago

ToggleAI command works as expected, the short for it is "tai", not "ta"

#4 Updated by scrawl . almost 4 years ago

betacomment is now implemented.

#5 Updated by scrawl . over 3 years ago

  • Subject changed from Console commands to Console commands (Help, FixMe, ObjectReferenceInfo, Show, ToggleBorders)
  • Description updated (diff)

#6 Updated by scrawl . almost 3 years ago

  • Description updated (diff)

Removing 'ori' as per #2723.

#7 Updated by scrawl . almost 3 years ago

  • Subject changed from Console commands (Help, FixMe, ObjectReferenceInfo, Show, ToggleBorders) to Console commands (Help, FixMe, Show, ToggleBorders)

#8 Updated by Alexei Dobrohotov about 1 year ago

  • Duplicated by Bug #1607: "help" command in the console doesn't work added

#9 Updated by Alexei Dobrohotov about 1 year ago

  • Related to Feature #2780: A way to see current OpenMW version in the console added

#10 Updated by Alexei Dobrohotov about 1 year ago

  • Target version set to openmw-0.42

#12 Updated by Alexei Dobrohotov about 1 year ago

  • Subject changed from Console commands (Help, FixMe, Show, ToggleBorders) to Console commands (Help, FixMe, ToggleBorders)
  • Description updated (diff)
  • Category set to Scripting

#13 Updated by Andrei Kortunov about 1 year ago

"Fixme" is implemented too.

#14 Updated by Alexei Dobrohotov about 1 year ago

  • Subject changed from Console commands (Help, FixMe, ToggleBorders) to Console commands (Help, ToggleBorders)
  • Description updated (diff)
  • Target version changed from openmw-0.42 to openmw-1.0

Right you are.

#15 Updated by Andrei Kortunov 10 months ago

Is "Help" command supposed to show a static text, or a dynamic list of commands?
In second case we can modify Extensions::registerInstruction() to accept a command description as argument.

#16 Updated by Andrei Kortunov 10 months ago

Also a list of commands is a much larger than "Help" command show. Should we add a description for these commands too?

#17 Updated by Andrei Kortunov 9 months ago

And looks like vanilla game uses a static list.

#18 Updated by Andrei Kortunov 9 months ago

Also see: https://wiki.openmw.org/index.php?title=Scripting_(status)

We have a number of unimplemented or placeholder commands, mostly testing ones.

#19 Updated by Andrei Kortunov 9 months ago

  • Subject changed from Console commands (Help, ToggleBorders) to Unimplemented console commands

For now these commands are unimplemented:
1) Help
2) RepairedOnMe
3) GetPCTravelling
4) A lot of Toggle* commands

#20 Updated by Alexei Dobrohotov 8 months ago

  • Subject changed from Unimplemented console commands to Implement missing console commands
  • Description updated (diff)

There is little sense in adding ToggleLoadFade even when/if fast travel cell transition screen fading will/would be implemented. It just toggles the (broken) screen fading in the original engine; it's there seemingly just for debug. Shouldn't it just be "removed"?
Is there any documentation on what each (or any) command does?

#21 Updated by Alexei Dobrohotov 8 months ago

  • Description updated (diff)
  • debug of that fading.

ToggleModes isn't an actual command, it's a general encompassing term for all ToggleThing commands. I'll edit the wiki.

#22 Updated by Alexei Dobrohotov 5 months ago

  • Description updated (diff)

I've separated RepairedOnMe, ToggleBorders, ToggleCombatStats, ToggleMagicStats and ToggleKillStats to their own issues (#4255, #4256, #4257, #4258 and #4259 respectively) just now, but the issue arises that the purpose of most of the remaining commands is unknown.

Also available in: Atom PDF