This page is under construction
archives/bf1942/levels/fht_dutch_resistance-1941.rfa
bf1942/levels/fht_dutch_resistance-1941/Objects/ActiveGatehouse1_large/Objects.con

rem *** ActiveGatehouse1_large***
ObjectTemplate.create PlayerControlObject ActiveGatehouse1_large
ObjectTemplate.setNetworkableInfo ActiveGatehouse1_large_BodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 29
ObjectTemplate.addArmorEffect 30 e_WillyDamage 0/1.7/0
ObjectTemplate.addArmorEffect 6 e_WillyFire 0/0.5/0.8
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/1.2/0
ObjectTemplate.addArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.aiTemplate Gatehouse_largeAI
ObjectTemplate.timetoliveafterdeath 0
rem -------------------------------------
ObjectTemplate.addTemplate Gatehouse_large_body
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation 0.0/1/-1.4 -180/0/0
ObjectTemplate.GUIIndex 19
ObjectTemplate.setVehicleIcon "Vehicle/Icon_Gatehouse.tga"
ObjectTemplate.setVehicleIconPos 36/103
ObjectTemplate.setNumberOfWeaponIcons 0
ObjectTemplate.setPrimaryAmmoBar ABNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTStationaryMG
ObjectTemplate.setToolTipType TTAAGun
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_stationary_16x16.tga"


rem *** Gatehouse_large_Entry***
ObjectTemplate.create EntryPoint Gatehouse_large_Entry
ObjectTemplate.setEntryRadius 2


rem *** Gatehouse_large_body ***
ObjectTemplate.create Bundle Gatehouse_large_body
ObjectTemplate.setNetworkableInfo ActiveGatehouse1_large_BodyInfo
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodActiveGatehouse_largeCockpit

ObjectTemplate.addTemplate Gatehouse_large_Entry
ObjectTemplate.setPosition 00/0/-1

ObjectTemplate.addTemplate Gatehouse_large_Seat
ObjectTemplate.setPosition 0.0/1/-1.4
ObjectTemplate.setRotation -180/0/0

ObjectTemplate.addTemplate ActiveGatehouse_largeCamera
ObjectTemplate.setPosition 0.0/2/-1
ObjectTemplate.setRotation -180/0/0

ObjectTemplate.addTemplate ActiveGatearm_largeRotation
ObjectTemplate.setPosition 0/1.15/-3
ObjectTemplate.setRotation -180/0/0

ObjectTemplate.addTemplate Gatebase_large
ObjectTemplate.setPosition 0/0/-3
ObjectTemplate.setRotation -180/0/0
rem -------------------------------------



rem *** lodActiveGatehouse_largeCockpit ***
ObjectTemplate.create LodObject lodActiveGatehouse_largeCockpit
rem -------------------------------------
ObjectTemplate.addTemplate ActiveGatehouse_largeCockpitExternal
ObjectTemplate.addTemplate ActiveGatehouse_largeCockpitInternal
rem -------------------------------------
ObjectTemplate.lodSelector ActiveGatehouse_largeCockpitSelector


rem *** ActiveGatehouse_largeCockpitExternal ***
ObjectTemplate.create SimpleObject ActiveGatehouse_largeCockpitExternal
ObjectTemplate.geometry ge_Gatehouse_m1
ObjectTemplate.hasCollisionPhysics 1


rem *** ActiveGatehouse_largeCockpitInternal ***
ObjectTemplate.create SimpleObject ActiveGatehouse_largeCockpitInternal
ObjectTemplate.geometry

rem *** ActiveGatehouse_largeCockpitSelector***
LodSelectorTemplate.create DistCompareSelector ActiveGatehouse_largeCockpitSelector
LodSelectorTemplate.addLodDistance 2
LodSelectorTemplate.addLodComparison 0.5

rem *** Gatehouse_large_Seat***
ObjectTemplate.create SeatObject Gatehouse_large_Seat
ObjectTemplate.seatFlags c_SeatShowStandingSoldier
ObjectTemplate.seatFlags c_SeatIsOutside


rem *** Gatebase***
ObjectTemplate.create SimpleObject Gatebase_large
ObjectTemplate.geometry ge_gatebase_large_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1


rem *** ActiveGatehouse_largeCamera***
ObjectTemplate.create Camera ActiveGatehouse_largeCamera
ObjectTemplate.setMinRotation -100/-80/0
ObjectTemplate.setMaxRotation 100/80/0
ObjectTemplate.setMaxSpeed 90/90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY


rem *** ActiveGatearmRotation***
ObjectTemplate.create RotationalBundle ActiveGatearm_largeRotation
ObjectTemplate.setNetworkableInfo ActiveGatehouse1_large_ArmInfo
ObjectTemplate.geometry ge_gate_large_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/Lcvp_Ramp.ssc
rem -------------------------------------
ObjectTemplate.addTemplate GatearmGrabDummy
ObjectTemplate.setPosition 0/0.3/-0.5
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-55/0
ObjectTemplate.setMaxSpeed 0/15/0
ObjectTemplate.setAcceleration 0/150/0
ObjectTemplate.setInputToPitch c_PIPitch

rem *** GatearmGrabDummy***
ObjectTemplate.create AnimatedBundle GatearmGrabDummy
rem -------------------------------------
rem -------------------------------------
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.24/-0.1/-0.82 -80/60/50
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.26/-0.1/-0.82 -80/-60/50

ObjectTemplate.addTemplate largegatespawn
ObjectTemplate.setPosition 5/0.5/5

ObjectTemplate.addTemplate largegatespawn
ObjectTemplate.setPosition -5/0.5/-5

ObjectTemplate.addTemplate largegatespawn
ObjectTemplate.setPosition -3/0.5/-3

ObjectTemplate.addTemplate largegatespawn
ObjectTemplate.setPosition 0/0/-1

rem *** largegatespawn ***
ObjectTemplate.create SpawnPoint largegatespawn
ObjectTemplate.setSpawnRotation 0/0/0
ObjectTemplate.setSpawnPositionOffset 0/0/0
ObjectTemplate.setSpawnPreventionDelay 0
ObjectTemplate.setSpawnId 97
ObjectTemplate.setGroup 11
ObjectTemplate.setEnterOnSpawn 0
ObjectTemplate.setAIEnterOnSpawn 1
ObjectTemplate.setSpawnAsParaTroper 0

spawnPointManager.group 11
spawnPointManager.groupTeam 1
spawnPointManager.groupIcon test1.tga