Skip to main content
GameDev.net gamedev.net
🔒 Locked

Data embedded in BSP files

Started by Dr Pain Oct 23, 2001 at 9:08 AM 3 replies 400+ views
Original Post
Dr Pain
Dr Pain
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.
ChrisE
ChrisE
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)
Dr Pain
Dr Pain
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?
Dr Pain
Dr Pain
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!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.