Data Realms Fan Forums http://45.55.195.193/ |
|
Problems with instance names and copyofs in my new mod. http://45.55.195.193/viewtopic.php?f=1&t=8668 |
Page 1 of 1 |
Author: | Fire+Ice [ Sat Nov 24, 2007 8:56 pm ] |
Post subject: | 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? |
Author: | Shook [ Sat Nov 24, 2007 9:01 pm ] |
Post subject: | 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... |
Author: | Shook [ Sun Nov 25, 2007 10:20 pm ] |
Post subject: | 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... |
Author: | Fire+Ice [ Tue Nov 27, 2007 9:08 am ] |
Post subject: | 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: |
Author: | Fuzzo [ Tue Nov 27, 2007 9:11 am ] |
Post subject: | 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. |
Author: | Grif [ Tue Nov 27, 2007 9:13 am ] |
Post subject: | Re: Problems with instance names and copyofs in my new mod. |
There's no attachment visible. Please host the file. |
Author: | Shook [ Tue Nov 27, 2007 4:10 pm ] |
Post subject: | Re: Problems with instance names and copyofs in my new mod. |
[Insert Grifs post here] It wasn't in the PM either... |
Author: | Fire+Ice [ Tue Nov 27, 2007 5:05 pm ] |
Post subject: | 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: |
Author: | Darlos9D [ Tue Nov 27, 2007 5:59 pm ] |
Post subject: | 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. |
Author: | Ringwall [ Tue Nov 27, 2007 10:13 pm ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |