View unanswered posts | View active topics It is currently Mon Jan 06, 2025 10:21 pm



Reply to topic  [ 3 posts ] 
 Problem in FirstMod.rte [Resolved] 
Author Message
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Problem in FirstMod.rte [Resolved]
I have large experience in programming in general, (particularly Java) and minimal in Lua. I first started Lua when trying to make Mods for Garry's Mod. I soon decided I wanted to do Lua mods in a mildly similar 2D kind of game, because trig in 3D got annoying.

After a while of searching I found CC, and it's amazing! After beating it, I started modding right away with this tutorial:

http://www.moddb.com/mods/the-crowguard/tutorials/creating-your-first-cc-modification

I finished it, and tried it, however I had done a few things wrong. I found them and fixed them, but one problem persists, and I'm not sure what's going on. Deagle keeps generating an error I don't understand on the second line ("Could not match property at line 2"). I will attach FirstMod.rte since you might need it.

Also, make sure you tell me why this error happens and (if it isn't obvious) how to fix it, please, since I don't want to ask for embarrasing help in the future.

Thanks! :grin:


Attachments:
File comment: The mod from the tutorial. Just decompress it.
FirstMod.rte.zip [20.05 KiB]
Downloaded 135 times


Last edited by Awesomeness on Sun Jun 20, 2010 3:18 am, edited 1 time in total.

Sat Jun 19, 2010 5:17 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Problem in FirstMod.rte
For one, your index.ini was messed up. For another, you're missing the moduleicon you included in it. If you want to have one you can insert one, but it's not necessary.

After I fixed those two things in the index it worked fine, and here is the fixed index.
Attachment:
index.ini [162 Bytes]
Downloaded 134 times


Sat Jun 19, 2010 8:14 pm
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: Problem in FirstMod.rte
Thanks. I finished! I set the attributes to a satisfying level... (OVERKILL!)

Then I refactored manually to rename it to Old Glory both in appearance but in code as well.

Yay!


Sun Jun 20, 2010 3:16 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.117s | 15 Queries | GZIP : Off ]