A huge request for water-barbarians/pirates!!

Last bump on this thread....:sad:

Ill post another request after a month or so;)
 
this would actually be pretty easy, i think. if someone could make a skin. the skin is the hardest part. once the unit is in place in the game, go to the civilizationinfos XML file, and under every civilization, where it says <Units/>, change it to read:

<Units>
<Unit>
<UnitClassType>UNITCLASS_PIRATE_SHIP</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
</Units>

of course, you've got to cut and paste a new unitclass, PIRATE_SHIP, but it's all a quick cut and paste. once you've disabled the unitclass for every civ except the barbarians, it becomes, in essence, a barbarian unique unit. i gave the barbarians galleys that carry a catapult that can conduct airstrikes (hilariously) in a 1 tile range. and i am no kind of modder, just a cut and paster in notepad. the key is getting the skin. for my above unit, i so badly twisted the stats and intent of a galley unit someone created that i wouldn't be comfortable posting it, but "re-modding" is a great way to get a leg up on the process for your personal use. you could even just erase the
<Unit>
<UnitClassType>UNITCLASS_FRIGATE</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
under the barbarians and they'd have frigates to act as pirate ships. i actually already do this. anyway, i'm sure there's better ways, this is just what i've managed to figure out on my own.

edited for typo.
 
I've also been thinking about implementing pirates, here was the initial approach I was envisioning:

Barbarians would be given normal frigates and galleons (for simplicity), but they'd have the black flags and scull and crossbone barbarian flag style. The creation of these would be limited by how many players knew astronomy, once two did the pirate spawning would begin.

Similar to land units, the frigates would spawn randomly in fog'o'war ocean tiles, with a max possible number of pirates based on the number of ocean tiles. Then, maybe 20% of the time, instead of spawning a frigate in the middle of nowhere, it would instead spawn a frigate, a galleon, and some land unit or two in a random coastal barbarian city. The frigate would be given the sea assault AI, so it would load up some units and go invade somebody. If there are no coastal barb cities ... I guess it'd be more fun to spawn it in the middle of nowhere than not.

Once two people had researched combustion, no more pirate ships would be spawned. Getting to this point is just a few lines of Python code, could have it working this weekend.

Beyond this, options for making it super sweet would include:

- A pirate land unit or two ... Arrr! Wouldn't want to replace the barb states ability to build regular units, so they'd probably have to be new using the method naterator discussed above. I've actually never seen barb musketmen, so maybe you could get away with replacing those. Or you could do some total hack where they replace units the barbs should never have, like modern armor or fighter jets.
- Special version of galleon as unique unit for pirates, with more gold trim on the cabin area, that could only carry a couple units, but maybe also bombard (like naterator mentioned above).
- Add a Civ3 style Privateer to the game for all civs. Would have invisible nationality and chance to capture a defeated vessel. The pirate frigates would then be replaced with these. (Would probably have to have a cap on how many they can capture, or have them lose to most frigates, to avoid having unpassable seas).
 
I've actually never seen barb musketmen, so maybe you could get away with replacing those.
y'know what? i didn't even think of that. i was thinking of adding a whole new unitclass and denying it to all civs, but you actually could just add the unit to replace a unit (musketmen would be ideal) as the barbarian unique unit. it was really only necessary for me to make a new unitclass because i was replacing one unit with 2 unique units, in my case, it was an assault galley and transport galley, which was a waste of effort because the barbarians don't put troops onto galleys. but since the pirate ships would just replace an existing unit, you wouldn't have to edit everyone elses civ, just add this to the barbarian civilization info

<Unit>
<UnitClassType>UNITCLASS_MUSKETEER</UnitClassType>
<UnitType>UNIT_BUCCANEER</UnitType>
</Unit>

and remove the barbarian limits on building musketeers (and whatever else is needed) and they'll build them.
 
jdog, do you have an implementation plan for how to get "hidden" nationality units? That's been a repeated request on this board, and something I'd be interested in... would revive the entire gameplay of espionage...
 
Padmewan said:
jdog, do you have an implementation plan for how to get "hidden" nationality units? That's been a repeated request on this board, and something I'd be interested in... would revive the entire gameplay of espionage...

I think solving this would kill two birds with one stone for me... because I've been wanting a way to flag a unit as hostile without having to be at war with the player who owns it... which is essentially what, I think, a privateer "hidden nationality" unit would be. Certainly, if you wanted to have it attack a civ that you have Open Borders with, you'll need something more than just overriding the declare war action when the unit would be entering the tile of the other unit.
 
Arrrr.

I be liking yer ideas for pirates. It'll be a fine day when pirates roam the seven seas once more. Arrr.

Forgive the above, I'm tired, and bored.

I too would like to see the implementation of hidden nationality units. If it's not done in 4 weeks, I'll do it myself.
 
Padmewan said:
jdog, do you have an implementation plan for how to get "hidden" nationality units? That's been a repeated request on this board, and something I'd be interested in... would revive the entire gameplay of espionage...
Not yet ... haven't really looked into it. I'd imagine it would require SDK changes. Has anyone heard mention of this being in Warlords by chance? Seems like something they might add officially.
 
Back
Top Bottom