Mod Request Naval Veterancy Buildings

grimey

Chieftain
Joined
Oct 5, 2010
Messages
13
There is a complete lack of buildings that give naval units experience points. When I play as England I would like to feel that my navy is powerful without having to farm experience by bombarding barbarians to get some experience.

Could someone please add in naval versions of the barracks probably something along the lines of a "Quarters" requiring sailing, a naval version of an armory probably something along the lines of a "Stockpile" that requires compass tech. And a naval version of the military academy probably just call it a "Naval Academy" which would of course require Military Science

I've tried making this mod myself and well things haven't been working very well and I have taken quite a few hours to try to figure it out with kael's tutorial but i don't really know how to make art files and things just haven't been working out. It probably wouldn't take an experienced modder much time to make this so if anyone could please help out that would be awesome.

Thanks in advance,
Grimey
 
could somebody please help me out with this now I am just trying to add the +15 experience gained to the lighthouse to start out with and things just aren't happening

This is what I've got for the buildings file so far

<GameData>
<Building_DomainFreeExperiences>
<Row>
<BuildingType>BUILDING_LIGHTHOUSE</BuildingType>
<DomainType>DOMAIN_SEA</DomainType>
<Experience>15</Experience>
</Row>
</Building_DomainFreeExperiences>
</GameData>

I also have an updated text file for the civpedia which is as follows

<GameData>
<Language_en_US>
<Update>
<Where Tag="TXT_KEY_BUILDING_LIGHTHOUSE_STRATEGY"/>
<Set Text="The Lighthouse can only be constructed in a city next to a coastal tile. It increases the food output of water tiles by +1 and Naval Units trained here gain +15 Experience Points."/>
</Update>
</Language_en_US>
</GameData>

There are a couple of questions I have about finishing mods that werent quite answered in Kaels guide like whats the difference between a project and a solution how exactly do i "build" a mod i click the build button but dont really know much about that

Any help would be great this project has consumed my free time I find myself not able to even enjoy playing the game because i really would like at least a bit of experience for my naval units even if it just means tacking it onto the existing naval buildings.
 
Hey grimey, good to see you're jumping in and giving it a go.

First of all, when you post code, use the CODE tags so that it's a bit easier to read for us.;)

Code:
<GameData>
    <Building_DomainFreeExperiences>
        <Row>
            <BuildingType>BUILDING_LIGHTHOUSE</BuildingType>
            <DomainType>DOMAIN_SEA</DomainType>
            <Experience>15</Experience>
        </Row>
    </Building_DomainFreeExperiences>
</GameData>

See?:)

So you're mods not working?

Since you're using Kael's guide, I assume you are using the OnModActivated action in the Mod Properties. Make sure that's done correctly, for both of your XML files.

Your XML looks fine, otherwise.

A difference between a project and a solution is, in Visual Studio, that a solution can have severel projects. (Or is it the other way around?) Either way, it's not something to worry about in ModBuddy.

You build your project by clicking Build -> Build [Your Mod Name]. Assuming you havn't gotten your code wrong, it'll work just fine.

Built projects appear in Documents/My Games/sid miers civilization 5/MODS/[Your Mod Name].
 
thanks for the reply

yes I did go into the OnModActivated and UpdateDatabase in the properties and everything seems like it should work

I try testing it out and even disable all my other mods but it just doesn't want to work i really don't know what I'm doing wrong and it is really driving me insane and I'm sure when I figure it out or someone tells me what is wrong its going to be something so simple I'm going to slap myself in the forhead

I'm mostly wondering why aren't there any buildings that make naval units veterans at all now considering how much more useful they are with ranged attack now and land unit bombardments
 
I may look at this later, by way of a break from course reading and resource-scattering hacking.
 
Back
Top Bottom