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



Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
 I have a question. 
Author Message
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: I have a question.
Use the [code ] [/code ] tags or use PasteBin.


Mon Jan 31, 2011 9:44 pm
Profile
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: I have a question.
Code:
 AddActor = ACrab
   PresetName = Light Turret
   PinStrength = 1000
   Mass = 15
   GlobalAccScalar = 0
   Buyable = 0
   HitsMOs = 1
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = A&CMods.rte/Weapons/MiniTurret/Images/MiniTurretBase.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -7
      Y = -21
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
         Bounce = 0.1
         StructuralIntegrity = 135
      Resolution = 4
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
         Bounce = 0.1
         StructuralIntegrity = 135
      Resolution = 6
      Depth = 0
   DeepCheck = 0
   BodyHitSound = Sound
      CopyOf = Metal Body Blunt Hit
   DeathSound = Sound
      CopyOf = Ship Explosion
   Health = 100
   ImpulseDamageThreshold = 3500
   GibImpulseLimit = 15000
   GibWoundLimit = 7
   AimRange = 1.5708
   AimDistance = 350
   Perceptiveness = 0.975
   CharHeight = 100
   AddActor = Turret
      CopyOf = MiniTurretBase
      ParentOffset = Vector
         X = -1
         Y = -16
   LFGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = -5
         Y = 1
   LBGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = -5
         Y = 1
   RFGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = 5
         Y = 1
   RBGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = 5
         Y = 1
   LFootGroup = AtomGroup
      CopyOf = CrabFootGroup
   RFootGroup = AtomGroup
      CopyOf = CrabFootGroup
   LStandLimbPath = LimbPath
      PresetName = 0 Stand Path Left
      StartOffset = Vector
         X = 0
         Y = 0
      PushForce = 0
   LWalkLimbPath = LimbPath
      PresetName = 0 Walk Path Left
      StartOffset = Vector
         X = 0
         Y = 0
      PushForce = 0
   LDislodgeLimbPath = LimbPath
      PresetName = 0 Dislodge Path Left
      StartOffset = Vector
         X = -1
         Y = -10
      StartSegCount = 0
      AddSegment = Vector
         X = 0
         Y = 6
      PushForce = 0
   RStandLimbPath = LimbPath
      CopyOf = 0 Stand Path Left
      PresetName = 0 Stand Path Right
      StartOffset = Vector
         X = 6
         Y = 6
   RWalkLimbPath = LimbPath
      CopyOf = 0 Walk Path Left
      PresetName = 0 Walk Path Right
      StartOffset = Vector
         X = -2
         Y = -12
   RDislodgeLimbPath = LimbPath
      CopyOf = 0 Dislodge Path Left
      PresetName = 0 Dislodge Path Right
      StartOffset = Vector
         X = 2
         Y = -10
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Glow Particle Yellow Huge
      Count = 2
      MinVelocity = 5
      MaxVelocity = 15
      InheritsVel = 0
   AddGib = Gib
      GibParticle = AEmitter
         CopyOf = Fuel Fire Trace Gray
         PresetName = Ship Explosion
         LifeTime = 175
      Count = 8
      MaxVelocity = 14
      MinVelocity = 7
      LifeVariation = 0.2
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Flame Ball 1
      Count = 10
      Spread = 3.1
      MaxVelocity = 16
      MinVelocity = 4
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Explosion Smoke 1
      Count = 20
      Spread = 3.1
      MaxVelocity = 10
      MinVelocity = 0
      LifeVariation = 0.4
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Explosion Smoke 2
      Count = 15
      Spread = 3.1
      MaxVelocity = 15
      MinVelocity = 5
      LifeVariation = 0.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Base.rte/Explosion Smoke 1
      Offset = Vector
         X = 0
         Y = 0
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Base.rte/Explosion Smoke 2
      Offset = Vector
         X = 0
         Y = 0


There fixed. - CC48


Mon Jan 31, 2011 9:47 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: I have a question.
It's "Turret = Turret" for attaching and "AddActor = Turret" for creating. Since you're attaching, use "Turret = Turret".

Also, if you have more errors, pleases post the exact error message that CC spits out.


Mon Jan 31, 2011 9:51 pm
Profile
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: I have a question.
RTE Aborted! (x_x)

Abortion in file /Users/admin/Development/CortexCommand/cortex/System/Reader.cpp, line 543, because:

Referring to an instance ('MiniTurretBase') to copy from that hasn't been defined! in A&CMods.rte/Weapons/MiniTurret/MiniTurret.ini at line 375!

The last frame has been dumped to 'abortscreen.bmp'

That was the error message


Mon Jan 31, 2011 9:56 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: I have a question.
You don't have a Turrent with the PresetName "MiniTurretBase". It's like the same thing with the HDFirearm, you have to have these objects created before using them.


Mon Jan 31, 2011 9:58 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: I have a question.
Or create them as you're using them.


Mon Jan 31, 2011 9:59 pm
Profile
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: I have a question.
But i have the picture called MiniTurretBase.


Mon Jan 31, 2011 10:00 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: I have a question.
Pictures are not objects. You need actual code of the object.


Mon Jan 31, 2011 10:06 pm
Profile
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: I have a question.
Could you help me with that code please?
Code:
AddActor = ACrab
   PresetName = Light Turret
   PinStrength = 1000
   Mass = 15
   GlobalAccScalar = 0
   Buyable = 0
   HitsMOs = 1
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = A&CMods.rte/Weapons/MiniTurret/Images/MiniTurretBase.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -7
      Y = -21
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
         Bounce = 0.1
         StructuralIntegrity = 135
      Resolution = 4
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
         Bounce = 0.1
         StructuralIntegrity = 135
      Resolution = 6
      Depth = 0
   DeepCheck = 0
   BodyHitSound = Sound
      CopyOf = Metal Body Blunt Hit
   DeathSound = Sound
      CopyOf = Ship Explosion
   Health = 100
   ImpulseDamageThreshold = 3500
   GibImpulseLimit = 15000
   GibWoundLimit = 7
   AimRange = 1.5708
   AimDistance = 350
   Perceptiveness = 0.975
   CharHeight = 100
   Turret = Turret
      CopyOf = MiniTurretBase
      ParentOffset = Vector
         X = -1
         Y = -16
   LFGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = -5
         Y = 1
   LBGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = -5
         Y = 1
   RFGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = 5
         Y = 1
   RBGLeg = Leg
      CopyOf = Null Leg
      ParentOffset = Vector
         X = 5
         Y = 1
   LFootGroup = AtomGroup
      CopyOf = CrabFootGroup
   RFootGroup = AtomGroup
      CopyOf = CrabFootGroup
   LStandLimbPath = LimbPath
      PresetName = 0 Stand Path Left
      StartOffset = Vector
         X = 0
         Y = 0
      PushForce = 0
   LWalkLimbPath = LimbPath
      PresetName = 0 Walk Path Left
      StartOffset = Vector
         X = 0
         Y = 0
      PushForce = 0
   LDislodgeLimbPath = LimbPath
      PresetName = 0 Dislodge Path Left
      StartOffset = Vector
         X = -1
         Y = -10
      StartSegCount = 0
      AddSegment = Vector
         X = 0
         Y = 6
      PushForce = 0
   RStandLimbPath = LimbPath
      CopyOf = 0 Stand Path Left
      PresetName = 0 Stand Path Right
      StartOffset = Vector
         X = 6
         Y = 6
   RWalkLimbPath = LimbPath
      CopyOf = 0 Walk Path Left
      PresetName = 0 Walk Path Right
      StartOffset = Vector
         X = -2
         Y = -12
   RDislodgeLimbPath = LimbPath
      CopyOf = 0 Dislodge Path Left
      PresetName = 0 Dislodge Path Right
      StartOffset = Vector
         X = 2
         Y = -10
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Glow Particle Yellow Huge
      Count = 2
      MinVelocity = 5
      MaxVelocity = 15
      InheritsVel = 0
   AddGib = Gib
      GibParticle = AEmitter
         CopyOf = Fuel Fire Trace Gray
         PresetName = Ship Explosion
         LifeTime = 175
      Count = 8
      MaxVelocity = 14
      MinVelocity = 7
      LifeVariation = 0.2
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Flame Ball 1
      Count = 10
      Spread = 3.1
      MaxVelocity = 16
      MinVelocity = 4
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Explosion Smoke 1
      Count = 20
      Spread = 3.1
      MaxVelocity = 10
      MinVelocity = 0
      LifeVariation = 0.4
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Explosion Smoke 2
      Count = 15
      Spread = 3.1
      MaxVelocity = 15
      MinVelocity = 5
      LifeVariation = 0.5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Base.rte/Explosion Smoke 1
      Offset = Vector
         X = 0
         Y = 0
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Base.rte/Explosion Smoke 2
      Offset = Vector
         X = 0
         Y = 0


Code:
AddActor = Turret
   PresetName = Turret
   Mass = 0
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = A&CMods.rte/null.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = 0
      Y = 0
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Air
      Resolution = 2
      Depth = 1
   DeepCheck = 0
   JointStrength = 20000
   JointStiffness = 0.95
   DrawAfterParent = 1
   MountedMO = HDFirearm
      CopyOf = Beast


Thanks


Mon Jan 31, 2011 10:08 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: I have a question.
Code:
PresetName = Turret

Change the PresetName to the desired name of your turret.

Then use that PresetName in
Code:
   Turret = Turret
      CopyOf = <PresetName of Turret Here>


Mon Jan 31, 2011 10:28 pm
Profile
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: I have a question.
Ok. Thats all?


Mon Jan 31, 2011 10:30 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: I have a question.
To get it working, yes.


Mon Jan 31, 2011 10:32 pm
Profile
User avatar

Joined: Fri Jan 28, 2011 3:47 am
Posts: 42
Reply with quote
Post Re: I have a question.
Ok thanks that really helped A LOT! :grin:


Mon Jan 31, 2011 11:06 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 28 posts ]  Go to page Previous  1, 2

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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.062s | 15 Queries | GZIP : Off ]