Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New (unofficial) merc: Mercy (Overwatch)
Re: New (unofficial) merc: Mercy (Overwatch)[message #358191 is a reply to message #358110] Fri, 04 October 2019 03:29 Go to previous messageGo to previous message
ZedJA2

 
Messages:202
Registered:January 2018
(Edited to Correct the Name Lists)

There are problems at the moment when using Additional Dialogue for the Additional Mercs:

1) The Kermi Server Link is down, supposedly permanently. This means that unless another Link is made, this will be a problem for at least Mercy.

2) A definition in the Overhead.lua (in /Jagged Alliance 2/Data-1.13/Scripts/ ) for a variable or parameter was renamed -- this is going to likely cause issues between older LUAs or Merged LUAs for the Additional Dialog or Triggered Events and the current set-up.

3) The definition was called ADE_OMERTA_ENTRY . It is now called ADE_MERC_ARRIVES . This means that older Overhead.LUAs should convert all instances of ADE_OMERTA_ENTRY replacing it with ADE_MERC_ARRIVES. In this way, it is possible to keep all the current definitions current and build on future changes (although one could convert back to the older name, as long as one is consistent and adds the other changes to the Overhead.LUA done for the various Flugente Additional Mercs which use Additional Dialog, etc.)

4) The newer Overhead.lua also adds more types of events as triggers for such dialog (and possibly events). These Flugente delineated above. I will list them right here below:

ADE_WITNESS_GOOD = 17, -- similar to comment upon buddy doing good. aData1 is the profile of person, aData2 is 0 if we saw a kill, 1 if they passed a skill check (and we're less than 15 tiles away)
ADE_BANDAGE_PERFORM_BEGIN = 18, -- we bandage someone, aData1 is the profile of person
ADE_BANDAGE_PERFORM_END = 19, -- we finished bandaging someone, aData1 is the profile of person
ADE_BANDAGE_RECEIVE_BEGIN = 20, -- someone bandages us, aData1 is the profile of person
ADE_BANDAGE_RECEIVE_END = 21, -- someone finished bandaging us, aData1 is the profile of person
ADE_ZOMBIESRISE = 22, -- a new wave of zombies is spawned from corpses
}

5)In addition, in the Profil section, which is early on, there is a list of Character Names, and several have been added. This might be an important declaration needed later in the file. The difference is made towards the end of the Merc Names List, provided below:

In 8646 for example with a Merged Lua, this snippet of my old result made courtesy of TownLTU (much thanks), every Character Name above LAURA (Colin) seems identical in each, but double-check for yourself):

LAURA = 175,
RUDOLF = 177,
SKITZ = 179,
NO_PROFILE = 200,
LARA = 211,
SARA = 212,
SCOTT = 213,
MAX = 214,
BUNS_CHAOTIC = 215,
MOUSE = 245,
STELLA = 248,
SHEPARD = 254,
}


In GAMEDIR 2476 (which is in the SCI for r8684), the end of the Character Names List has more names and is changed to this below:

LAURA = 175,
GRACE = 176,
RUDOLF = 177,
SKITZ = 179,
BUNS_CHAOTIC = 215,

LEON = 222,
GARY = 223,
SPARKY = 224,
HURL = 227,
MOUSE = 245,
HECTOR = 246,
REV = 247,
STELLA = 248,
MOSES = 250,
TURTLE = 253,
}

6) MERGE the two Overhead.lua Character Name Lists, as one knows of some new quests, and the other knows the old code, once it has been revised for the changed DEFINITION or VARIABLE names as enumerated in earlier step.

7) There may be other changes I missed, but I did not see any that I remember at this time.

8) As I had once posted and predicted, the problem here is that Adding Mercs may add some code, but if the GAMEDIR luas change, then neither knows about the other. Unless the repository for the Additional Mercs is kept up to date with the ongoing SCI GAMEDIR REVISIONS this will likely happen. This isn't to fault anyone, it just seems that here it is worsened by a change in a DEFINITION or VARIABLE with a new name, which then also means a simple merge is not going to cut it. You will have to do as in the steps above.

@ KNN

Perhaps this will help you to some degree. It isn't hard to do all this, it is just rather tedious.

In the interim, we will need a new link to the various Additional Mercs with its Additional Dialog Overhead.lua to be able to create all the new dialog and/or events. I have an older version, which I will merge and use in the meantime with the new GAMEDIR Overhead.lua , but it may not have all the latest revisions. I am also going to post this, or a link to it, in the Additional Dialog thread as a heads-up.

[Updated on: Fri, 04 October 2019 05:04]

Report message to a moderator

Sergeant 1st Class
 
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 feature: localized weather
Next Topic: New (mini)-feature: Bayonets
Goto Forum:
  


Current Time: Wed Dec 04 07:31:54 GMT+2 2024

Total time taken to generate the page: 0.01336 seconds