Removing Nightsong and Kor in free game - SpellForce - Official Board

News:
08-17-2017, 15:02: SpellForce 3 Collectors Edition + Cinematic Trailer
05-18-2017, 15:52: SF3 Beta startet am 19.5. - Alle Informationen + Updates
01-17-2017, 20:52: alte Forenlinks "reparieren"
08-10-2015, 14:07: [Sammelthread] SpellForce 3 - Alle Infos / Release 07.12.2017
07-04-2012, 21:36: SpellForce-Datenbank ist wieder da - Ein WiKi soll entstehen
08-30-2009, 20:03: Patchübersicht

Herzlich Willkommen im offiziellen SpellForce Forum!

Du betrachtest das Forum zur Zeit als Gast, was deine Zugriffsrechte bei Diskussionen und anderen Dingen enorm einschränkt. Wenn du dich hier registrierst, was natürlich völlig kostenlos ist, dann wirst du Beiträge und Themen erstellen, Private Konversationen mit anderen Mitgliedern führen, bei Umfragen abstimmen, Inhalte uploaden und vielen andere Dinge können. Die Anmeldung geht schnell von Statten, ist enorm einfach und kostenlos, daher würden wir dich ersuchen, dich zu registrieren!

Falls es Probleme mit der Anmeldung oder dem Zugriff auf einen Account gibt, stehen wir dir gerne über die Kontaktseite mit Rat und Tat zur Verfügung.

SpellForce Newsletter
Gib deine E-Mail Adresse in das Feld ein, um immer über die letzten Neuigkeiten zu SpellForce informiert zu werden

Zurück   SpellForce - Official Board > SpellForce - English Forum > SpellForce 2 - Faith in Destiny > Faith in Destiny - Editor & Modding
Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren

Antwort
 
Themen-Optionen
Alt 07-13-2014, 16:26   #1
Dorrin
Registered User
 
Registriert seit: Jul 2014
Beiträge: 5
Removing Nightsong and Kor in free game

Is it possible to disable both Nightsong and Kor from joining in the free game mode? Since they do not seem to scale with the avatar level they become a liability (not to mention Kor cannot be revived at a nameless altar).

I'd been having fun in a free game up until i stumbled into the two of them in Westguard, of course my initial reaction was cool new helpers for battle! Not so helpful with 1/3 the health of my heroes at level 12, less than 20 armor, and under 40 damage for both units.

Why were they implemented like this? Seems pretty broken to me.
Dorrin ist offline   Mit Zitat antworten
Alt 07-13-2014, 18:37   #2
Lornik
Super Moderator
Graue Eminenz
Fiara-Brigade
 
Benutzerbild von Lornik
 
Registriert seit: Jun 2006
Ort: Panama
Beiträge: 7.310
RPG Character: Brahir
They were part of the Restoration Project of our forum-user Aurelinus, who implemented them. He was also able to fix most of the bugs arising with the Dragon Storm Freegame whilst playing the Shadow Wars Freegame Campaign.
Unfortunately he hasn't been around much lately so that I doubt that he'll be able to answer your question himself.

And I also doubt that it's possible to remove them from your party but you needn't take them with you into battle. Just leave them at your Headquarter and play along.

So long

Lornik
__________________
Gehabte Schmerzen, die hab ich gern!

Wilhelm Busch
Lornik ist offline   Mit Zitat antworten
Alt 07-13-2014, 19:01   #3
Dorrin
Registered User
 
Registriert seit: Jul 2014
Beiträge: 5
Figured removing them from an existing game would be near impossible (i've already deleted that avatar to start over), was hoping the option to disable them from joining in the first place is doable though. Is it possible to edit the Westguard map and move them to some distant corner? If they are out of range to recruit that would be fixed enough for me, but with the odd pathing i can see myself stumbling into them again trying to click one of the nearby potential recruits who i might want.

Not too sure what the capabilities of the editor included with steam is, is that the one used for most of the modding? Or does it use some much more complex tool?
Dorrin ist offline   Mit Zitat antworten
Alt 07-14-2014, 01:04   #4
Dorrin
Registered User
 
Registriert seit: Jul 2014
Beiträge: 5
Not seeing an Edit button for my previous post so going to make a new one. I've played with the script editor from this thread http://forum.spellforce.com/showthread.php?t=68971 and seem to have found a way to disable both Kor and Nightsong from spawning in Westguard and joining. I've not had time to do any extensive testing, Westguard loads fine and i can run around where they would previously trigger with no problems.

So if anyone is interested in giving it a shot here are the directions: #1 Navigate to the games folder:for me this was C:/program files/Steam/SteamApps/Common/Spellforce 2 Faith in Destiny/addon2/map/coop/P333_Westguard/script

Now in this folder make a copy of _P333_Westguard.lua and put it somewhere safe (this will be the unedited, backup copy in case things go nuts).

Step #2 Launch the Script editor provided in the above link, direct it to the folder you just copied the file from and have it open the _P333_Westguard.lua

Step #3 Scroll down past the crafting stuff and delete all of the following: OnOneTimeEvent
{
EventName = "conjure Kor",
Conditions =
{
QuestIsSolved {Quest = "CoopHonorMarks"},
AvatarFlagIsFalse {Name = "af_P333_KorJoined"},
},
Actions =
{
FigureNpcSpawn {Tag = "ChieftainKor", Level = 1, UnitId = 142, X = 378, Y = 294, Team = "tm_Neutral"},
FigureDirectionSetToEntity {TargetTag = "Halicos", Tag = "ChieftainKor"},
MapFlagSetTrue {Name = "mf_P333_KorSpawned"},
},
},
OnOneTimeEvent
{
Conditions =
{
MapFlagIsTrue {Name = "mf_P333_KorSpawned"},
FigureIsInRangeToEntity {Tag = "ChieftainKor", TargetTag = "pl_HumanAvatar", Range = 3},
},
Actions =
{
PlayerHeroAdd {HeroId = 26},
FigureHeroSpawnToEntity {Tag = "Kor", TargetTag = "pl_HumanAvatar", Direction = 0},
FigureVanish {Tag = "ChieftainKor"},
AvatarFlagSetTrue {Name = "af_P333_KorJoined"},
},
};
OnOneTimeEvent
{
EventName = "conjure Song",
Conditions =
{
QuestIsSolved {Quest = "CoopProphet"},
AvatarFlagIsFalse {Name = "af_P333_NightSongJoined"},
},
Actions =
{
FigureNpcSpawn {Tag = "Song", Level = 5, UnitId = 276, X = 413, Y = 301, Team = "tm_Neutral"},
FigureDirectionSetToEntity {TargetTag = "Halicos", Tag = "Song"},
MapFlagSetTrue {Name = "mf_P333_SongSpawned"},
},
},
OnOneTimeEvent
{
Conditions =
{
MapFlagIsTrue {Name = "mf_P333_SongSpawned"},
FigureIsInRangeToEntity {Tag = "Song", TargetTag = "pl_HumanAvatar", Range = 3},
},
Actions =
{
PlayerHeroAdd {HeroId = 25},
FigureHeroSpawnToEntity {Tag = "Nightsong", TargetTag = "pl_HumanAvatar", Direction = 0},
FigureVanish {Tag = "Song"},
AvatarFlagSetTrue {Name = "af_P333_NightSongJoined"},
},
};
OnOneTimeEvent
{
Conditions =
{
AvatarFlagIsFalse {Name = "af_P333_NightSongGranted"},
AvatarHasLevel {Level = 29},
FigureIsInRangeToEntity {Tag = "pl_HumanAvatar", TargetTag = "Ylia", Range = 3},
},
Actions =
{
FigureAbilityAdd {Tag = "Nightsong", AbilityId = 456},
AvatarFlagSetTrue {Name = "af_P333_NightSongGranted"},
},
};


Step #4 Save the file and exit the script editor.

The game is now ready to be played in free play without a super weak Kor or Nightsong being present to die frequently on higher level maps! Hope this helps other folks.
Dorrin ist offline   Mit Zitat antworten
Antwort


Themen-Optionen

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge anzufügen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 22:25 Uhr.


Powered by vBulletin® Version 3.6.8 (Deutsch)
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2015 Nordic Games GmbH, Austria. All Rights Reserved.
Style © by Kubi