Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Damn Bloody HARDCODED game.. (SOLVED. Quests and NPCa are in. Still damn bloody hardcoded game tho!)
Damn Bloody HARDCODED game..[message #366135] Sun, 02 June 2024 21:27 Go to next message
Marcus is currently offline Marcus

 
Messages:109
Registered:November 2014
(My mod is still in full swing, but please substitute "damn bloody" with something more cospicous.)

I added Tony to a custom map of mine and he didn't spawn in game anyway. I did some googling and I discovered two things:

A: Characters starting sector can be edited with ProEdit. I did set Tony to a new sector, but he didn't spawn anyway.
B: I found an old thread on these forums where Bearpit clearly stated that Fatima is hardcoded. She spawns in a9 and goes to a10 only.

Now, I couldn't make sure if ALL NPCs sectors/quests are hardcoded, but at this point it's most probable.

Simply put I need to evaluate options and my realistic possibilities:

1:Screw the quests. All the player actually needs is a Tony-like merchant to get some cash early on. The mod is not set in Arulco and ignoring quests would speed up development by a ton.

2:Build new characters and subsitute them to the original ones. Can you actually make new NPCs?

3: Build totally new quests. It would give a great unique taste to my mod, but it's a ton of MORE work.

Anyway, does anybody knows for certain if all NPCs starting sectors are hardcoded?
How am I going to deal with quests?

I'd really like to hear any opinions.

[Updated on: Sun, 02 June 2024 22:00]

Report message to a moderator

Sergeant
Re: Damn Bloody HARDCODED game..[message #366137 is a reply to message #366135] Sun, 02 June 2024 21:41 Go to previous messageGo to next message
Kitty

 
Messages:466
Registered:October 2017
Location: Germany
You can set the starting sector of an npc in his profile at mercprofiles.xml
Also must be placed on map, and if should stay, the schedule should be set to "stay in sector"

Thing with old threads is that you don't know how up-to-date those are. It may still apply, but also may not.

Using ProEdit on latest 1.13 is not advised (expect for a few niche things)
Game will give information from mercprofiles.xml priority, edit that instead

All named charcaters, including npc, are in mercprofiles.xml
Unnamed npc can be placed with mapeditor or with lua
(lua is also used for some special cases, mostly for randomizing locations (i.e., Skyrider, Hamous, etc), but those are special cases)

A good chunk of what defines a quest is hardcoded, but like mentioned in previous posts, it's possible to edit outcomes without codechanges (as shown in mods, like i.e. UC)
There are also mods that changed starting sector, including editing/changing the initial letter-delivery-quest (again, most noteworthy and outfleshed for latest 1.13 is probably UC) (for changed staring scetor, may look into TypeP. iirc, that started in the very south)
Checkout the modsection of the forum, there are plenty of mods that implemeted interesting ideas that might prove helpfull for makeing your ideas into a thing

[Updated on: Sun, 02 June 2024 22:03]




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
Re: Damn Bloody HARDCODED game..[message #366139 is a reply to message #366137] Sun, 02 June 2024 21:59 Go to previous message
Marcus is currently offline Marcus

 
Messages:109
Registered:November 2014
You're totally right!
I made a quick test with mercprofiles.xml: Both Fatima and Tony spawned. I could barter with Tony. Fatima started the letter quest, then she desapperaed, but her script isn't set, so no surprise here.
Thanks a TON, kitty!

Report message to a moderator

Sergeant
Previous Topic: Tool to edit AIM/MERC mercs gear kit?
Next Topic: Editing tileset .STI crashes the mapper.
Goto Forum:
  


Current Time: Fri Oct 04 14:19:39 GMT+3 2024

Total time taken to generate the page: 0.00909 seconds