Fog of war FreeGame
Moderator: Forum_Manager
Fog of war FreeGame
hey how can i disable the fog of war in freegame mode? can i add something to the lua script or does someone have an mod for this? :(
hey wie kann ich FOW deaktivieren bzw die ganze karte aufdecken hat da jemand eine idee oder eine mod für?
hey wie kann ich FOW deaktivieren bzw die ganze karte aufdecken hat da jemand eine idee oder eine mod für?
Re: Fog of war FreeGame
hi,
Wenn du willst kannst du aber das Lua-Script jeder map anpassen und "live aufdeckung" an mehreren punkten platzieren.
Der Code dafür ist:
Da die maximale Größe leider begrenzt ist, musst du soviele nebeneinander mit abstand setzen bis du die ganze map abdeckst.
Hoffe das wird dir helfen! Wenn du mehr Befehle suchst, nutze den "Spell-Scripter" die SpellForce 2 Lua Script IDE mit integrierter funktionsdatenbank.
viewtopic.php?t=152
Grüße: NeoX
Es gibt einen konsolen befehl, der ist im Multiplayer leider deaktiviert (die Konsole).
Wenn du willst kannst du aber das Lua-Script jeder map anpassen und "live aufdeckung" an mehreren punkten platzieren.
Der Code dafür ist:
Code: Select all
FogOfWarReveal
{
FogOfWarId = 0, -- Die 'ID' einer Fog of War 'Aufdeckungs-Position' (default = 0).
X = 000.00, Y = 000.00, -- Coordinaten
Range = 100, -- Der Radius der Abfrage in Gridpunkten.
Height = 3, -- Die Höhe über dem Boden (Sichtpunkt für FogOfWarReveal).
},
Hoffe das wird dir helfen! Wenn du mehr Befehle suchst, nutze den "Spell-Scripter" die SpellForce 2 Lua Script IDE mit integrierter funktionsdatenbank.
viewtopic.php?t=152
Grüße: NeoX
SpellForce 2 - Master of War | SpellForce - Wiki & Info Hub
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
Re: Fog of war FreeGame
hey ja das hilft schonmal und wo genau füge ich das ein? habe das gerade ins lua script der map eingefügt und bekomme dann eine fehlermeldung wo gefühlt 20 verschiedene sachen stehen
Re: Fog of war FreeGame
hi,
Das fügst du ein BEVOR du diese code zeile siehst:
Am besten eine Zeile drüber und nicht in die Klammern einer anderen Funktion.
Grüße: NeoX
diese Funktion (inklusive anpassungen der coordinaten) muss in eine event-funktion eingefügt werden am anfang oder am ende VOR dem main state.
Code: Select all
OnOneTimeEvent
{
Conditions =
{
-- fill_me
},
Actions =
{
FogOfWarReveal
{
FogOfWarId = 0, -- Die 'ID' einer Fog of War 'Aufdeckungs-Position' (default = 0).
X = 000.00, Y = 000.00, -- deine Koordinaten
Range = 100, -- Der Radius der Abfrage in Gridpunkten.
Height = 3, -- Die Höhe über dem Boden (Sichtpunkt für FogOfWarReveal).
},
},
};
Code: Select all
State
{
StateName = "MAIN",
Grüße: NeoX
SpellForce 2 - Master of War | SpellForce - Wiki & Info Hub
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
Re: Fog of war FreeGame
es kommt dieselbe fehlermeldung https://ibb.co/Hq5mmZ1
Re: Fog of war FreeGame
hi,
Oh und du kannst hier Bilder auch direkt posten oder verlinken, da muss man keine 3rd party links öffnen.
Grüße: NeoX
Du scheinst den syntax zerstört zu haben. Stelle die originale Datei/Script wieder her und mache nur das was ich oben geschrieben habe an besagter stelle.
Oh und du kannst hier Bilder auch direkt posten oder verlinken, da muss man keine 3rd party links öffnen.
Grüße: NeoX
SpellForce 2 - Master of War | SpellForce - Wiki & Info Hub
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
Re: Fog of war FreeGame
so hab nun das ganze spiel einmal neu installiert keine einzige mod oder ähnliches, und bekomme nun eine noch größere fehlermeldung :D
Bilder im anhang
Bilder im anhang
You do not have the required permissions to view the files attached to this post.
Re: Fog of war FreeGame
hi.
Vor diesen beiden Zeilen.
Grüße: NeoX
ja richtig, du hast die funktion vor den INIT-State gesetzt, ich sagte aber du sollst sie unten vor den MAIN-state setzen ;-)
Code: Select all
State
{
StateName = "MAIN",
Grüße: NeoX
SpellForce 2 - Master of War | SpellForce - Wiki & Info Hub
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
"SpellForce 2 - Master of War" is the legendary Card-Game of the SpellForce 2 Collectors Edition of 2006, now finally for PC and Android! Play against the NPC, another Player or Online. Over 100 different Cards out of 7 factions and more than 10 powerfull spells to support them. Many hours of tactical turn based gameplay await you.
http://www.sf2-mow.keepfree.de/
- - -
"SpellForce - Fan Hub & Wiki" (for Android devices) is the official SpellForce fan hub app with wiki and forum integration made by the Fan Community. Get updated with the latest SpellForce news all around the game and its community. Look up knowlege in the wiki about lore and game guides. Exchange yourself with others on the fan forum. Made by the Community for the Community.
https://play.google.com/store/apps/details?id=com.it_huskys.spellforce_hub_wiki
Re: Fog of war FreeGame
Bei mir ist dort nirgends ein main state :/ nur der init und nach den ganzen event ist die lua vorbei
Re: Fog of war FreeGame
Habe dir das script mal beigelegt
You do not have the required permissions to view the files attached to this post.