Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » A new quest (How is it done? Advice needed.)
A new quest[message #360035] Thu, 14 May 2020 18:44 Go to next message
Kitty

 
Messages:260
Registered:October 2017
Location: Germany
01. What is technicly required for creating a new quest?
02. Which files are involved?
03. Can it be done without coding?

Quests.lua and quests.edt are probably needed. And likely email and npc-scripts if npc should trigger something related to quest.
History, the xml allready said that coding is required. Oh, content might be needed as well.

What else might be needed for quests?

Let's say, I want to add the UB-quest for destroying missiles, since the AR maps come with a missile silo anyway.

Or wanted to add a new quest for the Briefing Room. Those somehow doesn't seem to need code changes,
but there is close to no information on Briefing Room available.

Any words of advice? Where do I start? Is there even a guide somewhere I'm not aware of?


[Updated on: Fri, 15 May 2020 08:24] by Moderator

Re: A new quest[message #360039 is a reply to message #360035] Fri, 15 May 2020 08:24 Go to previous messageGo to next message
Hawkeye

 
Messages:2202
Registered:October 2005
Location: Australia
Creating new quests is beyond me, but you can edit existing ones. Here's some old info but still valid;

http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=241991&&srch=NPC+scripting+info#msg_241991


Re: A new quest[message #360045 is a reply to message #360039] Sat, 16 May 2020 01:28 Go to previous messageGo to next message
Kitty

 
Messages:260
Registered:October 2017
Location: Germany
Hawkeye wrote on Fri, 15 May 2020 08:24
Creating new quests is beyond me, but you can edit existing ones. Here's some old info but still valid;

http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=241991&&srch=NPC+scripting+info#msg_241991
Thanks, I allready know this one but the more it's brought to public the better. It's very useful for npc-scripting and helped me a lot to understand.
But those npc-scripts are also connected with edt-files for the text of the subtitles shown (if used). PCM is an example.

--------------

Regarding a real new quest, so far everywhere I looked, it doesn't seem possible because stuff is hardcoded.
But then I looked into the BriefingRoom-Feature. There is close to no information to find about this one, and only one working example.
In this example, there is an Overhead.lua file that is adressing quests 27-29. But it doesn't come with a changed exe, nor are those quests listed
in the Quest.lua coming with the example.


if ( gWorldSectorX == GetCharacterSectorX (216) and gWorldSectorY == GetCharacterSectorY (216) and gWorldSectorZ == GetCharacterSectorZ (216) and PCInSameRoom(216) == true and CheckMercIsDead (217) == true and CheckGlobalBool(1) == false and CheckMission(1) == Progress.MISSIONSTART ) then

	  SetGlobalTrue (1)
	  SetEndMission(1) -- end mission 2, next mission 3
	  
	  EndQuest(27, gWorldSectorX, gWorldSectorY )  -- end mission 2. this uses NPC 'ART' quotes.
	  StartQuest(28, gWorldSectorX, gWorldSectorY )  -- mission 3. this uses NPC 'ART' quotes.

  end


After seeing this, I thought I better ask again if this hardcoded thing is true.
I also asked at BriefingRoom-Thread for a description, but the last entry from the author, RoWa21, is from 2013.


But even just for editing an existing quest, like seen in many mods, I can't find any description what is basicly needed to change.

I thought for example Quests.lua would be a must-use, but looking at the example, that doesn't seem to be nescessary.
But then, maybe that's only true for this feature, one of the many puzzling things about this.

Sigh, without description I'm back to research old mods and do Trial-and-Error.

All this burrying out old documents and interpret them for today, I guess I gonna add Digital Historian to my Vita happy

If I ever manage to add a quest, I'm gonna post it.





[Updated on: Sat, 16 May 2020 01:30]




How to get: latest 1.13, 7609 and more | MapEditor+UB | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)
Re: A new quest[message #360050 is a reply to message #360045] Sat, 16 May 2020 05:01 Go to previous message
Hawkeye

 
Messages:2202
Registered:October 2005
Location: Australia
New quests in Vengeance was hardcoded based from Anv mostly, but he's not overly active on the boards.

Rowa21 aka Roman is still around, he popped in her briefly recently only the other week.


Previous Topic: find two vehicles in data/anims.slf
Next Topic: JA2 NEW User Interface MOD
Goto Forum:
  


Current Time: Sat Nov 28 01:33:32 EET 2020

Total time taken to generate the page: 0.01527 seconds