View unanswered posts | View active topics It is currently Fri Jan 10, 2025 10:54 am



Reply to topic  [ 4 posts ] 
 Line 10 of devices wont read 
Author Message
User avatar

Joined: Sat Oct 20, 2007 11:17 pm
Posts: 199
Reply with quote
Post Line 10 of devices wont read
I need help. Today I decided to make a one handed SMG. I edited the default SMG code, I did that right, but my game failed to read the Adddevice part, and I had to cut it from the game. Then it crashed on devices.ini at the SMG part. I cut that out. Next, it crashed on the sprayers part. I hadn't even opened that folder!!! :x

My game is giving out random errors on the devices in base. Is there a way to fix this, or do I need to reinstall.


Sat Aug 22, 2009 6:24 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Line 10 of devices wont read
NOTE: This is why you do not edit essential folders without backing up first.

It takes about thirty seconds to .rar up the essential CC folders, and about twenty seconds to fix them after that, versus minutes to download, install, and fix the game.


Sat Aug 22, 2009 6:44 am
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: Line 10 of devices wont read
Also, these lines must look "exactly" like this. By "exactly" I mean case sensitive:
Code:
AddDevice = HDFirearm
   PresetName = <YourSMGNameHere>
   Description = <BlahDescriptionHere>
   AddToGroup = Weapons
   OneHanded = 1

^Main Hand Version (Usable with a Shield).
Code:
AddDevice = HDFirearm
   PresetName = <YourSMGNameHere>
   Description = <BlahDescriptionHere>
   AddToGroup = Shields
   OneHanded = 1

^ OffHand Version (Takes place of a Shield; Can use with Main Hand weapon.

Take Grifs advice too.
Back It Up
Before You ♥♥♥♥ It Up.


Sat Aug 22, 2009 7:51 pm
Profile
User avatar

Joined: Sat Oct 20, 2007 11:17 pm
Posts: 199
Reply with quote
Post Re: Line 10 of devices wont read
I copied and pasted the code to make sure I got it all right. The weird thing as I said before was that it was crashing on things I hadn't touched. And intead of crashing on the one handed code, it was crashing on the entire device code. It was weird.

Well, I'll back up my files more often. I reinstalled, and everything works fine again. :)


Sun Aug 23, 2009 3:02 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.082s | 13 Queries | GZIP : Off ]