Results 1 to 2 of 2

Thread: Help modifying an existing config

  1. #1

    Help modifying an existing config

    I'm trying to modify SJB's SAS units to use STALKERGB's L119A1s and PUKF weapons. Where I've run into trouble is trying to modify the ammo boxes that come with the SAS units to match the new weapons. I get an error when trying to launch the game that reads

    '/CfgVehicles/SJB_BackpackAmmoStash/TransportMagazines.class_xx_ukf_10rnd_762x51_mag': '{' encountered instead of '='
    The relevant (I think) part of the config, including the two entries before and after, is

    Code:
    class _xx_ukf_sigp266_mag {
    				magazine = "ukf_sigp226_mag";
    				count = 20;
    			};
    
    			class _xx_ukf_sigp226_SDmag {
    				magazine = "ukf_sigp226_SDmag";
    				count = 20;
    			};
    
    			class_xx_ukf_10rnd_762x51_mag {
    				magazine = "ukf_10rnd_762x51_mag";
    				count = 20;
    			};
    
    			class _xx_HandGrenadeTimed {
    				magazine = "HandGrenadeTimed";
    				count = 12;
    			};
    
    			class _xx_SmokeShell {
    				magazine = "SmokeShell";
    				count = 5;
    			};
    I can't see what the problem is there. I tried removing that line and it gives me the same error for my ukf_law80 entry instead, which is

    Code:
    class_xx_ukf_law80 {
    				magazine = ukf_law80";
    				count = 2;
    
    			};
    I tried a forum search and couldn't find anything helpful on the subject. Can anybody help me out?

    Thanks in advance.
    Last edited by astano; Aug 19 2011 at 12:11.

  2. #2
    Private First Class
    Join Date
    Dec 4 2005
    Posts
    21
    Author of the Thread
    Okay, for the time being I have scrapped the ammo boxes and am just concerned with getting the guys in-game with their replaced weapons.

    I have them to the point where they appear in the editor and in-game - but when I preview them in the editor they all appear carrying just a smoke grenade (no replacement weapons or anything else, literally just a single smoke grenade). I added a couple new units and they show up just like the others.

    Here's my config, including for the ammo boxes, at the moment:

    Spoiler:


    If anybody could help me out with either or both of these problems I'd really appreciate it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •