Stupid post

Edit: Needs more testing. May not work.

Edit2: Almost certainly does not work.

 

[eINFO] means that the thread contains information aimed at modders. More info here.

 

Here's a tiny thing I stumbled across while plumbing the depths of the Eexhmml.

Each raceconfig has a tag that is called Alignment (Good/Evil)

    <Alignment>Good</Alignment>

Now, as far as I know, it has no real purpose currently in-game. So, let's give  it a purpose.

In your own raceconfig, you can define a new Alignment. There's Good and Evil, so let's call ours Nietzsche (get it? GET IT?).

Now let's say you want to do a building or an item that is specific to your raceconfig.

        <Prereq>
            <Type>Alignment</Type>
            <Attribute>Nietzsche</Attribute>
        </Prereq>

Ta-da!

 

Now, this has two huge implications.

First, we can create items that are not only race-specific, but specific to your raceconfig.

Secondly, and this is REALLY THE BIG ONE, we can tie ALL the existing Empire and Kingdom buildings to their alignments. Thus, we can purge all the existing buildings and items from a new raceconfig playing as, let's say Allegiance:Kingdom Race:Amarians, and create a truly new gamestyle.

This will allow us to effortlessly create new racepacks, such as the community project Elf Race coming up soon. No more worrying about overwriting old gamemodifiers or replacing tile models for other races.

Edit: I will create a separate library for when the elf race is released. It will only serve the purpose of adding alignment requirements to all the existing buildings.

3,054 views 7 replies
Reply #1 Top

Well done. Looking forward to playing around with this and seeing  what others come up with.

Reply #2 Top

Actually I'm not 100% it's even working. Seems like I might have jumped the gun.

Reply #3 Top

SOMETHING is working. I'm not sure what.

Reply #4 Top

Alright, the bad news is it doesn't work.

The good news is I figured out another way to do it, but it may break other custom races.

I'll post the how-to in a bit.

Reply #5 Top

The only way I've figured out how to do it is to create a new race, and assign the prereqs to the original factions.

<Prereq>

 <Type>Race</Type>

 <Attribute>Men/Fallen</Attribute>

</Prereq>

 

Now, this may break later on. As it is right now, all Kingdoms are set to Men, and all Empires are set to Fallen. However, Kraxis is supposed to be Men. If they ever change this, we may need the alignment to work.

 

Reply #6 Top

so you want to go BEYOND good and evil???? IMPOSSIBLE!

Reply #7 Top

My version os so enlightened that it discarded these types of definitions. It doesn't even have weapons.