Jump to content
  • Advertisement

Archived

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

Dr Pain

Data embedded in PRO files

This topic is 6125 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

I need to embed waypoint information into some of my PRO files. There will be a variable number of waypoints in each file, anywhere from 1 to 1000(?). Each waypoint would be the equivalent of a PR_POINT. Is this possible? What''s the best way? Ideally the artist would put in some kind of marker in 3DSMax, and those markers would be read out at runtime (but not visible). Dave

Share this post


Link to post
Share on other sites
Advertisement
First find the dummy segment in the entity (PR_FindSegment), then access the position keyframes list
using seg->pos_keys[keynum]

seg->num_pos_keys tells how long the key frame list is.

Chris



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

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!