This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/periscope/Objects.con
rem *** PeriscopeCam360Base ***
ObjectTemplate.create RotationalBundle PeriscopeCam360Base
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCam360Switcher1
rem -------------------------------------
ObjectTemplate.setMaxSpeed 30/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** PeriscopeCam360Switcher1 ***
ObjectTemplate.create RotationalBundle PeriscopeCam360Switcher1
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCam360Switcher2
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/180
ObjectTemplate.setMaxSpeed 0/0/900000
ObjectTemplate.setAcceleration 0/0/90000000
ObjectTemplate.setInputToRoll c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem *** PeriscopeCam360Switcher2 ***
ObjectTemplate.create RotationalBundle PeriscopeCam360Switcher2
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCam360Switcher3
rem -------------------------------------
ObjectTemplate.setMaxSpeed 30/0/0
ObjectTemplate.setAcceleration -5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** PeriscopeCam360Switcher3 ***
ObjectTemplate.create RotationalBundle PeriscopeCam360Switcher3
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCamera
ObjectTemplate.setPosition 0/0/0.1
ObjectTemplate.addTemplate 1p_NVscopeBase
ObjectTemplate.setPosition 0/0/0.1
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/180
ObjectTemplate.setMaxSpeed 0/0/900000
ObjectTemplate.setAcceleration 0/0/90000000
ObjectTemplate.setInputToRoll c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem *** PeriscopeCamera ***
ObjectTemplate.create Camera PeriscopeCamera
rem *** 1p_NVscopeBase ***
ObjectTemplate.create LodObject 1p_NVscopeBase
rem -------------------------------------
ObjectTemplate.addTemplate NVscopeBase_Internal
ObjectTemplate.addTemplate NVscopeBase_External
rem -------------------------------------
ObjectTemplate.lodSelector NVscopeBase_Selector
ObjectTemplate.create SimpleObject NVscopeBase_External
ObjectTemplate.create Bundle NVscopeBase_Internal
ObjectTemplate.geometry 1p_invis50cmplate_m1
ObjectTemplate.showInThirdPerson 0
rem -------------------------------------
ObjectTemplate.addTemplate NVscopeAddObject
rem -------------------------------------
LodSelectorTemplate.create DistanceSelector NVscopeBase_Selector
LodSelectorTemplate.addLodDistance 0.15
ObjectTemplate.create SimpleObject NVscopeAddObject
rem ObjectTemplate.create Bundle NVscopeAddObject
rem ObjectTemplate.addTemplate NVscopeDirect
rem *** PeriscopeCam180Base ***
ObjectTemplate.create RotationalBundle PeriscopeCam180Base
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCam180Switcher1
rem -------------------------------------
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 30/0/0
ObjectTemplate.setAcceleration 5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** PeriscopeCam180Switcher1 ***
ObjectTemplate.create RotationalBundle PeriscopeCam180Switcher1
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCam180Switcher2
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/180
ObjectTemplate.setMaxSpeed 0/0/900000
ObjectTemplate.setAcceleration 0/0/90000000
ObjectTemplate.setInputToRoll c_PIPitch
ObjectTemplate.setAutomaticReset 1
rem *** PeriscopeCam180Switcher2 ***
ObjectTemplate.create RotationalBundle PeriscopeCam180Switcher2
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCam180Switcher3
rem -------------------------------------
ObjectTemplate.setMinRotation -90/0/0
ObjectTemplate.setMaxRotation 90/0/0
ObjectTemplate.setMaxSpeed 30/0/0
ObjectTemplate.setAcceleration -5000/0/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
rem *** PeriscopeCam180Switcher3 ***
ObjectTemplate.create RotationalBundle PeriscopeCam180Switcher3
rem -------------------------------------
ObjectTemplate.addTemplate PeriscopeCamera
ObjectTemplate.setPosition 0/0/0.1
ObjectTemplate.addTemplate 1p_NVscopeBase
ObjectTemplate.setPosition 0/0/0.1
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/180
ObjectTemplate.setMaxSpeed 0/0/900000
ObjectTemplate.setAcceleration 0/0/90000000
ObjectTemplate.setInputToRoll c_PIPitch
ObjectTemplate.setAutomaticReset 1