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)
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:SpellForce 1]]
[[Category:Guide]]
----
----
{{LocationInfobox}}
{{PersonalTOC
<span class="portable-infobox" style="background: #5b311c!important;">
|name          =  
 
|image          = {{#setmainimage:NoImage.png}}
<p style="font-size:0;margin-top:-15px;">Page Navegation</p>
|list        = <ul style='list-style-type: "› ";'><li>[[#Intro|Introduction]]</li>
 
<li>[[#Console_commands|Console commands]]</li>
[[File:Fiara.jpg|center|300px|Map of Fiara]]
<li>[[#AppSession|AppSession]]</li>
 
<li>[[#Atmosphere|Atmosphere]]</li>
<div style="column-count:1;color: #ee8741;text-shadow: -1px -1px 0 rgba(0,0,0,0.5), 1px -1px 0 rgba(0,0,0,0.5), -1px 1px 0 rgba(0,0,0,0.5), 1px 1px 0 rgba(0,0,0,0.5), 0 0 1px #ff0;
<li>[[#Camera|Camera]]</li>
}">
<li>[[#DebugInfo|DebugInfo]]</li>
* [[#Intro|Introduction]]
<li>[[#GameControl|GameControl]]</li>
* [[#Console_commands|Console commands]]
<li>[[#GameView|GameView]]</li>
* [[#AppSession|AppSession]]
<li>[[#GdsMain|GdsMain]]</li>
* [[#Atmosphere|Atmosphere]]
<li>[[#Illumination|Illumination]]</li>
* [[#Camera|Camera]]
<li>[[#ObjectLibrary|ObjectLibrary]]</li>
* [[#DebugInfo|DebugInfo]]
<li>[[#Ocean|Ocean]]</li>
* [[#GameControl|GameControl]]
<li>[[#Render|Render]]</li>
* [[#GameView|GameView]]
<li>[[#Selection|Selection]]</li>
* [[#GdsMain|GdsMain]]
<li>[[#Sky|Sky]]</li>
* [[#Illumination|Illumination]]
<li>[[#Terrain|Terrain]]</li>
* [[#ObjectLibrary|ObjectLibrary]]
<li>[[#Quests|Quests]]</li>
* [[#Ocean|Ocean]]
</ul>
* [[#Render|Render]]
}}
* [[#Selection|Selection]]
* [[#Sky|Sky]]
* [[#Terrain|Terrain]]
* [[#Quests|Quests]]
</div>
 
</span>
<span style="">
<span style="">
__NOTOC__
__NOTOC__
</span ></p>
</span >
<span id="Intro"></span>
<span id="Intro"></span>
To open the Console, either use <code>CTRL + ^</code>, <code>Ctrl + ]</code>, or <code>Ctrl + +</code>.
To open the Console, either use <code>CTRL + ^</code>, <code>Ctrl + ]</code>, or <code>Ctrl + +</code>.
Line 333: Line 328:


==<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==
{| 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>Render:EnableFog (1)</code>
|The fog of the vision is to prevent the sea away. He is back at 0.
|-
|<code>Render:SetFogColor (R,G,B)</code>
|Here you can change the color of the fog-wide view ([https://en.wikipedia.org/wiki/RGB_color_model RGB MODEL])
|-
|<code>Render:SetFogDensity (x,x,x,x,x)</code>
|
|-
|<code>Render:Textures (0)</code>
|With 0 = No - 1 = Yes
|-
|<code>Render:NullRender (1)</code>
|All 3D objects are hidden
|}


==<span id="Selection"></span>Selection==
==<span id="Selection"></span>Selection==
{| 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>Selection:GetSize ()</code>
|
|-
|<code>Selection:GetItem (x) and (x, x) and (x, x, x)</code>
|= x number
|}


==<span id="Sky"></span>Sky==
==<span id="Sky"></span>Sky==
{| 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>Sky:SetWind (0)</code>
|Turns moving the clouds one (1) or off (0)
|-
|<code>Sky:SetSunAngle (x)</code>
|Changed the angle of the sun; Warning: Atmosphere: TimeLock are (1) must be made??.
|-
|<code>Sky:SetBlend (x,x)</code>
|Changes the sun's rays and the intensity of the light rays of the sun
|}


==<span id="Terrain"></span>Terrain==
==<span id="Terrain"></span>Terrain==
{| 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>Terrain:Mode_DetailMapsOff ()</code>
|Allows to set the lowest level of detail Maptextur.
|-
|<code>Terrain:Mode_DetailMapsOn ()</code>
|This is for setting the highest level of detail Maptextur.
|-
|<code>Terrain:SetMinimumResolution (x)</code>
|Adjust the terrain detail (note: with a value below 100, you will see through the terrain)
|-
|<code>Terrain:SetQuality (x)</code>
|Adjusts the strength of the terrain
|}
For x must be employing a number. Commands with a 1 in parenthesis can be reset with the value 0 in the brackets.
The command changes the time setHours only visually.
In the console standing up "Registred Objects". In almost each of these commands, you can get where you enter the object and then the command "help ()".
Recordable: Sky: Help ()


==<span id="Quests"></span>Quests==
==<span id="Quests"></span>Quests==
This is code to get quest reward anytime you want:
{| 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>SetRewardFlagTrue{Name='xxx'}</code>
|xxx - name of quest reward
|}
Note: this code works if:
# you are at right map (example, quest's reward given by Gabar works at Greyfell only)
# you didn't get that reward already (you can't get it twice)
Here some names of quest rewards:
{{#spoiler:show=Show Quest's Names|hide=Hide Quest's Names|'''<u>NOTE THAT BY USING THIS CODES TO GET QUEST'S REWARDS AHEAD OF TIME CAN, AND PROBABLY WILL BREAK YOUR GAME!!!</u>'''
*'''Greyfell:'''
**NachGraufurtPartVillage
**NachGraufurtPartEnde
**AngriffDerHoehlenorks
**Zauberwerk1Augenglas
**Zauberwerk2Feder
**Zauberwerk3Kreide
**Zauberwerk4Robe
**ZahnbrechersZangen
**WundtinkturValdis
**BlutAdhiraTrank
**BlutTombardTot
**SickHermit1Zirfar
**SickHermit2Locke
**Schattenwelt1Castagir
**Schattenwelt3Manifest
**SchattenweltShadowpulse
**EchosBuchstabe1
**EchosBuchstabe2
**EchosBuchstabe3
**EchosGoran
**EchosShinTarGuar
**AmraUndLea3Sentos
**Zwergendienste1Hinrik
**Schwarzeibe
**Seelenschwerter
**KlingzogsBeinlinge
**ThurgonBrief
**FeineStoffe3Seide
**FeineStoffe4Robe
**Drachenpanzer1
**Drachenpanzer2
**TricksterFindFlink
**TricksterReturn
*'''Liannon:'''
**DariusDerKarthograph
**WegNachEloni1Snarf
**WegNachEloni2Portal
**KleineFische1
**KleineFische2
**Steckbrief
**Zwergenaxt
**GeistInDerMine
**EinSeltsamerRing
**AusDerTiefe1Schreiber
**AusDerTiefe1Buch
**AusDerTiefe2Spaeher
**AmraUndLea1Liannon1
**AmraUndLea1Liannon2
**AmraUndLea2Liannon1
**AmraUndLea2Liannon2
**EchosBuch
**BefreiungShiel1Alfalas
**Einsiedler1Shan
*'''Eloni:'''
**TrommelnInWaeldern
**WundtinkturSwerdis
**DieLetztenSchuetzen1
**DieLetztenSchuetzen2
**DieLetztenSchuetzen3
**DieFreihaendler
**Traumdieb
**StaubDerSterne1
**StaubDerSterne2
**StaubDerSterne3
*'''Leafshade:'''
**DurchDenSchattenhain
**Bannwerk1
**Bannwerk2
**Kopfjagd1Head1
**Kopfjagd2Head2
**Kopfjagd3Head3
**Kopfjagd4Head4
**Kopfjagd5Head5
**Kopfjagd6Complete
**DieGeiseln
*'''Shiel:'''
**BefreiungShiel1Kommandant
**BefreiungShiel2Dryaden
**PurpurnesBanner1Kettchen
**PurpurnesBanner2
*'''Wildland Pass:'''
**AmWildlandPass1
**AmWildlandPass2
**KoenigDerSpinnen
**AlterMannUndMusik
**FeineStoffe1
**AmraUndLea2Sentos
*'''Northern windwalls:'''
**Marcia1
**SchlachtUmBrunnenfels1
**SchlachtUmBrunnenfels2
**SchlachtUmBrunnenfels2a
**Eisenkarren1
**Eisenkarren2
**Eisenkarren3
**Eisenkarren4
**Eisenkarren5
**Eisenkarren6
**Eisenkarren7
*'''Southern windwalls:'''
**InsGrauschattental1
**InsGrauschattental2
**InsGrauschattental3
**InsGrauschattental4
**WeisseSchatten1
**WeisseSchatten2
**Zwergendienste2Cronvig
**JeGroesser1
**JeGroesser2
**Reisserfell
**FeineStoffe2Miria
**Erdenklinge2
**Erdenklinge3
**Erdenklinge4
*'''Stoneblade mountains:'''
**Erdklinge11
**Erdklinge12
**Giftzwerg
**Riesenaerger1
**Riesenaerger2
}}

Latest revision as of 23:52, 12 April 2023


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

Capital letters are important.
Command Description
Render:EnableFog (1) The fog of the vision is to prevent the sea away. He is back at 0.
Render:SetFogColor (R,G,B) Here you can change the color of the fog-wide view (RGB MODEL)
Render:SetFogDensity (x,x,x,x,x)
Render:Textures (0) With 0 = No - 1 = Yes
Render:NullRender (1) All 3D objects are hidden

Selection

Capital letters are important.
Command Description
Selection:GetSize ()
Selection:GetItem (x) and (x, x) and (x, x, x) = x number

Sky

Capital letters are important.
Command Description
Sky:SetWind (0) Turns moving the clouds one (1) or off (0)
Sky:SetSunAngle (x) Changed the angle of the sun; Warning: Atmosphere: TimeLock are (1) must be made??.
Sky:SetBlend (x,x) Changes the sun's rays and the intensity of the light rays of the sun

Terrain

Capital letters are important.
Command Description
Terrain:Mode_DetailMapsOff () Allows to set the lowest level of detail Maptextur.
Terrain:Mode_DetailMapsOn () This is for setting the highest level of detail Maptextur.
Terrain:SetMinimumResolution (x) Adjust the terrain detail (note: with a value below 100, you will see through the terrain)
Terrain:SetQuality (x) Adjusts the strength of the terrain

For x must be employing a number. Commands with a 1 in parenthesis can be reset with the value 0 in the brackets.

The command changes the time setHours only visually.

In the console standing up "Registred Objects". In almost each of these commands, you can get where you enter the object and then the command "help ()".

Recordable: Sky: Help ()

Quests

This is code to get quest reward anytime you want:

Capital letters are important.
Command Description
SetRewardFlagTrue{Name='xxx'} xxx - name of quest reward

Note: this code works if:

  1. you are at right map (example, quest's reward given by Gabar works at Greyfell only)
  2. you didn't get that reward already (you can't get it twice)

Here some names of quest rewards: