• Advertisement

Archived

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

Data embedded in PRO files

This topic is 5940 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
Maybe an animated dummy object with a position keyframe at each waypoint?

Share this post


Link to post
Share on other sites
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