Data Realms Fan Forums
http://45.55.195.193/

"Can't match property" Why ???? (Fixed)
http://45.55.195.193/viewtopic.php?f=1&t=18829
Page 1 of 1

Author:  BrainChild [ Tue May 25, 2010 8:56 pm ]
Post subject:  "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

Author:  Geti [ Tue May 25, 2010 9:57 pm ]
Post subject:  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)

Author:  BrainChild [ Wed May 26, 2010 1:00 pm ]
Post subject:  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"

Author:  none [ Wed May 26, 2010 7:15 pm ]
Post subject:  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

Author:  BrainChild [ Wed May 26, 2010 7:40 pm ]
Post subject:  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

Author:  Lizardheim [ Wed May 26, 2010 7:59 pm ]
Post subject:  Re: "Can't match property" Why ????

it's that
|<-
->|
button on your keyboard.

Author:  BrainChild [ Wed May 26, 2010 8:07 pm ]
Post subject:  Re: "Can't match property" Why ????

Oh thank you

Author:  WeaponMaster [ Wed May 26, 2010 8:53 pm ]
Post subject:  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.

Author:  Lizardheim [ Wed May 26, 2010 10:01 pm ]
Post subject:  Re: "Can't match property" Why ????

No, gibwound limit is a big factor too, it says how many bullets iit can take before gibbing.

Author:  none [ Wed May 26, 2010 11:00 pm ]
Post subject:  Re: "Can't match property" Why ????

Please look at weapon template;

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

Author:  WeaponMaster [ Thu May 27, 2010 4:27 am ]
Post subject:  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.

Author:  411570N3 [ Thu May 27, 2010 5:41 am ]
Post subject:  Re: "Can't match property" Why ????

You could just not define wounds on it, making it impossible to penetrate by sharpness.

Author:  BrainChild [ Thu May 27, 2010 2:13 pm ]
Post subject:  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:

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/