FreeSpace Releases > Scripting Releases
Zoom script
m!m:
Thanks for this advise. :)
Find the script in the wiki here:
http://www.hard-light.net/wiki/index.php/Script_-_Zoom
Nuke:
you could probably override the controls while in zoomed out and scale back the amount of turning that gets applied to the ship, thus solving the sensitivity problem. look in scripting.html under control info, also look for ba.getControlInfo(), and ba.setControlMode(). i forget how it works, and i dont feel like reading through my code base, but i think you call ba.setControlMode(LUA_STEERING_CONTROLS), then call ba.getControlInfo() (ci = ba.getControlInfo()), then you can edit the data in the ci table to make the ship yaw, pitch and roll.
blowfish:
Small note: If you zoom using the FOV, zooming out will cause a fish-eye effect; zooming in will cause backgrounds to be come blurry. It might be preferable to actually move the camera rather than adjust the FOV. I'm not familiar with how this might work in Lua, but the actual math involved isn't that complicated.
m!m:
New version! Now with better sensitivity (thank you Nuke) and a visual indicator.
I also cleaned up the code so the default values can be modified easily.
And here it is! :)
EDIT: look in the wiki for the script
Mongoose:
Sweet...mass driver/railgun ahoy! :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version