editing units base speed/movement type

if i create a unit. is there a way i can cange both the base unit move time (like air/land/water)

also how do i improve the base speed of a unit without gliching the apperance (happened on last attempt)

 

why i ask is im working on creating a few coustom factions looking at making a few that have enchaced abilitys (like being able to fly) or a race race that can move quickly or unimpeded by terrain (is there a way i can add the scouts abilitys to not get slowed buy teriain to a unit? like movment penletys on swaps ect (to remove the negitive effect)

any guidance would be appericanted

 

8,721 views 6 replies
Reply #2 Top

Open the XML for any unit and you'll find something called levelmilestone that looks something like this

        <LevelMilestone InternalName="">
            <Level>1</Level>
        </LevelMilestone>

This essentially determines what stats a unit has at its time of spawn. Trained units have "no stats" which means they get the default stats from CoreUnitStats.xml.

What you want to do is add this

        <LevelMilestone InternalName="">
            <Level>1</Level>

<UnitStat_Moves>500</UnitStat_Moves>
        </LevelMilestone>

This will give the unit 500 moves.

 

You also mentioned making flying units. For this, in the same unittype, look for this xml

<MovementType>land</MovementType>

and change it to

<MovementType>air</MovementType>

 

 

 

To change the speed on mounted units only, you'd need to change the speed you gain from the mounts. Those can be found in CoreMounts.xml.

Reply #3 Top

so if i change it it will change it for all units involed? or is there a way to give a race a bost to base speed or alike? im looking at creating a coustom mod with several factions that have a nice advantage. for useing horse's for example but i want it to where only that faction would gain the bost? is there a way to do this?

 

heavenfall i know u made the Stormfront. and u have the centour units. and made several mounts. any ideals? on how i can take a new faction and give them bosts to useing a spesifyed mount type ect?

would i have to create a coustom mount from the ground up? and give it the stats i want? even if its named near idential it would still have to be a dif item? to get the effect i want?

and could i on a race as a whole edit its base movment speed? or is that purly dealt with in the core file? or is there a way to override the units stats?

 

Reply #4 Top

Yes, you can make a new mount "from the ground up" although that is very simple, just look at CoreMounts.xml.

Giving a race a bonus like +1 Moves is more difficult. You either need to place the bonus to moves in the UnitTypes, or in the Bloodline. Regardless, you'll need to make a completely new race with units and a faction. I would strongly recommend impincs Race Editor to help you generate the necessary XML.

+1 Loading…
Reply #5 Top

i have a faction set up. (race) how would i go about creating a bloodline that would get 1+ or 2+ move?  also is there a way where i dont get movment penelty in like swaps (via bloodline as well) seams like that would be the best option for what im looking at? any recomondations on how to build a bloodline for a race? and what could would i need to add to make a faction gain movement

also for an other faction im looking at it useing air as a defalt movment type. but make it where they cannot use mounts

any help u could give regarding those parts of the could would be apperciated

 

Reply #6 Top

For examples of bloodlines look up how they work in CoreAbilities.xml. The unitstat you want to add to yours is UnitStat_Moves.

To make a race flying, make sure every unittype for the race has this <MovementType>Air</MovementType>

I would recommend you put the ability to cross certain terrain without penalty in the faction instead of the race, it is far easier to do. In that case, look at the example Master Scout in CoreAbilities.xml.