View unanswered posts | View active topics It is currently Sun Oct 06, 2024 11:55 am



Reply to topic  [ 3 posts ] 
 Help with armor code 
Author Message

Joined: Fri Feb 21, 2020 12:39 pm
Posts: 2
Reply with quote
Post 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 34419 times


Last edited by EvilMurlock on Sun Feb 23, 2020 10:12 am, edited 1 time in total.

Sat Feb 22, 2020 7:30 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post 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.


Sat Feb 22, 2020 9:55 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post 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


Thu Feb 27, 2020 3:22 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.043s | 16 Queries | GZIP : Off ]