Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » A new quest (How is it done? Advice needed.)
Re: A new quest[message #360045 is a reply to message #360039] Sat, 16 May 2020 01:28 Go to previous messageGo to previous message
Kitty

 
Messages:436
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 | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)

Report message to a moderator

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


Current Time: Fri Mar 29 07:52:27 GMT+2 2024

Total time taken to generate the page: 0.01144 seconds