• 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!

El Rapido's Rapid_Raid Mod

What is actually happening with ammo in weapons locker? A new facility, tweak or... <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Hehe, check it out here: <b><a href="http://forum.piratesahoy.net/index.php?showtopic=7057" target="_blank">El Rapido's Ammo Restock Add-On</a></b> <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Yesterday I tested the Rapid Raid mod for a bit and have noticed the exact same problem as Jason did: Every time I pressed the F9 button, one enemy Nathaniel Hawk would show up who isn't very strong. Please check this out. Maybe the code in elrapido.c s correct, but the function call in seadogs.c is not:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->        // El Rapido Rapid Raid -->
        case "Rapid_Raid":
            PlaySound("OBJECTS\raid.wav");
            if(Pchar.nation != FRANCE)
            {
                Rapid_Raid("soldiers", 10, FRANCE, "friend", "enemy","A French infantry unit suddenly appears and attacks you!", "French Musketeer", 8, 4, 120, 360, 9, 7, 2, 0.8, 0, 0, 0);
            }
            else
            {
                Rapid_Raid("soldiers", 12, SPAIN, "friend", "enemy","Spanish Conquistadors suddenly appear and attack you!", "Conquistador", 9, 5, 180, 400, 14, 6, 0, 1, 0, 0, 0);
            }
        break;
        // El Rapido Rapid Raid <--<!--c2--></div><!--ec2-->
 
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->
    // El Rapido Rapid Raid -->
        case "Rapid_Raid":
            PlaySound("OBJECTS\raid.wav");
            if(Pchar.nation != FRANCE)
            {
                Rapid_Raid("soldiers", 10, FRANCE, "friend", "enemy","A French infantry unit suddenly appears and attacks you!", "French Musketeer", 8, 4, 120, 360, 9, 7, 2, 0.8, 0, 0, 0);
            }
            else
            {
                Rapid_Raid("soldiers", 12, SPAIN, "friend", "enemy","Spanish Conquistadors suddenly appear and attack you!", "Conquistador", 9, 5, 180, 400, 14, 6, 0, 1, 0, 0, 0);
            }
        break;
        // El Rapido Rapid Raid <--
<!--c2--></div><!--ec2-->

Wow! This one is a really old bunch of code! Where'd ya get that? <img src="style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" />

Of course this piece of code DOES NOT work with the Rapid_Raid function anymore, since there are new parameters in there. The number of attackers would be "SPAIN" in this call and so on...
I thought I had removed that from the archive a long time ago... Argh! <img src="http://beni.etaworks.ch/resources/s/smiley_ugly.gif" border="0" alt="IPB Image" />
But in the comments in elrapido.c everything is just fine... and I checked only the comments in elrapido.c over and over again.
I didn't even know, that the piece of code you mentioned here existed anymore. <img src="http://beni.etaworks.ch/resources/s/smiley_ugly.gif" border="0" alt="IPB Image" />

My fault! My fault! I knew, nobody would read the comments <img src="style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" />

<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><b>OKAY! THE EDITED ZIP-ARCHIVE IS ONLINE NOW!</b><!--colorc--></span><!--/colorc--> <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />

I am sorry for this inconvenience. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><b>DOWNLOAD THE UPDATED VERSION 1.2 (06-03-29) HERE: <a href="http://people.freenet.de/philipp.dorok/elrapido/RapidRaid.zip" target="_blank">Download RapidRaid.zip</a></b><!--colorc--></span><!--/colorc-->
 
No testers so far? <img src="style_emoticons/<#EMO_DIR#>/dp_nogd.gif" style="vertical-align:middle" emoid=":ng" border="0" alt="dp_nogd.gif" />
 
El Rapido,


I have downloaded file and am looking forward to testing. Unfortunatel I can't do it untill tomorrow.
 
I have downloaded it and added it to my modpack. So far, it doesn't work, but that's more likely my fault than yours. I merged a whooole lot of stuff together and I obviously made some mistakes somewhere. Heck; I can't even pick up my blade in the tutorial anymore using the F3 button! And no error.log files whatsoever! <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
 
It does work, but, strangely enough, if you call for a Rapid Raid with your blade drawn using the F9 button, the Rapid Raid won't actually come until you put your blade away. What the HECK??? <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
 
<!--quoteo(post=144284:date=Apr 1 2006, 03:35 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Apr 1 2006, 03:35 PM) [snapback]144284[/snapback]</div><div class='quotemain'><!--quotec-->
It does work, but, strangely enough, if you call for a Rapid Raid with your blade drawn using the F9 button, the Rapid Raid won't actually come until you put your blade away. What the HECK??? <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->

Now that's a strange one, you got there. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
Currently you must have a very funny version of POTC, Pieter. <img src="style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" />

I am very happy that there are at least some testers around.
Thank you very much! <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
LOL. I think you're being quite right. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
Your Rapid Raids ARE called immediately then, even if your blade is drawn? Hmm. I'll be having quite some work ahead of me to get the next update done. I don't want your people to have quite as crazy bugs as me... <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
Can you please test the Rapid Raid on your own system and see if a raid appears when you call one with your blade drawn? I tested again and, once more, when I called a Rapid Raid with my blade drawn, it would appear once I put my blade away. Crazy. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
 
I cant call a rapid raid, i have downloaded and installed it, but if i press f9 or numpad 9 nothing happens.
 
If you don't already have this code:
Add this to PROGRAM\CONTROLS\init_pc.c:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// El Rapido Rapid Raid -->
    CI_CreateAndSetControls( "PrimaryLand", "Rapid_Raid", CI_GetKeyCode("VK_NUMPAD9"), 0, true );
// El Rapido Rapid Raid <--<!--c2--></div><!--ec2-->
Add this to PROGRAM\seadogs.c:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->        // El Rapido Rapid Raid -->
        case "Rapid_Raid":
            PlaySound("OBJECTS\raid.wav");
            if(Pchar.nation != FRANCE)
            {
                Rapid_Raid("soldiers", 10, FRANCE, "friend", "enemy","A French infantry unit suddenly appears and attacks you!", "French Musketeer", 8, 4, 120, 360, 9, 7, 2, 0.8, 0, 0, 0);
            }
            else
            {
                Rapid_Raid("soldiers", 12, SPAIN, "friend", "enemy","Spanish Conquistadors suddenly appear and attack you!", "Conquistador", 9, 5, 180, 400, 14, 6, 0, 1, 0, 0, 0);
            }
        break;
        // El Rapido Rapid Raid <--<!--c2--></div><!--ec2-->
 
<!--quoteo(post=144335:date=Apr 2 2006, 12:25 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Apr 2 2006, 12:25 PM) [snapback]144335[/snapback]</div><div class='quotemain'><!--quotec-->
Can you please test the Rapid Raid on your own system and see if a raid appears when you call one with your blade drawn? I tested again and, once more, when I called a Rapid Raid with my blade drawn, it would appear once I put my blade away. Crazy. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->

Well, it works everytime, everywhere and every game, no matter whether you have drawn your blade, tuba or daffodil <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
Then what FOR CRYING OUT LOUD is wrong with my game??? <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />
 
when are you going to release your mastercrafted gun(s) and sword(s) el rapido, i love to see some hard to get swords and guns.
 
Well, the work is in progress... but unfortunately my time is very rare at the moment. <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
University courses have begun, but I hope I will manage to tinker around with POTC modding in my spare time. <img src="style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
 
I have figured out what was wrong:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// El Rapido Rapid Raid -->
    CI_CreateAndSetControls( "PrimaryLand", "Rapid_Raid", CI_GetKeyCode("VK_NUMPAD9"), 0, true );
    MapControlToGroup("Rapid_Raid", "FightModeControls"); <-- This line was missing from init_pc.c
// El Rapido Rapid Raid <--<!--c2--></div><!--ec2-->So it is working properly now. However, the worldMap.isLoaded == "true" statement causes an error in error.log, so I removed that. Thanks for this mod. <img src="style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />
 
Back
Top