Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New (unofficial) merc: Max Payne
New (unofficial) merc: Max Payne[message #353732] Sun, 10 June 2018 23:42 Go to next message
Flugente

 
Messages:3334
Registered:April 2009
Location: Germany
Thanks to Spinasso and my small contributions, we can now use Max Payne as yet another merc. He works just like my other mercs, but as that would fit the third game, can be found in the most run-down bar of Arulco (perhaps he wants to take care of yet another mob?).



I admit the NPC recruitment phase isn't the best (we were severely limited in sound and portrait choices), but he works just fine (and now I know better how .npc scripts work [new bugs to find Wise advice ]). A grumpy, alcoholic psycho that narrates some of his lines fits just in with the rest of our selection of wackjobs.

https://i.imgur.com/XEZ2B3k.png
We can justify a variety of traits for him - I went with the above, which makes him efficient with pretty much all firearms. In case he seems a bit weak, stat-wise, keep in mind that this is him at about the time of the third game, when he was a broken alcoholic that had already survived the first 2 games somehow.

You can of course change him in Mercprofiles.xml etc. - he has profile number 214.
At the moment we only have soundfiles for Max Payne 3, which is somewhat limiting. I can't really make any solid buddy or hate relationship with that. Perhaps someone might be interested in getting the sounds from part 1 and 2 heart ?

https://i.imgur.com/pihB0yo.png

You might also notice that the Ryder twins have new faces, because edmortimer and townltu got busy and made portraits. 200% more chinese, woohoo!

https://i.imgur.com/PReLDin.png

I've redone the gear kits for Shepard - we now have 3 kits along the same idea increasing in price and quality, and 2 special kits (P90 for CQB and SVU for sniping).

This was built for r8570 & GameDir r2424.

As these mercs are obviously not from the Jagged Alliance lore, they won't go into any official release.

You can get Max and the others from http://kermi.pp.fi/JA_2/Mods_v1.13/Flugente/Additional_Mercs/

[Updated on: Mon, 11 June 2018 00:55]




“What are you doing?” Joffrey interrupted him.

“… can’t a man give a few last words for his son to carry?”

“…Who told you your son was making it out of this field alive?”

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.


Re: New (unofficial) merc: Max Payne[message #353736 is a reply to message #353732] Mon, 11 June 2018 06:50 Go to previous messageGo to next message
Kerghnox
Messages:3
Registered:August 2016
I like these extra mercs you've been making. You should do Ash Williams one of these days, he'd fit right in.
Re: New (unofficial) merc: Max Payne[message #353739 is a reply to message #353736] Mon, 11 June 2018 19:27 Go to previous messageGo to next message
Ventris
Messages:1
Registered:May 2018
Location: Idaho
That would be amazing! Sawed off shotgun in one hand, and hedge trimmer for the chainsaw arm. I wonder if it would be too crazy to make it so he could equip both the hedge trimmer and still shoot the shotgun or other one handed weapon to simulate the chainsaw being attached to his arm. Great idea in any case especially with the zombies.

Thank you very much Flugente for all of your hard work!!! It is extremely appreciated!!!! big grin
Re: New (unofficial) merc: Max Payne[message #353789 is a reply to message #353739] Thu, 14 June 2018 21:13 Go to previous messageGo to next message
townltu

 
Messages:175
Registered:December 2017
Location: here
Somewhat OT question about PC placement, so pls feel free to move or delete message.


If i get that right, placement of Max in San Mona relies entirely on entries in strategicEventHandler.lua,
i.e. if sector is not loaded (not gWorldSector[x/y]) and Max isnt either dead or hostile.

So i would have to add a PC according to "How do I do that?" Adding a new character
then clone Max`s block in strategicEventHandler.lua, and adjust sector&tile to place a new PC.
But how do i delay the spawn of the new PC depending on a specific event/fact (preferably with some days delay after fact became true),
and let him appear in one of the sectors where quests ID 11, 14 or 16 respectively 23, 29 or 33 can be finished?
Last not least is it possible to suppress the "your squad has noticed someone in sector x/x" message?
Else it would make much less sense to hide a merc.
(... for the few players who meet him before its common knownledge how&where to find;)
Re: New (unofficial) merc: Max Payne[message #353790 is a reply to message #353789] Thu, 14 June 2018 22:03 Go to previous messageGo to next message
Flugente

 
Messages:3334
Registered:April 2009
Location: Germany
First of all, this isn't the usual method of placing NPCs - the stock ones are placed in the map itself etc.. It seemed to me that this was a much, much easier way, and... well, it is happy

The 'noticed someone' check only appears in wilderness sectors, I see no easy deactivation method otherwise.

Checks for quests and facts are easy:

if  (not ( ( gWorldSectorX == 6) and ( gWorldSectorY == 3) ) and not MercIsDead(Profil.MAX) 
		and (gubQuest( Quests.QUEST_ESCORT_SKYRIDER ) == qStatus.QUESTINPROGRESS) and (CheckFact( Facts.FACT_ANGEL_LEFT_DEED, 0 ) == true) ) then
...



“What are you doing?” Joffrey interrupted him.

“… can’t a man give a few last words for his son to carry?”

“…Who told you your son was making it out of this field alive?”

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.


Re: New (unofficial) merc: Max Payne[message #353791 is a reply to message #353790] Fri, 15 June 2018 01:07 Go to previous messageGo to next message
townltu

 
Messages:175
Registered:December 2017
Location: here
Thanks so far;) and sorry for vague explanation of specific part, didnt want to leak too much.


So is it possible to set the spawn sector for the new PC equal to the sector where one of the classic Skyrider, Gabby etc spawn happens?
i.e which term to use instead of fixed sector coordinates [6,3,0] in command AddNPCtoSector (Profil.MAX,6,3,0),
or do i need to check all sectors where Gabby may be present whether he is actually there,
and let the result control a jump to fitting spawn command for the new PC?
Or perhaps both not doable atm, at all?
Re: New (unofficial) merc: Max Payne[message #353807 is a reply to message #353791] Fri, 15 June 2018 22:45 Go to previous messageGo to next message
Flugente

 
Messages:3334
Registered:April 2009
Location: Germany
Take a look at function GetIntelAndQuestMapData( aLevel ) in strategicmap.lua, this might be useful as it shows how to get coordinates of a character:

if ( gubQuest( Quests.QUEST_ESCORT_SHANK ) == qStatus.QUESTINPROGRESS ) then
			
	SetIntelAndQuestMapDataForSector(GetCharacterSectorX(Profil.JAKE), GetCharacterSectorY(Profil.JAKE), -1, MapSymbols.EXCLAMATIONMARK_BLUE, "Escort Shank to Jake", "")
			
end



“What are you doing?” Joffrey interrupted him.

“… can’t a man give a few last words for his son to carry?”

“…Who told you your son was making it out of this field alive?”

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.


Re: New (unofficial) merc: Max Payne[message #353826 is a reply to message #353732] Mon, 18 June 2018 16:54 Go to previous message
Spinasso

 
Messages:6
Registered:May 2017

In a Matthew McConaughey's voice: "Alright alright alright...!" thumbs up


Just want to tell you that I've started to work on Wei Shen (Sleeping Dogs's main character). I got the sound files already. 1h30 hour of quotes... Here we go again.
Btw, I'll need help with the face again too, otherwise it will be imp 203...

Next project will be Saint's Row male player's voices. Specially 1 (Troy Baker) and 3 (the one with the cockney accent).

Previous Topic: New feature: Take prisoners, interrogate them
Goto Forum:
  


Current Time: Mon Jun 18 17:59:39 EEST 2018

Total time taken to generate the page: 0.00924 seconds