Jump to content
  • Advertisement

Archived

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

Dr Pain

Data embedded in BSP files

This topic is 6142 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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)

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!