Thanks a lot for asking, Cat <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="

" border="0" alt="smile.gif" />
Sorry for my late reply, but at the moment I can hardly spare any time for PotC. That also means that I can not take part in any modpublication project.
But feel free to use anything that I have published if it is of any use for you. I explicitly consider all my work public property for the WHOLE community, and I am always happy if someone takes my mods, posts or tutorials and develops them into his own mods. Never mind the credits as long as the game gets more interesting.
So i'd be honoured if you develop that "boardingpositon & model" idea further.
For convenience's sake the original post about that again:
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Now that's a coincidence! Just this very day have I changed the "load boarding" procedure a little, for two reasons:
1. It's sometimes difficult to distinguish your sailors from pirates
2. I personally don't like it that the bordingscene jumpstarts with you and your men spread evenly over two ships, each one locked in exactly one duel with exactly one enemy. It would IMHO be more realistic if each crew starts on their own ship and starts to attack as one more or less closed swarm.
Well, both things can be changed easily. Open the file
programLoc_AILAI_boarding
and find this section:
model = LAi_GetBoardingModel(GetMainCharacter(), &ani);
chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, model, ani, "rld", "loc" + i);
Replace it with this
//model = LAi_GetBoardingModel(GetMainCharacter(), &ani); //ccc original code
//chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, model, ani, "rld", "loc" + i); //ccc original code
chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, "soldier_eng", "man", "rld", "loc" + 1); //ccc new model and position of own crw
"soldier_eng" will turn your crew into English soldiers. You can of course use also "soldier_fra" or any other charactermodel.
"loc" + 1 positions your men in one compact group at your side.
Then find this line a little bit below
chr = LAi_CreateFantomCharacterEx(boarding_erank -mchr_rank, true, true, 0.25, model, ani, "rld", "aloc" + i);
and replace it with this
//chr = LAi_CreateFantomCharacterEx(boarding_erank -mchr_rank, true, true, 0.25, model, ani, "rld", "aloc" + i); //ccc original code
chr = LAi_CreateFantomCharacterEx(boarding_erank -mchr_rank, true, true, 0.25, model, ani, "rld", "aloc" + 2); //ccc pos of enemy
"aloc" + 2 positions the enemycrew in one compact swarm on the opposite ship, and the two swarms attack each other in a nice melee. Apart from looking much more realistic this allows you to apply some battle tactics like attacking the enemy"formation" from the rear or blocking the attack at the "gangway" plank.<!--QuoteEnd--></div><!--QuoteEEnd-->
Yes, you can use any model you want for your boarders, even Danielles or skeletons, by replacing the "soldier_eng" in the last line of this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//model = LAi_GetBoardingModel(GetMainCharacter(), &ani); //ccc original code
//chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, model, ani, "rld", "loc" + i); //ccc original code
chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, "soldier_eng", "man", "rld", "loc" + 1); //ccc new model and position of own crw<!--c2--></div><!--ec2-->
For variation: if you have modelnames with numbers at the end you can easily select a random variety like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, "pirat" + (1 + rand(9)), "man", "rld", "loc" + 1);<!--c2--></div><!--ec2-->
or
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, "towngirl" + (1 + rand(6)), "woman", "rld", "loc" + 1); // WOMENS LIB !!<!--c2--></div><!--ec2-->
To make this tweakable, so that any player can use his favourite model, insert a variablename instead:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->chr = LAi_CreateFantomCharacterEx(0, true, true, 0.25, BOARDER, "man", "rld", "loc" + 1);<!--c2--></div><!--ec2-->
and insert the define for BOARDER into buildsettings.h:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->#define BOARDER "Will" // replace with any modelname from resource/models/characters, but caution, some don't have the right animation!<!--c2--></div><!--ec2-->
HTH <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="

" border="0" alt="smile.gif" />