Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Need help with StrategicEventHandler.lua
Re: Need help with StrategicEventHandler.lua[message #365619 is a reply to message #363523] Sat, 05 August 2023 21:32 Go to previous messageGo to previous message
todd0001 is currently offline todd0001

 
Messages:42
Registered:November 2017
Let's start.
In GAMEINIT.I cut and pasted a section that you see here. I copied and pasted it right after this.
if (newGAME_STYLE == 1 and iniENABLE_CREPITUS == 1) then
-- F8
AddNPCtoSector( Profil.Bob, 8, SectorY.MAP_ROW_F, 0 )
end

So......for you;


if (newGAME_STYLE == 1 and iniENABLE_CREPITUS == 1) then
-- F8
AddNPCtoSector( Profil.Bob, 8, SectorY.MAP_ROW_F, 0 )
end
if (newGAME_STYLE == 1 and iniENABLE_CREPITUS == 1) then
-- F8
AddNPCtoSector( Profil.RPC65, 8, SectorY.MAP_ROW_F, 0 )
end


Worked for me.
Add this to GameInit.lua
Mod location in MercPro.xml
Add with mapeditor( profile I.Id.)

To make recruitable;
You need a portrait in the Faces folder with a "B" in front(90x100).
You need a script to handle recruitment. I copied one that worked(I think 72.maddog be best but I first used 229.EDT AND 229.NPC). These go in the NPCData folder.
Start new game cause of MercPro.xml

[Updated on: Sat, 05 August 2023 21:59]

Report message to a moderator

Corporal
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Turn NPC or merc into cow..
Next Topic: Civilians behaviour during fights.
Goto Forum:
  


Current Time: Wed Nov 27 22:49:16 GMT+2 2024

Total time taken to generate the page: 0.00793 seconds