Re: Making my mod and I'm a little confused
Well, if it's any help, here's what I've got so far. The parentoffset was on the magazine, I should have said that (the tutorial was for a pistol, trying to make an auto).
It's probably pretty messy and if you can pick up any errors it'd be appreciated.
Tracers, okay, so should I use it here?
Also, when I tried to run it, I got this message:
Quote:
Abortion in file .\System\Reader.cpp, line 534, because:
Could not match property in Brank.rte\Devices\GerundAR\Gun.ini at line 1!
The last frame has been dumped to 'abortscreen.bmp'
And I dunno what the problem is :s
(Oh, and explanations to what any offsets are and how to position them, it'd be appreciated. or maybe I should reread the tuts.)
Code:
AddEffect = MOPixel
PresetName = Bullet Gerund AR
Mass = 0.1
LifeTime = 820
Sharpness = 30
HitsMOs = 1
GetsHitByMOs = 0
Color = Color
R = 81
G = 81
B = 81
Atom = Atom
Material = Material
CopyOf = Bullet Metal
TrailColor = Color
R = 120
G = 120
B = 120
TrailLength = 38
AddEffect = MOPixel
CopyOf = Bullet Gerund AR
PresetName = Tracer Gerund AR
Mass = 0.2
Sharpness = 40
Color = Color
R = 100
G = 100
B = 100
Atom = Atom
Material = Material
CopyOf = Bullet Metal
TrailColor = Color
R = 150
G = 150
B = 150
TrailLength = 44
//Ammo
AddAmmo = Round
PresetName = Round Gerund AR
ParticleCount = 2
Particle = MOPixel
CopyOf = Bullet Gerund AR
Shell = MOSParticle
CopyOf = Casing
FireVelocity = 200
ShellVelocity = 10
Separation = 0
AddAmmo = Round
PresetName = Tracer GerundAR
ParticleCount = 2
Particle = MOPixel
CopyOf = Tracer Gerund AR
Shell = MOSParticle
CopyOf = Casing
FireVelocity = 260
ShellVelocity = 10
Separation = 0
//Magazines
AddAmmo = Magazine
PresetName = Magazine Gerund AR
Mass = 2
HitsMOs = 0
GetsHitByMOs = 1
SpriteFile = ContentFile
FilePath = Brank.rte/Devices/Sprites/GerundARMagazine.bmp
FrameCount = 1
SpriteOffset = Vector
X = 0
Y = 0
ParentOffset = Vector
X = 4
Y = -5
EntryWound = AEmitter
CopyOf = Dent Metal
ExitWound = AEmitter
CopyOf = Dent Metal
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 = 1
JointStrength = 200
JointStiffness = 0.5
JointOffset = Vector
X = 1
Y = 3
DrawAfterParent = 0
RoundCount = 10
RTTRatio = 3
RegularRound = Round
CopyOf = Round Gerund AR
TracerRound = Round
CopyOf = Tracer GerundAR
//Devices
AddDevice = HDFirearm
PresetName = Gerund AR
AddToGroup = Weapons
Description = An accurate, fast firing assault rifle, though doesn't do much damage.
Mass = 9
HitsMOs = 0
GetsHitByMOs = 1
SpriteFile = ContentFile
FilePath = Brank.rte/Devices/Sprites/GerundAR.bmp
FrameCount = 1
SpriteOffset = Vector
X = -6
Y = -4
EntryWound = AEmitter
CopyOf = Dent Metal
ExitWound = AEmitter
CopyOf = Dent Metal
GoldValue = 70
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 = 2
DeepCheck = 1
JointStrength = 100
JointStiffness = 0.5
JointOffset = Vector
X = -3
Y = 1
DrawAfterParent = 0
OneHanded = 0
StanceOffset = Vector
X = 10
Y = 2
SharpStanceOffset = Vector
X = 11
Y = 0
SupportOffset = Vector
X = 2
Y = 3
SharpLength = 125
Magazine = Magazine
CopyOf = Magazine Gerund AR
ParentOffset = Vector
X = 0
Y = 0
Flash = Attachable
CopyOf = Muzzle Flash Pistol
FireSound = Sound
AddSample = ContentFile
FilePath = Brank.rte/Devices/MuterFire.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 = 10
ReloadTime = 900
FullAuto = 1
FireIgnoresThis = 1
ShakeRange = 10
SharpShakeRange = 3
NoSupportFactor = 1.5
ParticleSpreadRange = 0
ShellSpreadRange = 8
ShellAngVelRange = 2
MuzzleOffset = Vector
X = 1
Y = 14
EjectionOffset = Vector
X = 4
Y = -5
AddGib = Gib
GibParticle = MOPixel
CopyOf = Spark Yellow 1
Count = 3
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 = MOSParticle
CopyOf = Gib Metal Rust Micro A
Count = 10
Spread = 2.25
MaxVelocity = 15
MinVelocity = 5
AddGib = Gib
GibParticle = MOSParticle
CopyOf = Gib Metal Grey Micro A
Count = 4
Spread = 2.25
MaxVelocity = 15
MinVelocity = 5
GibWoundLimit = 4