Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 16,005 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ABT/BSP #234380
11/02/08 17:14
11/02/08 17:14
Joined: Jan 2002
Posts: 214
United Kingdom
Rav Singh Offline OP
Member
Rav Singh  Offline OP
Member

Joined: Jan 2002
Posts: 214
United Kingdom
I build a level in WED and use ent_type(NULL) to check what kind of map it's build ... ent_type always returns 3 (Mesh based BSP map). I am at a loss to understand how the engine builds a ABT map.

The manual states "The A7 engine automatically uses an ABT for levels that don't contain a precalculated BSP tree" ... I assume this means that we don't need to build a map in WED and rather create it on the fly just like in earthball.c example??

Incidentally earthball.c also returns 3 as ent_type. Can someone shed some light on this?

Re: ABT/BSP [Re: Rav Singh] #234461
11/03/08 01:24
11/03/08 01:24
Joined: Mar 2002
Posts: 1,774
Magdeburg
F
FlorianP Offline
Serious User
FlorianP  Offline
Serious User
F

Joined: Mar 2002
Posts: 1,774
Magdeburg
A7 behaves a bit different in this.
If you build a level youre able to choose between Simple Map(ABT) and BSP Map - If you open the wmb file the level-geometry is rendered in the selected mode.
Entities dont use these render trees at all(at least i unterstood so) - so if you open an empty level with level_load(NULL) none of them are used because there is no level-geometry.
But i dont know the ent_type command at all and i cant find it in the manual.


I <3 LINQ
Re: ABT/BSP [Re: FlorianP] #234488
11/03/08 09:40
11/03/08 09:40
Joined: Jan 2002
Posts: 214
United Kingdom
Rav Singh Offline OP
Member
Rav Singh  Offline OP
Member

Joined: Jan 2002
Posts: 214
United Kingdom
Hello, I think I understand what you mean, selecting "Simple Map" should build a ABT level ... I need to do more tests on this. the "ent_type" command can only be found using the search options in the CHM file ... just click on search and type in "ent_type". For some reason, the command has not been added to the index section of the help file ... if you pass a NULL as parameter to ent_type command it should tell you wheather your map is old stype BSP or new A7 BSP/ABT tree.


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1