• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed Guard patrol not armed at tavern

ANSEL

Corsair
Storm Modder
Hearts of Oak Donator
Standard storyline: When meeting Danielle at Port Royal, guards are not wearing weapons,
witch break the quest!
PS, Something are wrong whit the equipment system, noticed it before at other places.
 

Attachments

  • seadogs2_0045.jpg
    seadogs2_0045.jpg
    359.9 KB · Views: 93
  • -=Player=- Jamaica. Port Royale. Center. August 14th, 1750.zip
    859.5 KB · Views: 74
Last edited:
I think this is the cause:
Code:
    //Levis this is done in create character too
    /*EquipCharacterByItem(&chr, FindCharacterItemByGroup(&chr, BLADE_ITEM_TYPE));
    EquipCharacterByItem(&chr, FindCharacterItemByGroup(&chr, GUN_ITEM_TYPE));
    EquipCharacterByItem(&chr, FindCharacterItemByGroup(&chr, ARMOR_ITEM_TYPE));*/
commented that out in LAi_Utils CreateFantomCharacterExOt
Guess these characters are made later and therefor they aren't equiped..

Place attached file in PROGRAM\Loc_ai and try it again. Please let me know if this works
 

Attachments

  • LAi_utils.c
    22.8 KB · Views: 116
This savegame are just after fighting those two guys about the chest.
Exactly when the guards are generated, I don't know.I could go back
too before the fight, see if it work then.
 
I was going all the way back to Speigtown, now some of the guards , I fight in the harbor,
are armed others not. Going back have no influence on what happens in Port Royal later.
But there is a lot of logs.
PS: It must bee a random problem at Speigtown.
 

Attachments

  • error.zip
    225 bytes · Views: 92
  • compile.zip
    4.5 KB · Views: 83
  • system.zip
    840 bytes · Views: 78
Last edited:
@Pieter Boelen I hope there will be a time to look at this soon. I cant go further
testing before. My plan was to test the whole standard storyline, first the main quest,
when finished it, then the sidequest.
By the way: First time you talk with Silehart, you get a LOM(thats new isent it) but
Silehart cant promote you, dialog option missing. After the main quest is fineshed
the new governor offer you to serve the nation, so what now?
 
@Pieter Boelen I hope there will be a time to look at this soon. I cant go further
testing before.
I hope so too. I haven't even been near my game since you reported it though; work and everything. :facepalm

By the way: First time you talk with Silehart, you get a LOM(thats new isent it) but
Silehart cant promote you, dialog option missing.
Getting a LoM is indeed new to prevent you from getting bad relations just for following the story.
Silehard indeed never had the dialog for promotion. Not sure if it should be added to him or not....

After the main quest is fineshed
the new governor offer you to serve the nation, so what now?
When you accept Brin's offer, you should get your LoM back.
You may also get your previous rank back in certain cases.
 
Standard storyline: When meeting Danielle at Port Royal, guards are not wearing weapons,
witch break the quest!
Uhm.... I loaded that save in my own game and it all worked exactly like it should.
The guards had weapons just fine.

I don't have @Levis' update from yesterday installed yet though; maybe that makes a difference?
 
@ANSEL: Extract this file to your PROGRAM folder to fix.

Turns out it WAS because of the last Levis fix files.
This line was now outcommented (probably in relation to the armour equipping issue):
Code:
ExecuteCharacterEquip(chr);
But without it, indeed your soldiers have no weapons equipped and you get that problem. :facepalm
 

Attachments

  • Leveling.zip
    13.4 KB · Views: 88
@Pieter Boelen Yes. It fixed the unarmed guards, but when I go to prison, I was armed whit Neptune´s Trident,
maybe it makes a little confusion`s when I got the sword from the gunner. This equipment tings
is spooking around with me.:unsure
 
Last edited:
....but when I go to prison, I was armed whit Neptune´s Trident,
maybe it makes a little confusion`s when I got the sword from the gunner.
Yep, I noticed that too. Not so strange though.
Your weapons are unequipped when you get to the prison and when you escape, you equip them again.
Since the game doesn't remember what you equipped before, the game just equips what it considers to be "the best".

This uses "minlevel" and Neptune's Trident has a ridiculous minlevel 0f 99 and therefore takes precedence over anything else.
Maybe I should set it to "skipequip = true" so it won't ever be auto-equipped at all.
 
Often when I go to a port ,I will be armed with the trident,
and not my preferred sword:yes
OFTEN, you say? Sounds like there IS re-equipping code being applied to the player despite that NOT being intended.
That does give us a bit of a clue on that armour issue....
 
Back
Top