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



Reply to topic  [ 13 posts ] 
 "Can't match property" Why ???? (Fixed) 
Author Message
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post "Can't match property" Why ???? (Fixed)
I know it's a big favor to ask but can someone please help me with the coding for my weapon

I have done most of it myself , using the some parts from the vanilla cc SMG
But it gives me some error "Can't match property at ... "

With every weapon I try to make it gives me this error if some one can help to fix it , it would be greatly appreciated




Edit: Replaced rte. with working Index


Attachments:
K523.rte.rar [42.81 KiB]
Downloaded 176 times


Last edited by BrainChild on Tue Jun 15, 2010 9:48 am, edited 3 times in total.

Tue May 25, 2010 8:56 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: "Can't match property" Why ????
A line number would help. Can't match property just means you've either mis-indented something or mispelled a property (like HitsMos rather than HitsMOs)


Tue May 25, 2010 9:57 pm
Profile WWW
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post Re: "Can't match property" Why ????
oh It says:

"Could not match property in K523.rte/Devices/Smg-Shotgun/Smg-Shotgun.ini at line 1"


Wed May 26, 2010 1:00 pm
Profile

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post Re: "Can't match property" Why ????
Because of your Index.ini file, make sure you use correct tabbing and not spaces!!

Here you go.


Attachments:
Index.rar [188 Bytes]
Downloaded 174 times
Wed May 26, 2010 7:15 pm
Profile
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post Re: "Can't match property" Why ????
thank you very much

But what is tabbing? Sorry still a noob learning as I go


Edit : It loads now but the gun does not fire anything , Help please
It shows that it has ammo but when you press fire nothing happens

Edit : it is also indestructible


Last edited by BrainChild on Wed May 26, 2010 8:06 pm, edited 1 time in total.



Wed May 26, 2010 7:40 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: "Can't match property" Why ????
it's that
|<-
->|
button on your keyboard.


Wed May 26, 2010 7:59 pm
Profile
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post Re: "Can't match property" Why ????
Oh thank you


Wed May 26, 2010 8:07 pm
Profile

Joined: Sun May 23, 2010 9:23 pm
Posts: 8
Reply with quote
Post Re: "Can't match property" Why ????
For the indestructible part, make sure in your HDFirearm you have GetsHitByMOs = 1, GibWoundLimit = <somewhere in the 10-25 range>, and GibImpulseLimit = <1750 to about 2000 here>. Those are the only problems with indestructibility that I can can think of.


Wed May 26, 2010 8:53 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: "Can't match property" Why ????
No, gibwound limit is a big factor too, it says how many bullets iit can take before gibbing.


Wed May 26, 2010 10:01 pm
Profile

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post Re: "Can't match property" Why ????
Please look at weapon template;

http://wiki.datarealms.com/wiki/index.php/HDFirearm


Wed May 26, 2010 11:00 pm
Profile

Joined: Sun May 23, 2010 9:23 pm
Posts: 8
Reply with quote
Post Re: "Can't match property" Why ????
Lizard, I say 10 to 25 because the only guns I have seen in the hundreds are the MPAM weapons, at least out of all of the guns' code I've looked at.


Thu May 27, 2010 4:27 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: "Can't match property" Why ????
You could just not define wounds on it, making it impossible to penetrate by sharpness.


Thu May 27, 2010 5:41 am
Profile WWW
User avatar

Joined: Sun May 23, 2010 7:11 pm
Posts: 193
Reply with quote
Post Re: "Can't match property" Why ????
I looked at the weapons template (helped very much)

Gun is working (My first ever weapon , this is a great day for humanity... and me) :grin:

Thank you all for helping me :grin:


Thu May 27, 2010 2:13 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.050s | 14 Queries | GZIP : Off ]