Hello all, its possible to create a static weapon with a minigun turret or smaw turret?
(screen of nohalfmeasures)
Just have to spawn a pco?
Static weapons
Re: Static weapons
I've made a minigun (UH-60_Gunner) :
http://www.youtube.com/watch?v=_23ZxeG0Vac
Pictures:
Minigun
Other weapons:
AC 130 Minigun
AC 130 "Big Gun"
...
Example code:
ObjectSpawnTemplates.con:
ObjectSpawns.con:
http://www.youtube.com/watch?v=_23ZxeG0Vac
Pictures:
Minigun
Other weapons:
AC 130 Minigun
AC 130 "Big Gun"
...
Example code:
ObjectSpawnTemplates.con:
Code: Select all
rem ##### Adding Minigun #####
objecttemplate.create objectspawner Technicalspawner
objecttemplate.setobjecttemplate 2 Technical
objecttemplate.setobjecttemplate 1 Technical
objecttemplate.setobjecttemplate 3 UH-60_Gunner
objecttemplate.minspawndelay 10
objecttemplate.maxspawndelay 20
objecttemplate.spawndelayatstart 0
objecttemplate.timetolive 45
objecttemplate.distance 40
objecttemplate.damagewhenlost 3
rem ##### Set Exitlocation #####
ObjectTemplate.Active UH-60_Gunner
ObjectTemplate.setSoldierExitLocation -1/0/0 0/0/0
objecttemplate.hascollisionphysics 1
ObjectTemplate.HasResponsePhysics 1
Code: Select all
rem ##### Add minigun at blue main #####
Object.create Technicalspawner
Object.absolutePosition 698.70/23.08/719.30
Object.rotation 105.75/0.00/0.00
Object.setTeam 3
You’re entering a world of pain!