Anonymous
×
Create a new article
Write your page title here:
We currently have 632 articles on SpellForce Wiki - Rohens encyclopedia. Type your article name above or click on one of the titles below and start writing!



SpellForce Wiki - Rohens encyclopedia

SpellForce 1 Console Commands: Difference between revisions

0z2y (talk | contribs)
0z2y (talk | contribs)
Line 333: Line 333:


==<span id="Ocean"></span>Ocean==
==<span id="Ocean"></span>Ocean==
{| class="wikitable" style="min-width: 75%;max-width: 95%;"
|+ style="caption-side:bottom; color:#f00;"|''Capital letters are important.''
|-
! style="color:lime;width: 35%" | Command
! style="color:#e60" | Description
|-
|<code>Ocean:SetFog (1,1)</code>
|With 1.1 it makes visible the sea (it is not as fog covered) as it switches off and other params are unknown.
|}


==<span id="Render"></span>Render==
==<span id="Render"></span>Render==

Revision as of 22:40, 11 November 2022


Page Navegation

Map of Fiara
Map of Fiara

To open the Console, either use CTRL + ^, Ctrl + ], or Ctrl + +.

It depends on where you live and got your keyboard from.

But I never got this shortcuts to work on opening the console. What worked for me was Ctrl + ´. And that made me realize that what matters to open the console is the key located below Backspace on my keyboard.

Take a look at the following image:

Keyboard
Keyboard

To open the console, it's Ctrl + whatever key is on that marked location on your keyboard.

Make sure what you enter, all commands case-sensitive.

The console remembers all entered commands, even if you end the game.

Press UP or DOWN to browse through your before entered commands.

When you can type in 1 or 0 (where x = 1 = ON and x = 0 = OFF).

Any of the commands below might damage your game. Don't use them unless you know what you're doing and even if you do know, be ready to face the consequences!

Console commands

Capital letters are important.
Command Description
Application:SetGodMode (1) Immortality
Application:GiveMeGoods (x) x units of each raw material
Application:SetNoManaUsage (1) You won't use mana for Spells
Application:FastHeroCast (1) Heroes get created fast
Application:SetBuildingFastBuildMode (1) Fast building
Application:SetFigureTechTreeMode (1) All Unit Plans available
Application:SetBuildingTechTreeMode (1) All Building Plans available
Application:AddTimer (x,y,x)
Application:StartTimer () Starts the timer
Application:Test_FigureVanish ()
Application:Log ()
UnExplored:Enable (0) The whole map is uncovered
Application:TeleportAvatar (x,y) x is your X-coordinate and the y the Y-coordinate

The points on the maps are 0 , 0 (down left corner) and 500,500 (upper right corner). 250,250 is the Middle of the map

AppSession

Capital letters are important.
Command Description
AppSession:SetPauseMode (1) Pause the game.
AppSession:SetTimeMultiplier (x)

Atmosphere

Capital letters are important.
Command Description
Atmosphere:TimeLock (1) Keeps time with 0 we can turn back time
Atmosphere:SetHour (x) Adjust the time (x = 0-24)
Atmosphere:SetAngle (x) The radius of the Sun (x = 0-x, 1-177 days = (89 = zenith) to be 178-351 = night TimeLock to be!!)

Camera

Capital letters are important.
Command Description
Camera:ScriptAddLookAt (x,x,x,x,x,x) x = number
Camera:ScriptAddLookAtRelative (x,x,x,x,x,x,x) x = number
Camera:ScriptAddMoveTo (x,x,x,x,x,x) x = number
Camera:ScriptAddMoveToRelative (x,x,x,x,x,x,x) x = number
Camera:ScriptAddSpline (x) Any number x =
Camera:ScriptAddDeploy (x,x,x,x,x,x,x,x) x = number
Camera:ScriptReset () Deletes the Camera Scripts
Camera:ScriptStart () Starts Camera Scripts
Camera:MotionSpline_Reset ()
Camera:MotionSpline_SetBehaviour (x) x = number
Camera:MotionSpline_AddSplinePoint (x,x,x) x = number
Camera:MotionSpline_SetMovementLength (x) x = number
Camera:MotionSpline_SetCorrection (x) x = number
Camera:MotionSpline_SetSlowDown (x) x = number
Camera:ScriptSplineLookAtPosition (x,x,x) x = number
Camera:ScriptSplineLookAtApproachingModifier (x) x = number
Camera:ScriptSplineModifyCursorSpeed (x) x = number
Camera:ScriptSplineModifyCursorSpeedModifier (x) x = number
Camera:ScriptSplineLookAtNpc (x) x = number
Camera:ScriptSplineAddTargetLookAtOffset (x,x,x) x = number

DebugInfo

Capital letters are important.
Command Description
DebugInfo:LoadConfig (x) x = Number Load the config
DebugInfo:SaveConfig (x) x = number of Save the config

GameControl

Capital letters are important.
Command Description
GameControl:SetCameraMode (x) You can round off between different Cameramodi (0 = locked Freelook, 1 = Freelook (without terrain collision), 2 = normal view (Avatar), 3 = Fixlook, 4 = Freelook (with terrain Collision) in the Freelook mode you can with the Pfeitasten move freely. the height can be controlled using the zoom function)
GameControl:GetMousePosGrid (x,x) x = number

Game View

Capital letters are important.
Command Description
GameView:Mode_ShowDebugOn () Turns the World Debuger one block
GameView:Mode_ShowDebugOff () The World Turns debug block
GameView:Mode_DrawElementOff (x) Schalttet a specific map object. 1 = 2 = Oceanb all objects around the terrain 3 = Sky

GdsMain

Capital letters are important.
Command Description
GdsMain:Dump ()
GdsMain:DumpQuestBook ()
GdsMain:WatchNpc (x) x = number
GdsMain:UnwatchNpc (x) x = number
GdsMain:WatchVar (x,x) x = number
GdsMain:UnwatchVar (x,x) x = number
GdsMain:SetVariableInt (x,x,x) x = number
GdsMain:SetQuestState (x,x) x = number

Illumination

Capital letters are important.
Command Description
Illumination:Brightness (x) x = 0-4, the brightness of the objects is hereby adjusted

ObjectLibrary

Capital letters are important.
Command Description
ObjectLibrary:AddNewEquipment (x) or (x, x)
ObjectLibrary:CreateNewFigure (x,x)
ObjectLibrary:AddObject(x,x)
ObjectLibrary:CreateNewEffect (<name>) Name one effect (no clue)
ObjectLibrary:AddNewMonument (x)
ObjectLibrary:GetObject (<name>)
ObjectLibrary:CreateNewObject (y) y = valid object category
ObjectLibrary:GetBlendingLibrary ()

Ocean

Capital letters are important.
Command Description
Ocean:SetFog (1,1) With 1.1 it makes visible the sea (it is not as fog covered) as it switches off and other params are unknown.

Render

Selection

Sky

Terrain

Quests