Data Realms Fan Forums
http://45.55.195.193/

Just one problem...
http://45.55.195.193/viewtopic.php?f=1&t=21591
Page 1 of 1

Author:  General_Party [ Sat Feb 26, 2011 1:10 am ]
Post subject:  Just one problem...

I have this alien and the attachable does not work... I mean I put :

Code:
AddEffect = Attachable
   PresetName = Antenae
   Mass = 12
   Sharpness = 1
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = A&CMods.rte/Actors/Alien/Images/Antenae.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -7.5
      Y = -6
   EntryWound = AEmitter
      CopyOf = Wound Bone Entry
   ExitWound = AEmitter
      CopyOf = Wound Bone Exit
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 4
      Depth = 0
   DeepCheck = 0
   JointStrength = 1800
   JointStiffness = 0.25
   JointOffset = Vector
      X = 0
      Y = 0
   DrawAfterParent = 1
   GibImpulseLimit = 3000
   GibWoundLimit = 12
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Dark Micro A
      Count = 2
      Offset = Vector
         X = 4.5
         Y = 1.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Dark Micro A
      Count = 2
      Offset = Vector
         X = -4.5
         Y = -1.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Dark Tiny A
      Count = 2
      Offset = Vector
         X = 0.5
         Y = 0.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Dark Tiny A
      Count = 2
      Offset = Vector
         X = -6.5
         Y = 2.5
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Panel Dark Small B
      Count = 2
      Offset = Vector
         X = -4.5
         Y = -0.5
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Panel Dark Small D
      Count = 2
      Offset = Vector
         X = 2.5
         Y = -0.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Dark Tiny A
      Count = 2
      Offset = Vector
         X = -0.5
         Y = -3.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Dark Tiny A
      Count = 2
      Offset = Vector
         X = -2.5
         Y = -1.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Dark Tiny A
      Count = 2
      Offset = Vector
         X = 1.5
         Y = -3.5


Yet the antennae still does not appear in game... Why is that? :-(

Thanks

Heres the entire code

Attachments:
Alien.ini [20.54 KiB]
Downloaded 135 times

Author:  Mehman [ Sat Feb 26, 2011 10:33 am ]
Post subject:  Re: Just one problem...

I think offsets can only be integers.(not sure however)

Author:  411570N3 [ Sat Feb 26, 2011 10:41 am ]
Post subject:  Re: Just one problem...

They can be decimals, but it doesn't make much of a difference.
Are you attaching it to the actor at any point?

Author:  Xery [ Sat Feb 26, 2011 10:43 am ]
Post subject:  Re: Just one problem...

Ya he forgot to add an "AddAttachable = Attachable"...

Author:  General_Party [ Sat Feb 26, 2011 6:58 pm ]
Post subject:  Re: Just one problem...

What do you mean?

Author:  411570N3 [ Sun Feb 27, 2011 12:42 am ]
Post subject:  Re: Just one problem...

You made an attachable, but you didn't do anything with it.

Author:  General_Party [ Sun Feb 27, 2011 10:44 pm ]
Post subject:  Re: Just one problem...

So how do I do something with it?

Author:  411570N3 [ Mon Feb 28, 2011 6:46 am ]
Post subject:  Re: Just one problem...

Have a look at the code on the Coalition actors. There are lines which attach their helmets on. You will need to do something similar.

Author:  General_Party [ Mon Feb 28, 2011 7:03 pm ]
Post subject:  Re: Just one problem...

Yeah thanks thats what I ended up doing :grin:

Author:  dragonxp [ Mon Feb 28, 2011 7:04 pm ]
Post subject:  Re: Just one problem...

As a rule of the thumb, when you define something, make sure to remember to sue it later.

Author:  bioemerl [ Tue Mar 01, 2011 3:17 am ]
Post subject:  Re: Just one problem...

Im not sure you can get much from something that you define

It would be pretty hard to sue a piece of code!

lol

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/