Archived

This topic is now archived and is closed to further replies.

Dr Pain

Data embedded in BSP files

Recommended Posts

Ok, Chris told me how to embed waypoint information into PRO files converted from MAX using a dummy object and animating it. Now, how can I do the same thing in a BSP object? Apologies if it''s obvious, but I''ve got about 1 hour experience creating Quake levels/BSP objects (with gtkRadiant), and that was six months ago.

Share this post


Link to post
Share on other sites
You can''t. The high level engine was built for things like this. Use the path object in the engine package to place a bunch of waypoints and connect them up like I did with the flyby example.

Add a custom string to the bsp''s .LS script so you can set the initial path name. From there you can modify the flyby code to move the object along a path instead of a camera.



Author of Power Render (http:/www.powerrender.com)

Share this post


Link to post
Share on other sites
Well, the problem with that is I''m not using LS to place objects. I only place them programatically, and must rebuild waypoint paths dynamically. Objects can be created and destroyed at any time. Therefore I need the waypoints in the data file so my program can place them at runtime.

Any ideas?

Share this post


Link to post
Share on other sites
Can PR read in entity information from the BSP, like spawn points, weapons, ammo...? And if so, how can I get their locations?

And if not, put it on your wish list!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
So, I don''t see anything in prbsp.h that might pass for an entity definition. Does PR recognize entities in BSPs? (ammo, health...)

Share this post


Link to post
Share on other sites