Shop  •   Avatar  •   FAQ  •   Search  •   Memberlist  •   Usergroups  •   Profile  •   Log in to check private messages  •   Log in  •  Register 

another fun mod idea
Post new topic   Reply to topic     Forum Index -> Customization & Modding Goto page 1, 2  Next
View previous topic :: View next topic  
Author Message
AdamMil
Cutthroat
Posts: 279



4759 Gold -

PostPosted: Tue Mar 18, 2014 5:14 pm    Post subject: another fun mod idea Reply with quote

Say hello to my little friend!

Back to top
View user's profile Send private message Visit poster's website
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Tue Mar 18, 2014 5:31 pm    Post subject: Good idea Reply with quote

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
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Tue Mar 18, 2014 5:35 pm    Post subject: Reply with quote

Did you mod the Pirates!.exe to get this?
Back to top
View user's profile Send private message
AdamMil
Cutthroat
Posts: 279



4759 Gold -

PostPosted: Tue Mar 18, 2014 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
AdamMil
Cutthroat
Posts: 279



4759 Gold -

PostPosted: Tue Mar 18, 2014 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Tue Mar 18, 2014 6:03 pm    Post subject: Reply with quote

I will check it out soon. What did you change to get this?
Back to top
View user's profile Send private message
AdamMil
Cutthroat
Posts: 279



4759 Gold -

PostPosted: Tue Mar 18, 2014 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Tue Mar 18, 2014 7:32 pm    Post subject: Reply with quote

Where in the Pirates exe. is it? What offset? Thanks just curious.
Back to top
View user's profile Send private message
AdamMil
Cutthroat
Posts: 279



4759 Gold -

PostPosted: Wed Mar 19, 2014 1:58 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
AdamMil
Cutthroat
Posts: 279



4759 Gold -

PostPosted: Wed Mar 19, 2014 12:19 pm    Post subject: another Reply with quote

Time to run.

Back to top
View user's profile Send private message Visit poster's website
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Wed Mar 19, 2014 4:42 pm    Post subject: Reply with quote

whats this a run to the fort mod?
Back to top
View user's profile Send private message
Captain Teague
Rigger
Posts: 1176



12207 Gold -

PostPosted: Thu Mar 20, 2014 12:28 am    Post subject: Reply with quote

Neutral That is a... Cool giant accomplishment.

"Ho ho ho!"
_________________
The Code is the Law.
Back to top
View user's profile Send private message
AdamMil
Cutthroat
Posts: 279



4759 Gold -

PostPosted: Thu Mar 20, 2014 1:28 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Rusty Edge
Rigger
Posts: 1977



2992 Gold -

PostPosted: Fri Jun 06, 2014 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rusty Edge
Rigger
Posts: 1977



2992 Gold -

PostPosted: Sat Jun 07, 2014 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Customization & Modding All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group