Cortex Command

Cortex Command

Endless content for every part of the game
Built for modding from the ground up, Cortex Command supports a community of talent whose quality work can be enjoyed here: actors, items, vehicles, scenes, game modes, tech factions - you name it!
Learn More
HELP! Modding Error for Cortex command that won't fix! (x_x)
Hello there, I am new to modding CC and have continually encountered an error with my gun, the "Suppressed SMG". I have read many tutorials and checked my code SO MANY TIMES that I am unsure of the current issue. Here is the crash message that I commonly see in other user's posts, along with a solution, that are similar to my error but with some variation.

The crash message reads:

--------------------------- RTE Aborted! (x_x) --------------------------- Failed to load datafile object with following path and name: MoreGunsMod.rte/Devices/Sprites/Suppressed SMG000 The last frame has been dumped to 'abortscreen.bmp' You can copy this message with Ctrl+C --------------------------- OK ---------------------------

I checked the crash image, and everything seemed to be working just fine:

(crash image here) https://sites.google.com/site/ccmoregunsmod/home

It says:

MoreGunsMod.rte loading.... Idex.ini on line 7 includes: Devices/Devices.ini on line 4 includes: Devices/Weapons/Supressed SMG.ini - done! Devices/Devices.ini - done! Index.ini - done!

So, it successfully loads the gun <i>and then fails</i> to load it? That is the most confusing part. All the gun was going to be was a suppressed appearing Uzi, and that was it. If you would like, to read the WHOLE code, you may.

Here it is:
AddEffect = MOPixel PresetName = Bullet Uzi Mass = 0.045 AirResistance = 0.02 AirThreshold = 65 LifeTime = 750 Sharpness = 55 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 210 G = 198 B = 178 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 210 G = 198 B = 178 TrailLength = 19 AddEffect = MOPixel CopyOf = Bullet Uzi PresetName = Tracer Uzi Color = Color R = 238 G = 198 B = 28 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 238 G = 198 B = 28 TrailLength = 24 AddAmmo = Round PresetName = Round Uzi ParticleCount = 1 Particle = MOPixel CopyOf = Bullet Uzi Shell = MOSParticle CopyOf = Casing FireVelocity = 90 ShellVelocity = 11 Separation = 0 AddAmmo = Round PresetName = Tracer Uzi ParticleCount = 1 Particle = MOPixel CopyOf = Tracer Uzi Shell = MOSParticle CopyOf = Casing FireVelocity = 90 ShellVelocity = 11 Separation = 0 AddAmmo = Magazine PresetName = Magazine Uzi Mass = 2 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Ronin.rte/Devices/Sprites/MagazineUziA.bmp FrameCount = 1 SpriteOffset = Vector X = -2 Y = -4 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 3 Depth = 1 DeepCheck = 0 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = 0 Y = 0 ParentOffset = Vector X = -1 Y = 5 DrawAfterParent = 0 RoundCount = 30 RTTRatio = 5 RegularRound = Round CopyOf = Round Uzi TracerRound = Round CopyOf = Tracer Uzi AddDevice = HDFirearm PresetName = Suppressed SMG AddToGroup = Weapons AddToGroup = Secondary Weapons Mass = 6 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = MoreGunsMod.rte/Devices/Sprites/Suppressed SMG.bmp FrameCount = 2 SpriteOffset = Vector X = -7 Y = -3 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 35 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 4 Depth = 10 DeepCheck = 0 JointStrength = 100 JointStiffness = 0.5 JointOffset = Vector X = -1 Y = 3 DrawAfterParent = 0 OneHanded = 1 StanceOffset = Vector X = 12 Y = 0 SharpStanceOffset = Vector X = 13 Y = -2 SupportOffset = Vector X = 4 Y = 1 SharpLength = 100 Magazine = Magazine CopyOf = Magazine Uzi Flash = Attachable CopyOf = Muzzle Flash SMG FireSound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/SMGs/Mp5 Single.wav EmptySound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/EmptyClick3.wav ReloadStartSound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/ReloadStart.wav ReloadEndSound = Sound AddSample = ContentFile FilePath = Base.rte/Devices/ReloadEnd.wav RateOfFire = 1000 ReloadTime = 1000 FullAuto = 1 FireIgnoresThis = 1 ShakeRange = 10 SharpShakeRange = 4 NoSupportFactor = 1.6 ParticleSpreadRange = 1 ShellSpreadRange = 5 ShellAngVelRange = 3 MuzzleOffset = Vector X = 9 Y = 0 EjectionOffset = Vector X = -1 Y = -1 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 6 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 2 Count = 5 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOPixel CopyOf = Drop Oil Count = 5 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 8 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Grey Micro A Count = 12 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 AddGib = Gib GibParticle = MOSRotating CopyOf = Ronin Gib I Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 GibWoundLimit = 4

Thank you for reading my help request post. I have provided as much information as I can to assist the more exoerienced modders with finding the problem. Kudos to you! :kudos: :kudos:
Last edited by Teto's Hardest Fan; 19 Sep, 2018 @ 6:04pm
< >
Showing 1-4 of 4 comments
Nao entendo nada sobre mods rsrs 0p0
Originally posted by mrgames:
Nao entendo nada sobre mods rsrs 0p0
Bem então...
Last edited by Teto's Hardest Fan; 19 Sep, 2018 @ 6:05pm
Nerif 2 25 Oct, 2018 @ 7:33pm 
Not sure if you're still having an issue but it's probably because there's a space in the sprite name.
Teto's Hardest Fan 27 Oct, 2018 @ 10:38am 
Mm. Lemme try that later. Thank you.
Actually, I am pretty sure I removed the spaces, but it still won't load. I even made sure to only use colors from the CC color pallete, so that can't be an issue.

I wonder.
< >
Showing 1-4 of 4 comments
Per page: 1530 50