1 registered members (AndrewAMD),
1,135
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
level_ent min, max?
#382412
09/08/11 00:50
09/08/11 00:50
|
Joined: Dec 2008
Posts: 1,660 North America
Redeemer
OP
Serious User
|
OP
Serious User
Joined: Dec 2008
Posts: 1,660
North America
|
Hi guys,
So I'm doing a large overhaul of the collision code in GRUNTS, and there's some level information that I need. Specifically, the collision surface with the greatest/least X value, the collision surface with the greatest/least Y value, etc. At first I thought that the min and max vectors for level_ent might provide me this information, but it seems that they only return the largest valid coordinate in the level, which is either 5000 or -5000 depending upon whether you're reading from the max or min vectors, respectively.
Anyway, does anyone know if/where the engine stores this information?
Last edited by Redeemer; 09/08/11 00:53.
|
|
|
Re: level_ent min, max?
[Re: Superku]
#382415
09/08/11 01:46
09/08/11 01:46
|
Joined: Dec 2008
Posts: 1,660 North America
Redeemer
OP
Serious User
|
OP
Serious User
Joined: Dec 2008
Posts: 1,660
North America
|
The obvious solution is to add, f.i. one dummy entity per level that contains the information. You/ sPike has to enter it in WED manually, of course. That involves more human interaction than I'd like this system to rely on, but I suppose it'll have to do.
|
|
|
|