Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Weapon equip for officers bugged.

A topic by Oldtimer created May 25, 2024 Views: 130 Replies: 4
Viewing posts 1 to 4

Hi all,

my officer having no pistol previously refuses to equip a gifted one. He also refuses to equip the La Licorne sword keeping his worthless cutlass instead.

Rgds, Oldtimer

It`s getting worse, after a couple of months he unequips his cutlass permanently and ofc doesn`t fight.

Rgds, Oldtimer

BUMP!

Anyone else experiencing this? Or is it only my installation playing up?

Rgds, Oldtimer

(+1)

  1. That's because I am an idiot. About a month ago, someone asked for some help to modify ERAS so it would stop auto-selecting officer weapons and to enable the button to manually assign them. It requires a bunch of modifications, so I gave them example code of all the files. However, my idiocy is that I apparently actually saved one of those file changes that skips assigning officer weapons entirely, and uploaded that to Itch. I am uploading the reverted file right now. But in the meantime, go to Program\characters\CaracterUtilite.c, line number 3161 and you will see this: void CharacterCheckEquipAll(ref refCharacter) { return;//Add this line if(!CheckAttribute(refCharacter, "id")) return; ...
  2. [8:31 AM]Get rid of this line: return;//Add this line So it looks like this: void CharacterCheckEquipAll(ref refCharacter) { if(!CheckAttribute(refCharacter, "id")) return; ... ...

THX, it works now.

Rgds, Oldtimer