I uploaded an update to the Captain's Challenge mods on the FTP server (CaptainsChallenge3.zip) . Changes:
Firedrill should be much less annoying now. No whining wimpy cries anymore, and one drill douses all current fires. And you can tweak or disable every feature of it.
I added (yet another <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="
" border="0" alt="wink.gif" /> ) tweak for the annoying reputation loss for fighting unarmed NPCs, as sometimes you just can't help hitting them:
#define REPLOSS 0 // Reputation you loose if you hit an unarmed NPC
For the Boardingparty you can now preselect up to four charactermodels in buildsettings.h .
The "Weaponslocker" feature has been added to Boardingparty. With the help of Inez' tool I added another chest to the cabinlocation (tutorial_cabin), beside the desk where the weapons hang. Any weapon you put into this will be used by your boarders. You can choose if they shall keep the weapons, which will quickly consume all the weapons that formerly clogged your inventory and force you to hunt for resupply. Or they will be handed back to YOU after the fight so that you can fill the locker again.
If the locker is empty your boarders will get a default "spareweapon". Currently they get only a dagger, but you can choose a type for yourself in... err, ehem.. buildsettings.h
I have added several functions to program\situations.c, where they can be called from any part of the game. So you can easily use them for your own mods.
void Explosion (ref chr, int damage) // Explosion hurts character "chr" with "damage" hp
can be used for boobytraps or bombs, or if you want to simulate artilleryhits in landfights.
void ChangeTownNation (string townsk, int nat) // functioncall must include townname, i.e. townsack attribute, and nationindex
will change the nation of a town, including the models of the townguards. E.g. for capturing of towns or political events.
void Ambush(string model, int bmax, string mainrel, string npcrel) // horde of attackers appears
// bmax is number of chr, mainrel relation to player, npcrel to NPCs
will let a horde of temporary "fantom" characters appear at the entry of a location. That way you can create ambushs or let a horde of indians or raiders attack a town. I plan to set random characters in the jungle (an old indian chieftain, a runaway slave...) who promise you the support of their tribe under certain conditions. You will then be able to call for their help in any situation, and a bunch of them will burst into the location and fight with you. As teaser I included a screenshot of savage Akellanis capturing a fort for me <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="
" border="0" alt="smile.gif" />
That function may be amended later to generate locationspecific screenmessages, sounds and dialogs.
string FindLockerItemByGroup(ref chref, string groupID)
checks the content of your weaponslocker, and
void EquipFromLocker(ref chref)
equips a character with that content. So you can provide not only your boarders with arms but also other characters, e.g. the above mentioned tribes.
In order not to overwrite your whole buildsettings.h with my settings, and for compatibility reasons, I put the tweaks for CC in a seperate file, BuildSettingsCCC.h. Only those take effect, any old CC tweaks which you may have in your buildsettings.h can be deleted. And i fear that the Weaponslockerchest works only if the location is being reinitialized by a new game <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid="
" border="0" alt="sad.gif" />
Firedrill should be much less annoying now. No whining wimpy cries anymore, and one drill douses all current fires. And you can tweak or disable every feature of it.
I added (yet another <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="

#define REPLOSS 0 // Reputation you loose if you hit an unarmed NPC
For the Boardingparty you can now preselect up to four charactermodels in buildsettings.h .
The "Weaponslocker" feature has been added to Boardingparty. With the help of Inez' tool I added another chest to the cabinlocation (tutorial_cabin), beside the desk where the weapons hang. Any weapon you put into this will be used by your boarders. You can choose if they shall keep the weapons, which will quickly consume all the weapons that formerly clogged your inventory and force you to hunt for resupply. Or they will be handed back to YOU after the fight so that you can fill the locker again.
If the locker is empty your boarders will get a default "spareweapon". Currently they get only a dagger, but you can choose a type for yourself in... err, ehem.. buildsettings.h
I have added several functions to program\situations.c, where they can be called from any part of the game. So you can easily use them for your own mods.
void Explosion (ref chr, int damage) // Explosion hurts character "chr" with "damage" hp
can be used for boobytraps or bombs, or if you want to simulate artilleryhits in landfights.
void ChangeTownNation (string townsk, int nat) // functioncall must include townname, i.e. townsack attribute, and nationindex
will change the nation of a town, including the models of the townguards. E.g. for capturing of towns or political events.
void Ambush(string model, int bmax, string mainrel, string npcrel) // horde of attackers appears
// bmax is number of chr, mainrel relation to player, npcrel to NPCs
will let a horde of temporary "fantom" characters appear at the entry of a location. That way you can create ambushs or let a horde of indians or raiders attack a town. I plan to set random characters in the jungle (an old indian chieftain, a runaway slave...) who promise you the support of their tribe under certain conditions. You will then be able to call for their help in any situation, and a bunch of them will burst into the location and fight with you. As teaser I included a screenshot of savage Akellanis capturing a fort for me <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="

That function may be amended later to generate locationspecific screenmessages, sounds and dialogs.
string FindLockerItemByGroup(ref chref, string groupID)
checks the content of your weaponslocker, and
void EquipFromLocker(ref chref)
equips a character with that content. So you can provide not only your boarders with arms but also other characters, e.g. the above mentioned tribes.
In order not to overwrite your whole buildsettings.h with my settings, and for compatibility reasons, I put the tweaks for CC in a seperate file, BuildSettingsCCC.h. Only those take effect, any old CC tweaks which you may have in your buildsettings.h can be deleted. And i fear that the Weaponslockerchest works only if the location is being reinitialized by a new game <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid="
