ArmA Stargate Mod Forums

  • February 08, 2012, 06:16:12 pm
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Check out the FAQ

Pages: [1]   Go Down

Author Topic: gettin weapons  (Read 550 times)

BANDIT

  • Guest
gettin weapons
« on: September 21, 2008, 09:41:56 am »

i got a problem......i downloaded the placeweapon.sys and well the weapon spawns perfectly BUT without ammo.....
i dont know what i shall do......

it says config.colonellwellp90clip not found..........
the name of the weapon works and so i though for the ammo......

what did i wrong?
i place a table.....name it table1 and i only get the weapon.....

here:
[table1,0.95,0,"colonelwellp90","colonelwellp90 clip",1,1,0.2] exec "placeweapons.sqs"

thx for help
Logged

Poweruser

  • Developer
  • ***
  • Ascension Level: 31
  • Offline Offline
  • Posts: 350
  • Retired Director of the Goa'uld spaceship dry dock
    • View Profile
Re: gettin weapons
« Reply #1 on: September 21, 2008, 05:38:24 pm »

according to its config, the magazine name is:  "colonelwellP90Mag"
Logged

BANDIT

  • Guest
Re: gettin weapons
« Reply #2 on: September 21, 2008, 06:33:31 pm »

ingame it is called colonelwellp90 clip..........how do i get the real names of the magazines and stuff?
Logged

Poweruser

  • Developer
  • ***
  • Ascension Level: 31
  • Offline Offline
  • Posts: 350
  • Retired Director of the Goa'uld spaceship dry dock
    • View Profile
Re: gettin weapons
« Reply #3 on: September 21, 2008, 06:52:41 pm »

unpbo the addon, unbin the config (if its a config.bin)
open the file in a texteditor, and look for:     class CfgMagazines

then you'll find this:
Quote
class CfgMagazines
{
    class Default;
    class CA_Magazine;
    class colonelwellP90Mag: CA_Magazine
    {
        displayName = "colonelwellP90 Clip";
        picture = "\colonelwellp90\symbolmag.jpg";
        ammo = "colonelwell_B_570x28_Ball";
        count = 50;
        initSpeed = 715;
    };
};

When addressing a magazine type in a script command, then it's the class name (marked in red) that you use. The displayName (marked in blue) is totally unimportant in this matter, it's just something that's printed on the screen.

In most quality weapon addons the class names of weapons and magazines are usually listed in a readme file.
« Last Edit: September 21, 2008, 06:55:51 pm by Poweruser »
Logged
Pages: [1]   Go Up
 

The Stargate Modification is a scripted add-on for Operation Flashpoint, ArmA and ArmA II,
it has been unofficially created as a way for fans to explore the Stargate as it is portrayed in the shows.
This add-on is completely unofficial and though we have gone through great lengths to mimic functions as shown in the shows
it is down to our own interpretation and may not be true to what SCI FI Channel or Metro-Goldwyn-Mayer Studios Inc intended.

Stargate, Stargate SG-1, and other related names are Copyright Showtime Inc., SCI FI Channel and Metro-Goldwyn-Mayer Studios Inc.
Stargate, Stargate SG-1, Stargate Worlds and other related names are Trademarks of Metro-Goldwyn-Mayer Studios Inc.

All material on this website is for non-profit use and completely unofficial; please do not edit the contents of these files.