Home   Help Search Login Register  

Author Topic: Where have i gone wrong on this?  (Read 2745 times)

0 Members and 1 Guest are viewing this topic.

swift88

  • Guest
Re:Where have i gone wrong on this?
« Reply #15 on: 09 Nov 2003, 14:16:12 »
i presume u change this to drg_sa80
class CfgAmmo
{
class default {};
class BulletSingle:default {};
class DRG_SA80mag:BulletSingle
{  
« Last Edit: 09 Nov 2003, 14:17:42 by swift88 »

KyleSarnik

  • Guest
Re:Where have i gone wrong on this?
« Reply #16 on: 09 Nov 2003, 17:50:03 »
Error #3:

Bad base class but I guess you fixed it

Error #4:

You most likely forgot a }; so it won't recognize your magazine class, so check that... Or it could be that your ammo classname is the same as your mag classname? But most likely a missing };

KyleSarnik

  • Guest
Re:Where have i gone wrong on this?
« Reply #17 on: 09 Nov 2003, 17:54:59 »
Erm ok just saw this:

class Single
{
ammo="BulletSingleW";

Thats a NO NO, your trying to use 2 different ammo types... and also, because that you DO have a seperate classname for the mags, all of that single, burst, full auto crap goes under the mag classname.... That only works when your mag is the same classname as the weapon witch is waht BIS did at first but with the newer weapons the stoped doing it because of bugs I guess or it just does't work anymore but I don't know but its not important to you so ill shut up now  ::)....
« Last Edit: 09 Nov 2003, 17:55:27 by KyleSarnik »

Offline Pathy

  • Former Staff
  • ****
  • I'm not a F***in llama!
    • Volcbat.
Re:Where have i gone wrong on this?
« Reply #18 on: 09 Nov 2003, 21:53:51 »
Thankin you's, ive gone and got it ingame, turns out it was a problem with the soldiers and their ammo loads after i got the correct positioning of the };'s right. I went round in circles for 2 weeks due to the soldiers loadoouts being wrong......

Thanks for all your help, thanks to trenchfeet as well :)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Where have i gone wrong on this?
« Reply #19 on: 09 Nov 2003, 21:57:53 »
Well, if its all fixed, might as well solve the topic then.

Glad you got it working.


Planck
« Last Edit: 09 Nov 2003, 21:58:19 by Planck »
I know a little about a lot, and a lot about a little.