Author |
Message |
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Why is CC loading some parts of my mod?
I'm creating a mod, and it worked fine, until I decided to make a flare gun. The only thing I have changed of the main coding is the devices.ini and the index.ini. Now, when I load it into the game, it doesn't load the actor, and a tool that is in the same .ini that a bomb that does load. The only thing it loads is a set of guns I have under the same .ini.
What is the problem and how can I solve it?
|
Mon Jan 31, 2011 10:32 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Why is CC loading some parts of my mod?
There is a tabbing error somewhere. Toss gibberish in to see exactly where it stops loading. At that place is a section or line with too many or too little tabs.
|
Tue Feb 01, 2011 12:10 am |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Why is CC loading some parts of my mod?
I typed at the beggining of the flare code "lolololololololol". It doesn't give me an error, and it loads the flare anyway.
|
Tue Feb 01, 2011 12:21 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Why is CC loading some parts of my mod?
Try placing it earlier. Keep doing it until it crashes. We'll deal with one problem at a time.
|
Tue Feb 01, 2011 1:07 am |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Why is CC loading some parts of my mod?
Ok, I changed a part of the script, and now it crashes. It crashes, it doesn't abort like in file aborted (X_X).
|
Tue Feb 01, 2011 1:16 am |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Why is CC loading some parts of my mod?
Alright, I know which part of the coding is producing the crash. It's my flare gun.
Now, I need to fix that thing.
|
Tue Feb 01, 2011 1:30 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Why is CC loading some parts of my mod?
It may have an incorrectly formatted property. Post the code if you can't figure it out.
|
Tue Feb 01, 2011 1:44 am |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Why is CC loading some parts of my mod?
I suck at tabbing and in the order of variables, so I'll post the code. http://pastebin.com/WpZRA4f3
|
Tue Feb 01, 2011 2:02 am |
|
|
|