Attach a PCO to Radarbun ?

Ask questions, discuss ideas, get answers
Post Reply
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Attach a PCO to Radarbun ?

Post 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?
Last edited by tekk on Sun Mar 20, 2011 1:35 am, edited 1 time in total.
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post 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
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Re: Attach a PCO to Radarbun ?

Post by tekk »

Lol yes Indeed I did, works perfectly now, thanks a bunch for the help :)
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Attach a PCO to Radarbun ?

Post 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?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Re: Attach a PCO to Radarbun ?

Post 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.
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
Post Reply