Jump to content
Sign in to follow this  
Rends

Shapetype numbers explained?

Recommended Posts

In the textureset ini there is an shapetype entry.

Could someone explain the numbers please?

 

Oh and if a transparent tod object is floating one meter above the ground is this fix still valid?

 

http://combatace.com/topic/71116-floating-trees-fix/?hl=%2Btrees+%2Bfloating

 

I would test it myself but have hardtime to sit longer than a few minutes at the moment so don't think i'm lazy.

Edited by Rends

Share this post


Link to post
Share on other sites

I've never heard of a 'shapetype' entry for any textureset.

 

can you post the statements??

Share this post


Link to post
Share on other sites

Could be why I've never seen it ... I just stock objects! :biggrin:  (or stary's prebuilt TODs)

Share this post


Link to post
Share on other sites

0=SolidObject =box building, use [solidObjectTextureMaterial] entry in terrain_data.ini and TerSolidobject.fx shader

1=AlphaObject =tree(s), use [AlphaObjectTextureMatrial] entry in terrain_data.ini and TerAlphaobject.fx shader

 

and that's pretty much all to it, mostly to tell the Terrain Editor how to treat them when displaying on tile in object placement mode and on TOD file export

Share this post


Link to post
Share on other sites

Ok,

What's the entry to tell the game to display a transparent object flat like a road sign or as an X like trees?

Share this post


Link to post
Share on other sites

in Terrain Editor you have options for that in tile objects creation tool

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..