Single Unit Graphics

By on January 30, 2012 12:56:54 PM from Elemental Forums Elemental Forums

Jaylo101

Join Date 07/2006
0


I was wondering if it were possible to have the squads shown as a single unit only.

IMHO things like spiders & shrills don't look to good when there are 8 of them bunched together.

15 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
January 30, 2012 4:35:47 PM from Elemental Forums Elemental Forums

Check out CoreFormations.xml, the data is all there. I haven't tried changing it.

Reason for Karma (Optional)
Successfully updated karma reason!
January 30, 2012 11:08:06 PM from Elemental Forums Elemental Forums


Appreciate the info.

After lots of trial & error the only thing that seems to somewhat work is to make each position coordinate entry in each formation "-0,0".

This way the number of units are still there but they all occupy the same spot. It works ok on the strategic map as each unit's animations are identical. On the tactical map when the single unit gets into melee a second unit emerges from the single unit stack to do the attacking due to the different attacking position.

It's not ideal as i wanted just a single unit graphic representing the stacks, but it's much better than seeing a big blob of unit models all clipping each other.

I have another conundrum that you could possibly help me with.

After looking at the sovereign talent that gives the iron ore resource to your starting city it was easy to make a new talent that makes more resources appear, named it Cornucopia, but i couldn't get the shard resources this way. Are they treated as a different type of resource?

If so, would i need a different instruction in the Attribute entry.

    

Code: xml
  1. <GameModifier>
  2.     <ModType>Player</ModType>
  3.     <Attribute>StartPositionHasResource</Attribute>
  4.     <StrVal>ElementalAirShard03</StrVal>
  5.     <Radius>2.0</Radius>
  6.    </GameModifier>
 

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 4:17:42 AM from Elemental Forums Elemental Forums

Yes, they are different. Create a new world resource (see CoreWorldResources.xml), turn it into a fake fire shard (see CoreShards.xml), and give that instead. What you need to copy from the coreshards.xml is

<Type>FireShard</Type>
<ClothIcon>gfx\\TacticalIcons\\Res_FireShard.dds</ClothIcon>
<Medallions InternalName="ElementalShard_Fire_Medallions">
<All>FireCrystal_Medallion.png</All>
</Medallions>
<TileDesign>S_Fire_Shard_02</TileDesign>

also make sure to set rarity to 0 or your new resource will be randomly spawned as well

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 10:51:45 AM from Elemental Forums Elemental Forums

Once again very much appreciated.

Created four shard standard resources that can be placed with the sovereign talent.

I changed the HarvestType to ShardHarvest for the new resources, was that necessary?

Also in the CoreShards.xml what does the entry <FireManaValue>5.0</FireManaValue> mean?

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 10:57:39 AM from Elemental Forums Elemental Forums

That particular firemanavalue does nothing. It can be used in modifiers for the shrines built on shards, in a different way.

HarvestType I believe is actually an AI tag, letting the AI know how to value it.

 

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 11:19:28 AM from Elemental Forums Elemental Forums


Are your mod library map downloads working because mine aren't.

Autologin & achievements work fine but i simply get a download error when trying to get maps.

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 11:27:06 AM from Elemental Forums Elemental Forums

Nope, same problem as errors.

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 11:32:13 AM from Elemental Forums Elemental Forums


Glad it's not me then.

Do you think Stardock even knows, i really wanted to try The Giant Faege.

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 11:33:31 AM from Elemental Forums Elemental Forums

I have no idea about that.

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 2:34:04 PM from Elemental Forums Elemental Forums

In the sovreign talent instruction to place starting resources you set a radius for tiles, would there be a way to set a minimum tile distance from your starting city?

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 2:41:29 PM from Elemental Forums Elemental Forums

Afaik no, although I have seen that tag in some FE worldresources.

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 2:52:41 PM from Elemental Forums Elemental Forums


Oh well, i just wanted to have some control pushing resources away from your starting city for setting up other cities.

Do you by any chance have The Giant Faege map, if so could i acquire it from you.

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2012 3:09:13 PM from Elemental Forums Elemental Forums

Nah, I would have said so then

Reason for Karma (Optional)
Successfully updated karma reason!
February 1, 2012 3:14:33 PM from Elemental Forums Elemental Forums

I've found the answer to the single unit graphics, or rather stumbled across it when editing my custom sovreign xml.

I noticed the line <ShowAsSingleUnit>false</ShowAsSingleUnit> on my sovreign, so as a test i added it to the kingdom peasants, put in true & restored the formations xml to the original.

They show as a single unit graphic, only thing now is i have to add the line to all units.

Reason for Karma (Optional)
Successfully updated karma reason!
February 2, 2012 4:05:54 AM from Elemental Forums Elemental Forums

D'oh, sorry for leading you in circles!

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108436  walnut3   Server Load Time: 00:00:00.0000062   Page Render Time: