rotationalbundle on pco online
Posted: Tue Mar 20, 2012 8:34 am
I'm working on a map where static objects are changed to pco's, allowing objects to spawn on a flag. Several pcos are track pieces. The server controls where they are positioned ingame.
One object has the spinning radar added to it. Hosting the map locally, the rotationalbundle code works. However it is not rotating when hosted on an online server. How can I get this to spin online?
One object has the spinning radar added to it. Hosting the map locally, the rotationalbundle code works. However it is not rotating when hosted on an online server. How can I get this to spin online?
Code: Select all
ObjectTemplate.create PlayerControlObject airport_radar_server
ObjectTemplate.geometry airport_radar
ObjectTemplate.setNetworkableInfo airport_radar_serverBodyInfo
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.Addtemplate airport_radarwindows
ObjectTemplate.addTemplate radarbun_tower_M1
ObjectTemplate.setPosition -3.4941/26.1095/0.0832
ObjectTemplate.create simpleobject airport_radarwindows
ObjectTemplate.geometry airport_radarwindows
ObjectTemplate.setNetworkableInfo airport_radar_serverBodyInfo
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.addToCollisionGroup c_CGProjectiles
rem ---------------------------------------
ObjectTemplate.create RotationalBundle radarbun_tower_M1
ObjectTemplate.geometry radarbun_tow_M1
ObjectTemplate.setNetworkableInfo airport_radar_serverBodyInfo
ObjectTemplate.setHasCollisionPhysics 1
objectTemplate.loadSoundScript Sounds/Radarbun_tow.ssc
ObjectTemplate.setMinRotation 0/0/0
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMaxSpeed 110/0/0
ObjectTemplate.setAcceleration 10/0/0
ObjectTemplate.setContinousRotationSpeed 15/0/