Author |
Message |
Fire+Ice
Joined: Wed Apr 04, 2007 5:59 pm Posts: 32 Location: In that can of sprite on your desk.
|
Problems with instance names and copyofs in my new mod.
My new mod is a gatling gun,But I end up with a error saying that in the ammo.ini it's copying from a non defined thing. I've looked through the code and everythings right IMHO so could someone PLEASE help? Ammo.ini Code: AddEffect = Attachable InstanceName = GGun Muzzle Flash Mass = 0.0001 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = GGun.rte/Images/MuzzleFlash02.bmp FrameCount = 3 SpriteOffset = Vector X = -2 Y = -6 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Air Resolution = 2 Depth = 100 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Air Resolution = 3 Depth = 100 DeepCheck = 0 JointStrength = 10000 JointStiffness = 1 ScreenEffect = ContentFile FilePath = GGun.rte/Images/YellowSmall.bmp DrawAfterParent = 0
AddAmmo = Round InstanceName = GGun Round ParticleCount = 1 Particle = MOPixel InstanceName = GGun Round Mass = 0.015 RestThreshold = 500 LifeTime = 4000 Sharpness = 500 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 180 G = 20 B = 20 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 160 G = 50 B = 50 TrailLength = 60 Shell = MOSParticle CopyOf = Casing FireVelocity = 100 ShellVelocity = 30 Separation = 5
AddAmmo = Round CopyOf = GGun Round InstanceName = GGun Tracer ParticleCount = 1 Particle = MOPixel CopyOf = GGun Round InstanceName = GGun Tracer RestThreshold = 500 LifeTime = 1500 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 130 G = 30 B = 30 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 140 G = 40 B = 40 TrailLength = 45
AddAmmo = Magazine InstanceName = GGun Magazine Mass = 1 // kg HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = GGun.rte/Images/MagazineGGun.bmp FrameCount = 1 SpriteOffset = Vector X = -3 Y = -3 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Tech Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Tech Resolution = 3 Depth = 1 DeepCheck = 1 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = 0 Y = -3 DrawAfterParent = 0 RoundCount = 500 RTTRatio = 0 RegularRound = Round CopyOf = GGun Round TracerRound = Round CopyOf = GGun Tracer Help?
|
Sat Nov 24, 2007 8:56 pm |
|
|
Shook
Joined: Fri Feb 16, 2007 8:43 pm Posts: 1695 Location: AH SHIT FUCK AUGH
|
Re: Problems with instance names and copyofs in my new mod.
Well, it all depends on which line it complains about... But try adding "Particle" to the end of the particles names, like this: Code: AddAmmo = Round InstanceName = GGun Round ParticleCount = 1 Particle = MOPixel InstanceName = GGun Round Particle Mass = 0.015 RestThreshold = 500 Can't say whether it works or not though...
|
Sat Nov 24, 2007 9:01 pm |
|
|
Fire+Ice
Joined: Wed Apr 04, 2007 5:59 pm Posts: 32 Location: In that can of sprite on your desk.
|
Re: Problems with instance names and copyofs in my new mod.
Shook wrote: Well, it all depends on which line it complains about... But try adding "Particle" to the end of the particles names, like this: Code: AddAmmo = Round InstanceName = GGun Round ParticleCount = 1 Particle = MOPixel InstanceName = GGun Round Particle Mass = 0.015 RestThreshold = 500 Can't say whether it works or not though... EDIT:Tried it,didn't work. Here's a screen:
Attachments:
File comment: a crash.
gahcrash.bmp [ 2.25 MiB | Viewed 3707 times ]
|
Sat Nov 24, 2007 9:23 pm |
|
|
Shook
Joined: Fri Feb 16, 2007 8:43 pm Posts: 1695 Location: AH SHIT FUCK AUGH
|
Re: Problems with instance names and copyofs in my new mod.
Hmm, looks like a tough nut to crack... If you could send the ini, i'll try to fix it.
P.S. Sorry 'bout late reply...
|
Sun Nov 25, 2007 10:20 pm |
|
|
Fire+Ice
Joined: Wed Apr 04, 2007 5:59 pm Posts: 32 Location: In that can of sprite on your desk.
|
Re: Problems with instance names and copyofs in my new mod.
Shook wrote: Hmm, looks like a tough nut to crack... If you could send the ini, i'll try to fix it.
P.S. Sorry 'bout late reply... Did it get to you? If not then here:
|
Tue Nov 27, 2007 9:08 am |
|
|
Fuzzo
Joined: Sat Feb 10, 2007 4:56 pm Posts: 106 Location: Great Britain.Bedfordshire.
|
Re: Problems with instance names and copyofs in my new mod.
Sounds like another one of those funky errorz that require you to tab the instance name.
|
Tue Nov 27, 2007 9:11 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Problems with instance names and copyofs in my new mod.
There's no attachment visible.
Please host the file.
|
Tue Nov 27, 2007 9:13 am |
|
|
Shook
Joined: Fri Feb 16, 2007 8:43 pm Posts: 1695 Location: AH SHIT FUCK AUGH
|
Re: Problems with instance names and copyofs in my new mod.
[Insert Grifs post here]
It wasn't in the PM either...
|
Tue Nov 27, 2007 4:10 pm |
|
|
Fire+Ice
Joined: Wed Apr 04, 2007 5:59 pm Posts: 32 Location: In that can of sprite on your desk.
|
Re: Problems with instance names and copyofs in my new mod.
Shook wrote: [Insert Grifs post here]
It wasn't in the PM either... That's odd Here,It's in a rar so it should show up. Attachment:
File comment: The file.
Ammo.rar [786 Bytes]
Downloaded 168 times
|
Tue Nov 27, 2007 5:05 pm |
|
|
Darlos9D
Joined: Mon Jul 16, 2007 9:50 am Posts: 1512 Location: Tallahassee, FL
|
Re: Problems with instance names and copyofs in my new mod.
First, in your regular round: Code: AddAmmo = Round InstanceName = GGun Round ParticleCount = 1 Particle = MOPixel InstanceName = GGun Round Mass = 0.015 RestThreshold = 500 LifeTime = 4000 Sharpness = 500 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 180 G = 20 B = 20 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 160 G = 50 B = 50 TrailLength = 60 Shell = MOSParticle CopyOf = Casing FireVelocity = 100 ShellVelocity = 30 Separation = 5 The Round name and the MOPixel name are the same. You might need to fix that. And then in your tracer: Code: AddAmmo = Round CopyOf = GGun Round InstanceName = GGun Tracer ParticleCount = 1 Particle = MOPixel CopyOf = GGun Round InstanceName = GGun Tracer RestThreshold = 500 LifeTime = 1500 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 130 G = 30 B = 30 Atom = Atom Material = Material CopyOf = Bullet Metal TrailColor = Color R = 140 G = 40 B = 40 TrailLength = 45 Once again, the round name and the pixel name are the same. Fix that. It says the error is at line 61. I think that's "CopyOf = GGun Round" in your tracer. The problem is there because when you say "GGun Round", it doesn't know if you're referring to the Round named GGun Round or the MOPixel named GGun Round.
|
Tue Nov 27, 2007 5:59 pm |
|
|
Ringwall
Joined: Tue Apr 17, 2007 9:03 pm Posts: 46 Location: Canada- smeels reel gud
|
Re: Problems with instance names and copyofs in my new mod.
Code: AddAmmo = Round CopyOf = GGun Round InstanceName = GGun Tracer ParticleCount = 1 Particle = MOPixel CopyOf = GGun Round <------- Whats up with this? InstanceName = GGun Tracer RestThreshold = 500 LifeTime = 1500 HitsMOs = 1 GetsHitByMOs = 0 Color = Color R = 130 G = 30 B = 30
In other words, why not just make an independant pixel instead of a copy? It looks like you have all the data there anyways.
|
Tue Nov 27, 2007 10:13 pm |
|
|
|