Camera and gunmounts changes

This forum area is to share and discuss modding projects, models, music and other modding activities of Pioneer. Please use the 'Alpha Mods' or 'Beta Mods' folders to upload your files in the Pioneer section in the download area.
Post Reply
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

Camera and gunmounts changes

Post by robn »

Hey modders,Just wanted to draw your attention to recent changes in the way camera and gunmounts are specified.Up until now, their positions and orientations have been set via the camera_offset and gun_mounts fields in the ship def. These two fields are now deprecated, and will be removed in a few weeks (once all the core ships have been updated).In their place, you now set up tag points in the model itself. You can independently specify the position and orientation of all six internal cameras and both gun points. Its not quite where we want it to be, but its more flexible than what we currently have and sets us up well for the future, and doesn't require artists to muck about with numbers in the def file, which is a good thing!Further reading:[url]https://github.com/pioneerspacesim/pioneer/pull/2422[/url] will be in the next build, available from the homepage in the next hour or two. Until they're updated, you'll start to see deprecation warnings in stdout.txt. After those ship def fields have been removed, the ship origin will be used for all points. So models not updated will continue to work after a fashion.
NiankoSensei
Private
Posts: 64
Joined: Wed Aug 07, 2013 6:46 am

RE: Camera and gunmounts changes

Post by NiankoSensei »

the tag for guns are tag_gunpoint_N (like the wiki) or tag_gunmount_N ? (like github)
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

RE: Camera and gunmounts changes

Post by robn »

the tag for guns are tag_gunpoint_N (like the wiki) or tag_gunmount_N ? (like github)tag_gunmount_N. I made a mistake on the wiki, which I've now fixed. Thanks!
NiankoSensei
Private
Posts: 64
Joined: Wed Aug 07, 2013 6:46 am

RE: Camera and gunmounts changes

Post by NiankoSensei »

thank you for the clarification
Post Reply

Return to “Pioneer Mods”