Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2018, 01:41 PM
nocalora29's Avatar
nocalora29 nocalora29 is offline
¯\_ ͯ‿ ͯ_/¯
 
Join Date: Dec 2011
Posts: 518
Default

You somehow need to execute the "StartMission" function of the quest 18a in (Scripts/Quests/...) itself to get this going.
I'll look a bit into the QuestSystem and will try to gain the knowledge on how one would go on about this.

In theory you could just "dofile" the quest file and then Execute StartMission(), but Im sure if that would break the QuestSystem, could be worth a try.
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool)
Reply With Quote
  #2  
Old 03-15-2018, 06:48 PM
Kami-sama Kami-sama is offline
Approved Member
 
Join Date: Oct 2015
Posts: 14
Default

My latest failed attempt:

do
SetQuestState("quest_16a", QUEST_DONE);
SetQuestLabel("CurrentQuest","18a");
QuestStart("mission_18a");
AddQuest("quest_18a", QUEST_PROCESS);
Long_Jump("earth");
end;

I try adding anything fitting I can see in the quest scripts. At least I know that the function is not executed by having the previous quest marked as complete.
Reply With Quote
  #3  
Old 03-15-2018, 07:09 PM
nocalora29's Avatar
nocalora29 nocalora29 is offline
¯\_ ͯ‿ ͯ_/¯
 
Join Date: Dec 2011
Posts: 518
Default

Try to brute force maybe.
This should start the script no matter what:
Code:
ExecuteScriptFile("Data/Scripts/Quests/mission_16e/Matrix_Eridan.script");
StartMission();

This is just example code, replace the Mission_16e to the mission you want to start, including the proper script.

Keep in mind: You have got to have proper SetQuestLabels and proper variables for this to work, afterall the script is expecting the player to actually be that far into the story.
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool)
Reply With Quote
  #4  
Old 03-16-2018, 06:34 PM
Kami-sama Kami-sama is offline
Approved Member
 
Join Date: Oct 2015
Posts: 14
Default

This might be problematic. Triggering the mission script itself shouldn't work if you're in another system. And I'm pretty sure it won't trigger after the jump if I just write it below it. I was looking for what causes the script to trigger when you enter or jump into the system.
Reply With Quote
  #5  
Old 03-17-2018, 11:25 AM
nocalora29's Avatar
nocalora29 nocalora29 is offline
¯\_ ͯ‿ ͯ_/¯
 
Join Date: Dec 2011
Posts: 518
Default

Then I'd recommend you to look for any references which may "Change" the current Mission to another one, but I guess you have already done that. Try to check for references to the Quests.xml "mission name" entries in the scripts/Quests folder, maybe you can find enough code to change the mission that way.
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.