Data embedded in BSP files

Started by
3 comments, last by Dr Pain 22 years, 5 months ago
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.
Advertisement
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)
Author of Power Render (http:/www.powerrender.com)
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?
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!
So, I don''t see anything in prbsp.h that might pass for an entity definition. Does PR recognize entities in BSPs? (ammo, health...)

This topic is closed to new replies.

Advertisement