View unanswered posts | View active topics It is currently Thu Jan 09, 2025 3:56 pm



Reply to topic  [ 6 posts ] 
 Attaching objects to a bunker module 
Author Message
User avatar

Joined: Tue Mar 20, 2007 10:16 am
Posts: 186
Location: Australia
Reply with quote
Post Attaching objects to a bunker module
The idea behind this is to make a wall with sheild plates in it that break after enough abuse, but it crashes when I try to attach the plates.

AddTerrainObject = TerrainObject
PresetName = Horizontal Sheild Wall
AddToGroup = Bunker Bits
GoldCost = 50
FGColorFile = ContentFile
Path = THOR.rte/HSWallFG.bmp
MaterialFile = ContentFile
Path = THOR.rte/HSWallMat.bmp
BGColorFile = ContentFile
Path = THOR.rte/HSWallBG.bmp
AddChildObject = SOPlacer
PlacedObject = Attachable
CopyOf = SheildBlock
Offset = Vector
X = 8
Y = 12

I'm not quite sure what im doing wrong, the apparant error is in the line "AddChildObject = SOPlacer", could not match property. Anyone care to tell me what I should be doing instead?


Mon Apr 20, 2009 6:50 am
Profile
User avatar

Joined: Fri Dec 28, 2007 4:19 am
Posts: 1119
Reply with quote
Post Re: Attaching objects to a bunker module
Use a MOSRotating instead...? I don't recall being able to place attachables into bunkers.


Mon Apr 20, 2009 6:23 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Attaching objects to a bunker module
Yeah Attachables only apply to MOs. Bunkermodules are not movable objects.


Tue Apr 21, 2009 12:03 am
Profile
User avatar

Joined: Tue Mar 20, 2007 10:16 am
Posts: 186
Location: Australia
Reply with quote
Post Re: Attaching objects to a bunker module
Nuts, when the wiki said anything can be attached to a bunker module I assumed it actually meant anything.


Tue Apr 21, 2009 6:24 am
Profile
User avatar

Joined: Sun Apr 01, 2007 2:15 am
Posts: 86
Reply with quote
Post Re: Attaching objects to a bunker module
Grif wrote:
Yeah Attachables only apply to MOs. Bunkermodules are not movable objects.


Huh? You can add objects to modules just fine, his code is just a bit wrong.

Code:
AddChildObject = SOPlacer
      PlacedObject = MOSRotating // (Or other type of MO)
         CopyOf = YOUROBJECT
      Offset = Vector
         X = 0
         Y = 0


He just needed to specify the type of PlacedObject.


Tue Apr 21, 2009 12:24 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Attaching objects to a bunker module
♥♥♥♥♥ I said attachables, not "ANYTHING AT ALL EVER."

His code was "PlacedObject = ATTACHABLE".

I said "no" and you're all like "WUT" and I'm all like "wat?"

good times?


Tue Apr 21, 2009 3:15 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.039s | 14 Queries | GZIP : Off ]