Data Realms Fan Forums http://45.55.195.193/ |
|
Difining stuff http://45.55.195.193/viewtopic.php?f=1&t=11758 |
Page 1 of 1 |
Author: | Rigby [ Mon Jul 21, 2008 12:12 am ] |
Post subject: | Difining stuff |
Good day.. This is my first time here, and to be honnest i have been playing CC for a couple of times now (lets say 7 months) i have done a few mods for my self for fun, the basic crap. But i still have these stupid problems with defining a couple of things, like Magazine etc. Ive looked at Wiki, used Search on this forum but i didnt had the anwsers i looked for. Could someone please explain me what it really means and how i fix it ? |
Author: | Ophanim [ Mon Jul 21, 2008 12:33 am ] |
Post subject: | Re: Difining stuff |
Use spellcheck. Also, in your post, you didn't use specifics. Give an example on what's giving you trouble. |
Author: | Gotcha! [ Mon Jul 21, 2008 12:45 am ] |
Post subject: | Re: Difining stuff |
Hi, can you be more specific? |
Author: | Rigby [ Mon Jul 21, 2008 12:45 am ] |
Post subject: | Re: Difining stuff |
ok i've been trying to make a machine gun.. but when i try to rename the magazine of the gun it says i need to define it .. Quote: AddAmmo = Magazine InstanceName = Magazine MMG Mass = 2 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = MMgun.rte/SMGs/MagSMG2.bmp FrameCount = 1 SpriteOffset = Vector X = 5 Y = -4 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 3 Depth = 1 DeepCheck = 1 JointStrength = 200 JointStiffness = 1 JointOffset = Vector X = 0 Y = -3 ParentOffset = Vector X = 1 Y = 0 DrawAfterParent = 0 RoundCount = 30 RTTRatio = 8 RegularRound = Round CopyOf = Round MMG TracerRound = Round InstanceName = Round MMG Tracer AddGib = Gib GibParticle = MOPixel CopyOf = Spark Yellow 1 Count = 5 Spread = 2.25 MaxVelocity = 20 MinVelocity = 8 AddGib = Gib GibParticle = MOSParticle CopyOf = Gib Metal Rust Micro A Count = 4 Spread = 2.25 MaxVelocity = 15 MinVelocity = 5 GibWoundLimit = 1 |
Author: | Gotcha! [ Mon Jul 21, 2008 12:52 am ] |
Post subject: | Re: Difining stuff |
You need to make sure that the instance "Magazine MMG" is placed before the actual gun. Also make sure that the magazine is also defined in the gun itself. If you renamed the magazine, you'll have to rename the instance name present in the gun part as well. I hope that helps. You can pm me your file if you need more help. I'll look it over. Edit: Example, taken from some random gun: AddAmmo = Magazine InstanceName = Colt M16 Mag <- has to match AddDevice = HDFirearm Magazine = Magazine CopyOf = Colt M16 Mag <- has to match |
Author: | robolee [ Mon Jul 21, 2008 1:11 am ] |
Post subject: | Re: Difining stuff |
The error says simply: "Hey there, sorry but this code won't work, because: Looks like you've put an instance name to copy from before it's been defined or that hasn't been defined at all. There's also the chance that you made a little spelling mistake, causing it to refer to an instance which is non-existent. The error occurs on line 53, I recommend that you turn off word wrap and use the "Go To..." (ctrl+G) command in notepad to look at this line. If the line of code is incorrect I did a printscreen when this error occurred, I saved it as "abortscreen.bmp" for your convenience. This may show the correct line that the error occurred on. Have a good day." I hope this gave you a better understanding of the error messages. |
Author: | Rigby [ Mon Jul 21, 2008 1:12 pm ] |
Post subject: | Re: Difining stuff |
After some help from Gotcha and the help from you guys it now works. so i here by iam thanking you guys, its really kind of you now i know alot more about CC. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |