Data Realms Fan Forums
http://45.55.195.193/

Help with armor code
http://45.55.195.193/viewtopic.php?f=1&t=46327
Page 1 of 1

Author:  EvilMurlock [ Sat Feb 22, 2020 7:30 pm ]
Post subject:  Help with armor code

Ok so I made a functional dummy style actor, everithing works fine, I deside to add armor for flare. (a helmet)
I got the code by copying it from the armored coalition soldier. I got all the sprites needed... I double checked the code,I dont think I have made a type-o. Please help.
its the clasic error everyone has seen =>

RTE Aborted! (x_x)
---------------------------
Could not match property Error happened in Slovakia.rte/actors/ASR6/ASR6.ini at line 35!

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

You can copy this message with Ctrl+C
---------------------------
OK
---------------------------

Here is the code for the armor (its the first thing in the ini file nothing infornt of it)

AddEffect = Attachable
PresetName = HelmetA
Mass = 5
HitsMOs = 1
GetsHitByMOs = 1
SpriteFile = ContentFile
FilePath = Slovakia.rte/actors/ASR6/Armor/HelmetA.bmp
FrameCount = 1
SpriteOffset = Vector
X = 0
Y = 0
AngularVel = 6
EntryWound = AEmitter
CopyOf = Dent Metal Light
ExitWound = AEmitter
CopyOf = Dent Metal Light
AtomGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Mega Metal
Resolution = 4
Depth = 0
DeepCheck = 0
JointStrength = 350
JointStiffness = 0.5
BreakWound = AEmitter
CopyOf = Wound Bone Break
JointOffset = Vector
X = -3
Y = 7
DrawAfterParent = 1
AddGib = Gib
GibParticle = MOSRotating
CopyOf = Gib Pipe Small B
GibImpulseLimit = 2500 //HERE IS THE 35th LINE like what is even the problem?!?!?
GibWoundLimit = 10
GibSound = Sound
CopyOf = Bone Crack

Attachments:
File comment: Here is the entire .ini file (I have also a gibs.ini file and a jetpack.ini file tell if you need them too)
ASR6.ini [14.77 KiB]
Downloaded 34620 times

Author:  CaveCricket48 [ Sat Feb 22, 2020 9:55 pm ]
Post subject:  Re: Help with armor code

If you could post the entire ini file as an attachment, that might help. There might be something wrong with the formatting.

Author:  CaveCricket48 [ Thu Feb 27, 2020 3:22 am ]
Post subject:  Re: Help with armor code

You have
Code:
   DrawAfterParent = 1
   AddGib = Gib
      GibParticle = MOSRotating
      CopyOf = Gib Pipe Small B
   GibImpulseLimit = 2500
   GibWoundLimit = 10


When it should be

Code:
   DrawAfterParent = 1
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Pipe Small B
   GibImpulseLimit = 2500
   GibWoundLimit = 10


Note the tab for the "CopyOf" line

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