Page 1 of 1

Attach a PCO to Radarbun ?

Posted: Sat Mar 19, 2011 7:23 pm
by tekk
I could have sworn I read this somewhere that someone added a helo to the radarbun and had it rotating on berlin which is exactly what Im attemting. I have attempted this but its not going so well. I thought it would be possible if your able to add spawnpoints but then again I may be mistaken.

OS.con

Code: Select all

rem ----------------------------------------------
rem ----- Rotating Blackhawk ---------------------
rem ----------------------------------------------

Object.create radarbun_M1
Object.absolutePosition 1798.46/58.49/1825.71
Object.rotation 0/0/0
OST.con

Code: Select all

ObjectTemplate.create ObjectSpawner ScoutCarSpawner
ObjectTemplate.setObjectTemplate 2 UH-60
ObjectTemplate.setObjectTemplate 1 
ObjectTemplate.MinSpawnDelay 10
ObjectTemplate.MaxSpawnDelay 10
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10

rem ----------------------------------------------
rem ----- Rotating Blackhawk Code ----------------
rem ----------------------------------------------

ObjectTemplate.Active radarbun_tower_M1
ObjectTemplate.addTemplate ScoutCarSpawner
ObjectTemplate.setPosition -30/0/0
Object.setTeam 2
Any Ideas why this aint working or if its even possible?

Posted: Sat Mar 19, 2011 7:42 pm
by freddy
aye but you missed some details :mrgreen:

Code: Select all

ObjectTemplate.active radarbun_tower_M1
ObjectTemplate.addTemplate ScoutCarSpawner
ObjectTemplate.setPosition -30/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.setContinousRotationSpeed 8/0/0



ObjectTemplate.create ObjectSpawner ScoutCarSpawner
ObjectTemplate.setObjectTemplate 2 UH-60
ObjectTemplate.setObjectTemplate 1
ObjectTemplate.MinSpawnDelay 10
ObjectTemplate.MaxSpawnDelay 10
ObjectTemplate.SpawnDelayAtStart 0
ObjectTemplate.TimeToLive 45
ObjectTemplate.Distance 40
ObjectTemplate.DamageWhenLost 10
ObjectTemplate.team 2

rem ObjectTemplate.holdObject 1  <--- if its needed up to you.


Object.create radarbun_tower_M1
Object.absolutePosition 0/82.30/0
Object.rotation 0.00/0.00/0.00

Re: Attach a PCO to Radarbun ?

Posted: Sun Mar 20, 2011 1:34 am
by tekk
Lol yes Indeed I did, works perfectly now, thanks a bunch for the help :)

Re: Attach a PCO to Radarbun ?

Posted: Mon Mar 21, 2011 3:48 pm
by Swaffy
I'm just curious what you are doing. You want a helicopter spawner to be attached to a RadarBunker so that it looks like it's flying around in a circle as the bunker's radar panel rotates?

Re: Attach a PCO to Radarbun ?

Posted: Sun Mar 27, 2011 3:01 am
by tekk
Swaffy wrote:I'm just curious what you are doing. You want a helicopter spawner to be attached to a RadarBunker so that it looks like it's flying around in a circle as the bunker's radar panel rotates?
Yes, thats exactly what im doing. I have it added to my coop berlin, someone gets in it and can offer air support to the fellas on the ground. Mind you thou with my modded bots it dont take them long to kill the helo once you get in it. Had to remove opposition rpg's and addtemplate some health to the helo .... still it can be a losing battle in it lol.