Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: de
Location: at home
Occupation:
Age: 33
In-game name:

 
#1 Posted at 2014-02-20 19:35        
     
Ladys and Gentleman
I want to show you my first try in creating a weapon for arma 2 CO, sorry guys for the bad textures but I am learning every day more and more, I hope to get the hang in texturing in the near future *TIRED*
I am open for constructive critic but lets see what I have got so far

http://tinypic.com/view.php?pic=24gu2b5&s=8#.UwZaQfl5P8d

http://tinypic.com/view.php?pic=wkis04&s=8#.UwZaT_l5P8d

http://tinypic.com/view.php?pic=zknwqh&s=8#.UwZaW_l5P8d

At that time I want to make that gun playable ingame, first I try to get it in as a sniper rifle for the first time to see how hard it is for me with the config.cpp the memory LOD with eye-, zbran-, and the two hlavne are done.
I hope that will be enough to test the gun ingame *OK*


Author Message


Posts: 685
Rank:


Level: Member

Country: nl
Location: Amsterdam
Occupation: IT nerd
Age: 40
In-game name: -=XTRA=-Larsiano

 
#2 Posted at 2014-02-21 02:35        
     
Nice model, the color in picture 3 looks best, dont worry about the texture at first, it must be real hard to make a functional model. Altough i cant help with configmodels i can help a little with a config.cpp and maybe some texture tips or help with PS technics (PM is always availale). When testing is required this i could also help with. Do you plan to make a unit aswell? Not sure if the "sharp rifles mod" was ever finished? Good luck!


Advertisement


Author Message


Posts: 73
Rank:


Level: Member

Country: uk
Location:
Occupation: bUM
Age:
In-game name: UK_SPAWN

 
#3 Posted at 2014-02-21 12:15        
     
Nice Work :)

using any basic config will make it work.

Here's the config for the alpha version of my space marines bolt gun.

class CfgPatches
{
class bolter //Change to your gun name
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"CAweapons"};
};



};
class CfgMagazines {
/*extern*/ class Default;
/*extern*/ class CA_Magazine;

class B_Mag: CA_Magazine {

ammo = "B_545x39_Ball"; //type of ammo bullet you want to use
count = 50; // amount of bullets in the mag
descriptionshort = "Bolt Gun Rounds"; //magazine description
displayname = "Bolter Mag"; //name of mag shown in game
intspeed = 900; //speed of rounds (think)
picture = "\bolter\Bolt_mag.paa"; //the image of the gun 128x128 paa for e.g.
Scope = 2; // dunno
tracersevery = 4; // how often a tracer is fired,

};
}
class Mode_SemiAuto //need this to say what kind of fire modes the gun has
{
displayName = $STR_DN_MODE_SEMIAUTO;
};
class Mode_Burst: Mode_SemiAuto
{
displayName = $STR_DN_MODE_BURST;
};
class Mode_FullAuto: Mode_SemiAuto
{
displayName = $STR_DN_MODE_FULLAUTO;
};
class cfgWeapons // heres where the gun is configs
{
class AK_74; //start with the gun you want it to be.
class Bolter: AK_74 // then name yourweapon as a type of the above.
{
model="\bolter\bolter"; //The directory of the model for the weapon
displayname="Bolt Gun"; //The display name ingame
descriptionshort = "Space Marine Bolter";
texture="Bolter\Bolter-UVtex.paa"; //!obvious
picture = "\bolter\Bolter_i.paa"; // as with magazine
magazines[] = {"30Rnd_545x39_AK","B_Mag"}; // what mags can the gun use, so the ones u made above.

class Single: Mode_SemiAuto //The semiautomatic firemode class
{
begin1[] = {"\bolter\bolt.wss",1.77828,1,1000}; //sound file, note its a wss (leave numbers alone)
soundBegin[] = {"begin1",1}; // leave alone unless you read up on it, relative to how many sounds and percentage chance to play that sound, so "begin1, 100%"

reloadTime = 0.2; //time between each round, not time to change clip
recoil = "recoil_single_primary_3outof10"; //change the number Xoutof10 to see the effect.

recoilProne = "recoil_single_primary_prone_3outof10"; //as above
dispersion = 0.00125; //bullet dispersion (dont touch)
minRange = 2;minRangeProbab = 0.3; //ai range and probablility
midRange = 300;midRangeProbab = 0.7;
maxRange = 600;maxRangeProbab = 0.04;
};
class Burst: Mode_Burst //same...
{
begin1[] = {"\bolter\bolt.wss",1.77828,1,1000};
soundBegin[] = {"begin1",1};
soundBurst = 0;
reloadTime = 0.2;
recoil = "recoil_auto_primary_3outof10";
recoilProne = "recoil_auto_primary_prone_3outof10";
dispersion = 0.00125;
minRange = 50;minRangeProbab = 0.3;
midRange = 200;midRangeProbab = 0.7;
maxRange = 500;maxRangeProbab = 0.05;
};
class FullAuto: Mode_FullAuto //you get it
{
begin1[] = {"\bolter\bolt.wss",1.77828,1,1000};
soundBegin[] = {"begin1",1};
reloadTime = 0.2;
recoil = "recoil_auto_primary_4outof10";
recoilProne = "recoil_auto_primary_prone_4outof10";
dispersion = 0.00125;
minRange = 0;minRangeProbab = 0.1;
midRange = 150;midRangeProbab = 0.7;
maxRange = 300;maxRangeProbab = 0.05;
};

};
};

to test the gun in-game, you don't need a model.cfg (i think you do for all parts to work and animate etc, but i dont have one yet and my gun works fine.)

so just do a config.cpp like above, but rename stuff to your own sounds/pictures/model etc and what weapon you want it based on changed. You can use the 6config browser or various other internet sites to find all the weapon and ammo classes etc, then you can make your own specific ammo clips, and all the rest.


BTW i would delite all my comments as you go, just in case they get in the way/mess it up.

hope you get your weapon in game.

Cheers,

UK_SPAWN

Author Message


Posts: 2
Rank:


Level: Member

Country: de
Location: at home
Occupation:
Age: 33
In-game name:

 
#4 Posted at 2014-02-22 18:53        
     
Guys I am speechless, first of all thanks for the positive feedback, I have got the gun ingame and working *YAHOO*
but without the help of M.turner it would have taken ages thanks alot m8, really you have saved me from hours of continuous headache, I think I really get the hang with these configs, I hope so :-)
But here is the result

http://tinypic.com/view.php?pic=2zthy4w&s=8#.UwjtJfl5P8c

http://tinypic.com/view.php?pic=j0a5j5&s=8#.UwjtQvl5P8c

http://tinypic.com/view.php?pic=350kiyw&s=8#.UwjtdPl5P8c

http://tinypic.com/view.php?pic=2a7vcxx&s=8#.Uwjthfl5P8c

Now it is time for some finetuning and config tweaks.
@ -=XTRA=-Larsiano I also thought about that, to do one union and one csa unit but I think I have to learn more m8, this was my first model i have created so far, and for the testing of course I will send you the files when I have made some tuning as said above thanks alot for your offer.

And a little preview for you all ;-) (more to come in a new thread)

http://tinypic.com/view.php?pic=9tzc03&s=8#.UwjyHPl5P8c


Author Message


Posts: 73
Rank:


Level: Member

Country: uk
Location:
Occupation: bUM
Age:
In-game name: UK_SPAWN

 
#5 Posted at 2014-02-22 19:40        
     
No worries, any time buddy.

Cheers,

UK_SPAWN