Author |
Message |
BrainChild
Joined: Sun May 23, 2010 7:11 pm Posts: 193
|
"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
Last edited by BrainChild on Tue Jun 15, 2010 9:48 am, edited 3 times in total.
|
Tue May 25, 2010 8:56 pm |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
BrainChild
Joined: Sun May 23, 2010 7:11 pm Posts: 193
|
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 |
|
|
none
Joined: Fri Dec 18, 2009 11:00 pm Posts: 167
|
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 |
|
|
BrainChild
Joined: Sun May 23, 2010 7:11 pm Posts: 193
|
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 |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: "Can't match property" Why ????
it's that |<- ->| button on your keyboard.
|
Wed May 26, 2010 7:59 pm |
|
|
BrainChild
Joined: Sun May 23, 2010 7:11 pm Posts: 193
|
Re: "Can't match property" Why ????
Oh thank you
|
Wed May 26, 2010 8:07 pm |
|
|
WeaponMaster
Joined: Sun May 23, 2010 9:23 pm Posts: 8
|
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 |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
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 |
|
|
none
Joined: Fri Dec 18, 2009 11:00 pm Posts: 167
|
Re: "Can't match property" Why ????
|
Wed May 26, 2010 11:00 pm |
|
|
WeaponMaster
Joined: Sun May 23, 2010 9:23 pm Posts: 8
|
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 |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
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 |
|
|
BrainChild
Joined: Sun May 23, 2010 7:11 pm Posts: 193
|
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) Thank you all for helping me
|
Thu May 27, 2010 2:13 pm |
|
|
|