Data Realms Fan Forums http://45.55.195.193/ |
|
Attaching objects to a bunker module http://45.55.195.193/viewtopic.php?f=1&t=14362 |
Page 1 of 1 |
Author: | Squeegy Mackpy [ Mon Apr 20, 2009 6:50 am ] |
Post subject: | 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? |
Author: | DSMK2 [ Mon Apr 20, 2009 6:23 pm ] |
Post subject: | Re: Attaching objects to a bunker module |
Use a MOSRotating instead...? I don't recall being able to place attachables into bunkers. |
Author: | Grif [ Tue Apr 21, 2009 12:03 am ] |
Post subject: | Re: Attaching objects to a bunker module |
Yeah Attachables only apply to MOs. Bunkermodules are not movable objects. |
Author: | Squeegy Mackpy [ Tue Apr 21, 2009 6:24 am ] |
Post subject: | 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. |
Author: | Charmless [ Tue Apr 21, 2009 12:24 pm ] |
Post subject: | 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. |
Author: | Grif [ Tue Apr 21, 2009 3:15 pm ] |
Post subject: | 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? |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |