rubenwardy wrote:The worldmods mod dir (worlds/worldname/worldmods/) - always enabled, mods are specific to that world.
eeMagic wrote:Is it possible use a fixed camera? or at least change the max distance of set_eye_offset() in third person?
viewing_range = (insert your viewing range here, in block)
eeMagic wrote:I mean the relative position of the camera. In set_eye_offset(offset_first, offset_third), I found that after y=15, offset_third doesn't change any more.
* `set_eye_offset({x=0,y=0,z=0},{x=0,y=0,z=0})`: defines offset value for camera per player
* in first person view
* in third person view (max. values `{x=-10/10,y=-10,15,z=-5/5}`)
eeMagic wrote:Is there a way to change that maximum values?
// Prevent abuse of offset values (keep player always visible)
offset_third.X = rangelim(offset_third.X,-10,10);
offset_third.Z = rangelim(offset_third.Z,-5,5);
/* TODO: if possible: improve the camera colision detetion to allow Y <= -1.5) */
offset_third.Y = rangelim(offset_third.Y,-10,15); //1.5*BS
Users browsing this forum: No registered users and 25 guests