modding mounts

i tried to make the rest of the mounts available for use by all the factions. It seems to work but it has a odd glitch. Each mounted unit i create seems to be stuck between two of the creatures it was supposed to be mounted on and i was wondering if anyone could tell me why this seems to have happened?

also is it possible to add more resource types such as spiders, boars, and dragons to the count rather then just having them eat horses and wargs.

26,990 views 11 replies
Reply #1 Top

Each mounted unit i create seems to be stuck between two of the creatures it was supposed to be mounted on

Are they mounted on several creatures at a time? O_o

This is my soldier, which is mounted on a dune beetle, which in turn is mounted on a direspider, which in turn is mounted on a regular horse...
I know I am being terribly silly ;) Can't help though, I do think its possible to create a new resource, but other modders have better experience with this.

~ K

Reply #2 Top

I figured out what happened, i did not delete the art references after <ArtlDef>BasicHorseMount_ArtDef</ArtDef>.

Another question is it possible to tie loot to a specific trait or ability? I want to create an ability that would allow units to use defeated animal units as mounts. So if my sovereign wins in a fight against an army that contained a hoarder-spider, as part of the loot I would receive a spider mount.

Reply #3 Top

Quoting isaac95963, reply 2
Another question is it possible to tie loot to a specific trait or ability? I want to create an ability that would allow units to use defeated animal units as mounts.

Again, I am not the best modder, but take a look at the slaver trait, that gives you a certain resource if you defeat humans after a battle.

Although you CANT tie it to the class of the beast (as far as the rumours I read goes anyhoo), so you will have to be smart about it.

For the resource, try looking through old modding posts..
Edit: couldn't find anything on my own searches.

Sincerely
~ Kongdej

Reply #4 Top

Quoting isaac95963, reply 2
Another question is it possible to tie loot to a specific trait or ability? I want to create an ability that would allow units to use defeated animal units as mounts. So if my sovereign wins in a fight against an army that contained a hoarder-spider, as part of the loot I would receive a spider mount.

I don't think so. You can have monsters drop mount items on defeat but I don't think it can be tied to an ability.

Reply #5 Top

Quoting DsRaider, reply 5

Quoting isaac95963, reply 2Another question is it possible to tie loot to a specific trait or ability? I want to create an ability that would allow units to use defeated animal units as mounts. So if my sovereign wins in a fight against an army that contained a hoarder-spider, as part of the loot I would receive a spider mount.

I don't think so. You can have monsters drop mount items on defeat but I don't think it can be tied to an ability.

My best bet would be let defeated spiders drop this certain "spider" resource, and then you can use that resource to get new mounts, either via a spell or new unit training.
(The way you make them drop the resource would be similar to the "Slavelord" ability available to Magnar.)

Problem will probably be its a big work to get through to make only spiders drop "spider" resource, since as far as I remember you cannot run a check on the unit class (Unit type: Beast, Unit class: Spider), and would have to go in and give all spiders and similar creatures a custom unit stat, to tell them apart the other beasts.

Again, I am not modding daily, I just remember the tidbits from when I looked through all the modding stuff, and whenever I see HF help peeps :D

Sincerely
~ Kongdej

Reply #6 Top

How you make the other mounts available? I was trying to design an Orc-looking factions and those war boars would fit perfectly

Reply #7 Top

you could have them drop spider eggs the same way some golems drop iron, and other monsters drop crystal.   I don't know if it is possible to have items in the shop cost resources other than gold, but it should be.  One of the things I planned on modding was adding 1 horse resource to the cost of champion mounts (or warg respectively)

 

Reply #8 Top

to make the other mounts available i changed this:

 <IsAvailableForSovereignCustomization>0</IsAvailableForSovereignCustomization>
        <IsAvailableForUnitDesign>0</IsAvailableForUnitDesign>

to this

<IsAvailableForSovereignCustomization>1</IsAvailableForSovereignCustomization>
        <IsAvailableForUnitDesign>1</IsAvailableForUnitDesign>
         <Prereq>
            <Type>Tech</Type>
            <Attribute>Mounted_Warfare</Attribute>
        </Prereq>

although i think i will remove the sovereign customization as it makes it to easy if you start with a dragon mount. I also added 

      <ProductionRequirement>
            <Type>Resource</Type>
            <Attribute>Horses</Attribute>
            <Value>1</Value>
        </ProductionRequirement>  to each of the mounts. It works , but its really cheesy especially with dragon mounts. I think instead of that i will simply add a mount to the loot of the creature. So if you kill a dragon you will receive a dragon mount. not exactly what i wanted but its better then nothing. 

+1 Loading…
Reply #9 Top

Thanks for your info isaac it worked. :thumbsup:

I wanted to make the Umbrans available only to Toggs but i cant find a way to that. For now i tied the Umbran War Boar to the great axes ability, its good for some different look in the units i design :D

I'll add Skaths now to Quendars along with their racial ability for some more lore-friendly units.

 

About the dragons you mentioned i could suggest to make them available only for sovereigns from the shop after you research Dance with Dragons for an appropriate cost (i setted it to 5000 now i need to test it ) 

Reply #10 Top

    <Prereq>
      <Type>Race</Type>
      <Attribute>Race_Type_Trogs</Attribute>
    </Prereq>

to limit it to all trog factions