Frustum
Submitted by volkan on Sun, 2007-05-06 20:57 | ||
Wondering what exactly the frustum_height and frustum_width affect. Does height mean up/down (3d) or top/bottom (2d). Trying to make minimap larger and know frustum is the key, but utraean peninsula can wig out if the frustum is not set correctly. Edit: Found the answer // Extra tall frustum, since there's a huge elevator in the dungeon. mood_name = utraean_world_newbie_dun_2; transition_time = 5.0f; interior = true; [frustum] { frustum_width = 45.0f; frustum_height = 90.0f; } forums: |
||
» |
What is the significance of the x and f in the moods.gas file. It is not used for all maps and the game engine does not seem to care if they are added or not. (At least that I can tell)
The character in front of the name is a type declaration. X is for hex string, f is for float, and you'll also find b for boolean and i for integer. Those are all I remember using.
Whether you can omit them or not depends on if it's an overriding value, (in which case the original definition has the type) or a new one for which this is the only definition. Much more common in skrit than gas.
Abstraction site
Dungeon Raider
Duh! Should have thought about elevators. ^^ Couldn't think of a good reason to be able to control the frustrum heightwise.
Not the brightest crayon.. Thanks for the post.
Thanx for the reply Ghastley. I wasn't sure what they were designated for, but if the original had them, I left them alone (just to be safe).
And :sun:, my crayons are dulling with the years also.