Data Realms Fan Forums http://45.55.195.193/ |
|
Learning to mod http://45.55.195.193/viewtopic.php?f=1&t=17036 |
Page 1 of 1 |
Author: | volume [ Mon Nov 02, 2009 3:45 am ] |
Post subject: | Learning to mod |
Hello, I tried to make a mod step by step with the wiki and I followed it exactly, but my game keeps crashing. Abortion in file .\system\reader.ccp line 531 Referring to an instance (magazine pistol} to copy from taht hasn't defined! in mod.rte/SMG.ini at line 141. Line 141: Code: SharpLength = 90 Magazine = Magazine // which magazine to use CopyOf = Magazine Pistol [<- 141] Flash = Attachable // what muzzle flash to use CopyOf = Muzzle Flash Pistol First part of the magazine: Code: AddAmmo = Magazine PresetName = Magazine Pistol Mass = 1 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Base.rte/Devices/Pistols/MagPistol.bmp I really dont know whats wrong |
Author: | 411570N3 [ Mon Nov 02, 2009 3:53 am ] |
Post subject: | Re: Learning to mod |
Try removing one tab from the Magazine line and the three lines below it. |
Author: | volume [ Mon Nov 02, 2009 4:05 am ] |
Post subject: | Re: Learning to mod |
Didn't work |
Author: | Geti [ Mon Nov 02, 2009 4:23 am ] |
Post subject: | Re: Learning to mod |
you might not be getting the error on the right line. Code: /* do you have any comments like this in your mod? * |
Author: | CrazyMLC [ Mon Nov 02, 2009 4:33 am ] |
Post subject: | Re: Learning to mod |
The magazine code has to be above the gun code. |
Author: | volume [ Mon Nov 02, 2009 4:55 am ] | ||
Post subject: | Re: Learning to mod | ||
Here is the file.
|
Author: | Metal Meltdown [ Mon Nov 02, 2009 12:29 pm ] |
Post subject: | Re: Learning to mod |
Well, everything's where it should be... try copying the SMG's code from base.rte instead of the Wiki. For some reason, it simply skips over the mag code. |
Author: | dutchsmoker [ Mon Nov 02, 2009 12:34 pm ] |
Post subject: | Re: Learning to mod |
I suggest using a prebuild pistol as your base, makes these kinds of problems almost nonexistent I can't seem to make it work Code: TracerRound = Round Gun Tracer this is the only thing that seemed wrong but changing it into Code: TracerRound = Round CopyOf = Round Gun Tracer is not fixing that error |
Author: | dragonxp [ Mon Nov 09, 2009 5:33 am ] | ||
Post subject: | Re: Learning to mod | ||
@Volume, here i posted a working smg, which you can fully grasp and edit. Theres a bunch of text off to the side in case ur wondering what there is, and a glossary, that i half done, [i admit my patience sux, its too tedius to finish ]
|
Author: | The Cling Clang [ Mon Nov 09, 2009 6:00 am ] |
Post subject: | Re: Learning to mod |
Replace Code: Magazine = Magazine // which magazine to use CopyOf = Magazine Pistol Flash = Attachable // what muzzle flash to use CopyOf = Muzzle Flash Pistol with Code: Magazine = Magazine CopyOf = Magazine Pistol Flash = Attachable CopyOf = Muzzle Flash Pistol For some reason CC doesn't like those comments. |
Author: | CrazyMLC [ Mon Nov 09, 2009 8:52 am ] |
Post subject: | Re: Learning to mod |
Only thing that could break it, that makes sense, is the spaces before the comments. |
Author: | volume [ Mon Nov 09, 2009 1:12 pm ] |
Post subject: | Re: Learning to mod |
Okay it worked now. Thanks for the responses and help |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |