[Solved] size of an unit / building on the "Grid"

[Solved] size of an unit / building on the "Grid"

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
KaZoiTeZ
Posts: 19
Joined: 08 Apr 2007, 12:19

[Solved] size of an unit / building on the "Grid"

Post by KaZoiTeZ »

i just made a building and its all running fine,
but it takes just a 2x2 grid on the map,
but its much bigger,
how can i change this value?
i can´t find any information in the FBI or in Upspring to set this :/
Last edited by KaZoiTeZ on 03 Nov 2007, 16:37, edited 1 time in total.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Look at how other mods do it by taking a peek at their FBIs.
KaZoiTeZ
Posts: 19
Joined: 08 Apr 2007, 12:19

Post by KaZoiTeZ »

i tried, i also checked the "tadesign.htm" i downloaded somewhere
and was not able to find this value...
i was thinking if its this ones:

Code: Select all

	
footprintx=
footprintz=
i should try it...
edit:
i tried ant yes it are they
ty
SpikedHelmet
MC: Legacy & Spring 1944 Developer
Posts: 1948
Joined: 21 Sep 2004, 08:25

Post by SpikedHelmet »

Well there are several things that determine size. It also depends what you're talking about. Does the 3d object (the "body") of the unit seem very large? If so, you need to scale it down in Upspring. Is it the footprint (the little green square on the ground when you select it) that's too big? Is it it's footprint when setting it to build? Those are set with footprintx and footprinty (if your .FBI doesnt have them, add them).

If your unit is mobile, its movement class may also be the cause. Check the movementclass=; line of your unit and check its size in Gamedata\MOVEINFO.tdf
KaZoiTeZ
Posts: 19
Joined: 08 Apr 2007, 12:19

Post by KaZoiTeZ »

ty
it was just the footprint thingy (this time)
Post Reply

Return to “Game Development”