@Pieter Boelen The icon is exactly in cicon_commands file. Now i had done all what you have said in the last post...now i see only the icon of the speed burst
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!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
Try attached version of the file. I recommend using WinMerge to compare this to the one you had before.good evening sir boelen, i'm here little erlier, i will show you my battle interface file. like suggested from you I've tried to manage where was the error, but it was unsuccesfull, please help if you can. I can't have two different icons, one for the speed burst and one for the triton attack, there must be some wrong spot but I can't manage where is the error.
@Pieter Boelen
case "BI_QARSword":
KrakenAttack(Characters[targetNum], GetCharacterShipHP(Characters[targetNum])/100 );
break;
case "Queen Anne's Revenge":
Then there's two things left to make it mod-worthy:Thanks so mucch sir boelen, it's perfect. You are spectacular. Thank you, thank you, thank you !!!!
The QARSwordEnabled() function is an example of such a "delay" check.exactly. the same think I was thinking
bool QARSwordEnabled()
{
ref pchar = GetMainCharacter();
if(!CheckCharacterItem(pchar, "Blade_Triton")) return false; // You need to have the item
if(CheckAttribute(pchar, "ship.speedburst")) return false; // Sword of Triton needs time to recharge after using
return true;
}
#event_handler("FinishSpeedBurst", "FinishedSpeedBurst");
void FinishedSpeedBurst()
{
ref pchar = GetMainCharacter();
PostEvent("SpeedBurstFinished",120000, "i", pchar);
pchar.Ship.Impulse.Rotate.z = 0.0;
if (GetAttribute(pchar, "ship.speedburst") == "PearlSweeps") DelPerkFromActiveList("PearlSweeps");
}
#event_handler("SpeedBurstFinished", "SpeedBurstAvailable");
void SpeedBurstAvailable()
{
ref pchar = GetMainCharacter();
if (GetAttribute(pchar, "ship.speedburst") == "PearlSweeps") LogIt("Captain, the crew is ready for another go at the oars!");
if (GetAttribute(pchar, "ship.speedburst") == "QARSword") LogIt("Captain, the Sword of Triton has recharged itself!");
DeleteAttribute (pchar, "ship.speedburst");
}
PChar.ship.speedburst = "QARSword";
PostEvent("SpeedBurstFinished",120000, "i", pchar);
Then I think two additional lines might do the trick.I think that this would be very balanced...use the rigging attack will prevent to use the speed burst because doing so the sword of triton must recharg itself...and it can be a very interesting point of real challenge and strategy in sea battles.
You can tweak the numbers any way you think right. It's your mod, after all.Spiking of wich can I suggest of augnent a little bit the rigging attack ? Just a little to give the player the sense of real power...after all dont forget that the sword of triton is a mytical sword. In this way i think we can have a great balance between power, strategy and fun. Dont you think?
sea_QARSword {Sword of Triton}
sea_QARSword {Speed Burst}
sea_TritonAttack {Rigging Attack}
Damage to crew and rigging.Neither can I. What's supposed to happen - damage to the rigging or..?