| View previous topic :: View next topic |
| Author |
Message |
AdamMil

Cutthroat 
Posts: 279 

 
4759 Gold -

|
Posted: Tue Mar 18, 2014 5:14 pm Post subject: another fun mod idea |
|
|
Say hello to my little friend!
 |
|
| Back to top |
|
 |
Pirate

Helmsman 
Posts: 5927 

 
117641 Gold -

|
Posted: Tue Mar 18, 2014 5:31 pm Post subject: Good idea |
|
|
Seems like I tried this once or something like it. Anyway it appears to me you replaced your musket boys with Spanish Artillerymen. So how did it go in the battle? |
|
| Back to top |
|
 |
Pirate

Helmsman 
Posts: 5927 

 
117641 Gold -

|
Posted: Tue Mar 18, 2014 5:35 pm Post subject: |
|
|
Did you mod the Pirates!.exe to get this? |
|
| Back to top |
|
 |
AdamMil

Cutthroat 
Posts: 279 

 
4759 Gold -

|
Posted: Tue Mar 18, 2014 5:39 pm Post subject: |
|
|
| Pirate wrote: | | Did you mod the Pirates!.exe to get this? | To make the screenshot I hacked the game a bit with The Cheat Engine. But I just now whipped up a little mod to replace all buccaneers with artillery. :-)
| Pirate wrote: | | So how did it go in the battle? | I donno. I'm running the game in a virtual machine, and it gets about 3 frames per second. It's too slow to actually play. But I'm about to reboot into a real Windows partition so I can try out some artillery against Montalban's Indians. :-) I'll report back!
Last edited by AdamMil on Tue Mar 18, 2014 5:53 pm; edited 1 time in total |
|
| Back to top |
|
 |
AdamMil

Cutthroat 
Posts: 279 

 
4759 Gold -

|
Posted: Tue Mar 18, 2014 5:50 pm Post subject: |
|
|
Well, that was disappointing! Turns out that artillery are weakass, doing less than 1/3 of the damage a buccaneer does (8%). I was hoping for carnage! They do have a pretty huge range, though (practically the whole map). It'd be dangerous if you had a lot of them, but buccaneers are still better.
Last edited by AdamMil on Mon Mar 24, 2014 6:12 am; edited 1 time in total |
|
| Back to top |
|
 |
Pirate

Helmsman 
Posts: 5927 

 
117641 Gold -

|
Posted: Tue Mar 18, 2014 6:03 pm Post subject: |
|
|
I will check it out soon. What did you change to get this? |
|
| Back to top |
|
 |
AdamMil

Cutthroat 
Posts: 279 

 
4759 Gold -

|
Posted: Tue Mar 18, 2014 6:07 pm Post subject: |
|
|
| Pirate wrote: | | I will check it out soon. | Only if you want to. I'm not proposing it as a serious mod and it doesn't need any testing. :-)
| Pirate wrote: | | What did you change to get this? | I just found the code to create a land unit and inserted something along the lines of "if type == Buccaneers, then type = Artillery". I don't know if that's what you wanted to know... |
|
| Back to top |
|
 |
Pirate

Helmsman 
Posts: 5927 

 
117641 Gold -

|
Posted: Tue Mar 18, 2014 7:32 pm Post subject: |
|
|
Where in the Pirates exe. is it? What offset? Thanks just curious. |
|
| Back to top |
|
 |
AdamMil

Cutthroat 
Posts: 279 

 
4759 Gold -

|
Posted: Wed Mar 19, 2014 1:58 am Post subject: |
|
|
| Pirate wrote: | | Where in the Pirates exe. is it? What offset? Thanks just curious. | Alright, hopefully this makes sense to you. :-) | Code: | address 431BE0 (file offset 31BE0):
void __cdecl AddLandBattleUnit(int side, enum eLandUnit unitType, int a3, short xPosGrid, short yPosGrid, short direction);
enum eLandUnit { LU_Pirates = 0, LU_Buccaneers = 1, LU_Infantry = 2, LU_Cavalry = 3, LU_Artillery = 4, LU_Archers = 5, LU_Unknown6 = 6, LU_Scouts = 7, LU_Guards = 8, LU_Officers = 9 };
enum eDirection { DIR_N = 0, DIR_NE = 1, DIR_E = 2, DIR_SE = 3, DIR_S = 4, DIR_SW = 5, DIR_W = 6, DIR_NW = 7 };
side is 0 (player) or 1 (AI).
xPosGrid and yPosGrid are from 0-15, as the land battle takes place on a 16x16 grid. |
|
|
| Back to top |
|
 |
AdamMil

Cutthroat 
Posts: 279 

 
4759 Gold -

|
Posted: Wed Mar 19, 2014 12:19 pm Post subject: another |
|
|
Time to run.
 |
|
| Back to top |
|
 |
Pirate

Helmsman 
Posts: 5927 

 
117641 Gold -

|
Posted: Wed Mar 19, 2014 4:42 pm Post subject: |
|
|
whats this a run to the fort mod? |
|
| Back to top |
|
 |
Captain Teague

Rigger 
Posts: 1176 

 
12207 Gold -

|
Posted: Thu Mar 20, 2014 12:28 am Post subject: |
|
|
That is a... giant accomplishment.
"Ho ho ho!" _________________ The Code is the Law. |
|
| Back to top |
|
 |
AdamMil

Cutthroat 
Posts: 279 

 
4759 Gold -

|
Posted: Thu Mar 20, 2014 1:28 am Post subject: |
|
|
| Pirate wrote: | | whats this a run to the fort mod? | Just messing around, actually. My real goal was to rewrite the land battle AI to make it a more worthy opponent, so I'd have another part of the game "fixed" for my challenge pack. But creating a clever AI for the land battle is surprisingly hard... I guess I lack the relevant experience. I'm sure I could do better than the game, but that's not saying much...
| Captain Teague wrote: | | :| That is a... 8) giant accomplishment. | :-D |
|
| Back to top |
|
 |
Rusty Edge

Rigger 
Posts: 1977 

 
2992 Gold -

|
Posted: Fri Jun 06, 2014 10:06 pm Post subject: |
|
|
I'm guessing rule changes would be hard.
If I were to change a rule, it would be to prevent face to face units from flanking each other .
Using the numpad for reference-
P is pirate, S is a scout and G is guard.
If the turn starts like this, with G and P head to head -
7 8 9
4 G 6
1 P S
My pirate cannot move from 2->6 ->5 . Neither can it move 2->4->5 .
It could attack the Scout in the flank if the Scout is facing another direction at the beginning of the turn..
[/b]-------------------------------------------------------------------------------
Another thing that could make the game more challenging would be if you could give the Spanish buccaneers as replacements for their archers.
----------------------------------------------------------------------------------
Could the map be modified to favor the defenders? If the defenders had cover and high ground, while the pirates had to approach on open ground, it would be harder.
---------------------------------------------------------------------------
Giving Cavalry an extra movement point, or defenders muskets longer range would serve the purpose, too.
|
|
| Back to top |
|
 |
Rusty Edge

Rigger 
Posts: 1977 

 
2992 Gold -

|
Posted: Sat Jun 07, 2014 4:19 pm Post subject: |
|
|
Here are some thoughts I expressed last year about improving land battles in the context of a Pirates! expansion.
Hopefully there is a useful idea in it.
I have long held the opinion that difficulty levels in computer/video/console games should not be about handicaps alone. Big handicaps feel unfair.
On the other hand, if the A.I. had an additional new tactic or two with each difficulty, the game would be far more immersive. Making the A.I behaviors probable, rather than predictable would be great, too. That would keep we humans on our toes.
These are suggestions I made for A.I land battles.
What if sometimes the defenders actually defended the gate?
What if sometimes the cavalry stayed out of the woods, and let that to the scouts?
What if sometimes the guards sidestepped the pirates in front of them and attacked them in the flank?
What if sometimes the infantry charged the buccaneers instead of shooting it out with them?
By defending the gate in a strong formation, the A.I could put up a stiffer resistance than attacking piecemeal. The AI is infinitely more patient than the human, It could wait for us to come to it.
Keeping the cavalry out of the woods where it's weak is how I would use it.
Keeping the Scouts in the trees where they use their abilities to best advantage is how I would use them. Same with Guards flanking pirates and infantry charging buccaneers rather than trading volleys with them. It's a more sensible approach.
But what if I thought or expected all of the AI to be dug in at the gates, and I advanced a level and discovered that there were cavalry attacking me from the woods after I passed, or guards firing and charging on my flanks?
Making AI behavior consistent & predictable makes it able to be manipulated. Making it unpredictable means that the human has to play more cautiously, has to hold reserve units and plan for contingencies. It's a much more engaging game that way, rather than simply giving the AI extra men. |
|
| Back to top |
|
 |
|