Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New Feature: Dynamic opinions
Re: New Feature: Dynamic opinions[message #346492 is a reply to message #346464] Fri, 05 August 2016 21:32 Go to previous messageGo to previous message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
There are several slots in MercProfiles.xml for IMPs (PGMale, PGLady...). In that xml, friend relations are also set. When we create an IMP, we use one of these slots to write their data into. Note that after a game starts, MercProfiles.xml is stored in the savegame, editing the xml only affects a new game.

Thus what you could do is to set up the xml before you start the campaign by setting up possible friendships. Be warned though, unless you use a debugger you will not know for sure which IMP gets which slot.

The fact that we store the profile data in savegames is somewhat annoying. For some data it is perfectly reasonable (friend/hated relations are altered over time, stats grow over time...). For others it is very annoying (switching traits/personality/face anim coordinates/anything else requires a new campaign).

A good idea would be to create 2 xmls - one for data that is stored in savegame, one for data that is read purely from xml. Unfortunately, changing that would require significant savegame changes and require any modder to split their xmls too. Which is quite a hassle. Quite a few xmls have stupid things in there (like Ammotypes.xml) that we don't change for compatibility reasons.



I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.

Report message to a moderator

Captain

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message light45.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New merc (kinda): chaos Buns
Next Topic: New feature: new drug system
Goto Forum:
  


Current Time: Mon Dec 02 02:46:40 GMT+2 2024

Total time taken to generate the page: 0.02732 seconds