View unanswered posts | View active topics It is currently Mon Dec 30, 2024 10:00 pm



Reply to topic  [ 11 posts ] 
 Just one problem... 
Author Message
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post 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
Sat Feb 26, 2011 1:10 am
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Just one problem...
I think offsets can only be integers.(not sure however)


Sat Feb 26, 2011 10:33 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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?


Sat Feb 26, 2011 10:41 am
Profile WWW
User avatar

Joined: Sat Feb 26, 2011 10:29 am
Posts: 163
Reply with quote
Post Re: Just one problem...
Ya he forgot to add an "AddAttachable = Attachable"...


Sat Feb 26, 2011 10:43 am
Profile
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: Just one problem...
What do you mean?


Sat Feb 26, 2011 6:58 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Just one problem...
You made an attachable, but you didn't do anything with it.


Sun Feb 27, 2011 12:42 am
Profile WWW
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: Just one problem...
So how do I do something with it?


Sun Feb 27, 2011 10:44 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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.


Mon Feb 28, 2011 6:46 am
Profile WWW
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: Just one problem...
Yeah thanks thats what I ended up doing :grin:


Mon Feb 28, 2011 7:03 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Just one problem...
As a rule of the thumb, when you define something, make sure to remember to sue it later.


Mon Feb 28, 2011 7:04 pm
Profile

Joined: Sat Dec 18, 2010 6:11 pm
Posts: 285
Reply with quote
Post 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


Tue Mar 01, 2011 3:17 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users


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.047s | 14 Queries | GZIP : Off ]