OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: exigent on 08 Aug 2004, 21:39:45
-
Ok say if i have this gun addon, and this unit addon and i want the gun addon to be used with the unit addon?
For example, i have this desert Seal unit and this M249 MG, i want the M249 to be used in the seal unit because the M249 is for the defualt infranty and i dont like it the defualt infantry lol. So is there a way? Like editing the config file? If so can somone please tell me how? :D
Thanks in advance.
-
go into the units config file and look for a thing that says weapons.
now change whatever primary weapon he has to the M249
then go to magazines and add the M249 mags replacing the primary mags.
-
Hummmmmmmm i'm so confused lol, i'm not that kinda guy that works with this scripting stuff lmfao. So can you please like show me where? I can't attach but do you mean this?
class SoldierWMG:SoldierWB{};
class bibsealdesmg:SoldierWMG
{
displayName="BIB SEAL (desert) M60 Gunner";
model="\bibsealdes\bibsealdeshat"
weapons[]={"M60","NVGoggles","Throw","Put"};
magazines[]={"M60","M60","M60","M60","M60"};
accuracy=2.750000;
sensitivity=2;
camouflage=0.750000;
threat[]={1,0.500000,0.100000};
nightVision=1;
Thats the one for the Navy Seal MG.
Also can i keep the orginal MG (with the m60) and add another one with a M249? ???
-
class SoldierWMG:SoldierWB{};
class bibsealdesmg:SoldierWMG
{
displayName="BIB SEAL (desert) M60 Gunner";
model="\bibsealdes\bibsealdeshat"
weapons[]={"M60","NVGoggles","Throw","Put"};
magazines[]={"M60","M60","M60","M60","M60"};
accuracy=2.750000;
sensitivity=2;
camouflage=0.750000;
threat[]={1,0.500000,0.100000};
nightVision=1;
Thats the one for the Navy Seal MG.
Also can i keep the orginal MG (with the m60) and add another one with a M249?
Okay, first you need to know the class name of the M249.... without it I can't help you. You'll also need the class names for the magazines...
class SoldierWMG:SoldierWB{};
class bibsealdesmg:SoldierWMG
{
displayName="BIB SEAL (desert) M60 Gunner";
model="\bibsealdes\bibsealdeshat"
weapons[]={"M60","NVGoggles","Throw","Put"};
magazines[]={"M60","M60","M60","M60","M60"};
accuracy=2.750000;
sensitivity=2;
camouflage=0.750000;
threat[]={1,0.500000,0.100000};
nightVision=1;
}
class bibsealdesmg249:SoldierWMG
{
displayName="BIB SEAL (desert) M249 Gunner";
model="\bibsealdes\bibsealdeshat"
weapons[]={"classnamehere","NVGoggles","Throw","Put"};
magazines[]={"magclassnamehere","magclassnamehere","magclassnamehere","magclassnamehere","magclassnamehere"};
accuracy=2.750000;
sensitivity=2;
camouflage=0.750000;
threat[]={1,0.500000,0.100000};
nightVision=1;
}
I think that will work... but no promises there...
-
Ok i added a M249 gunner, but i also want M60 gunner, can someone please tell me how i would do this? So i have 2 navy seals one with a M60 and another with a M249?
Also i want everyone on the team to have 3 grenades how would i do this?
Also i want my M249 and M60 Soldier to have a LAW Launcher how would i do this?
Thanks for the help. :D
-
Machinegunners can carry a machinegun OR a Law launcher, but not both.
You might have to rethink that a little bit.
Planck
-
I thaught they can because i download this MG addon (but i don't like the gun) with the soldier carrying a FN Minimi or something like that + a RPG or LAW can't remeber i still have it lol.
-
I thaught they can because i download this MG addon (but i don't like the gun) with the soldier carrying a FN Minimi or something like that + a RPG or LAW can't remeber i still have it lol.
thats because the person who made the addon probably set the Minimi as a rifle class insted of a MG. If you carry an MG in flahpoint you can't have a LAW.
-
O ok, thanks for the info. O can you teach me how i would add 2 MG's? O and if i wanted grenades to people would i use the code "Handgrenade"?
-
Ok i got another problem lol, when ever i choose Groups>BIB Seals
The game shuts down? Can someone help me please? The changes i made to the config file were i added grenades to every one, and a law to the medic and assitant patroal leader. And i changed the Mg back to the M60 not the M249,
When i choose them sepertally (like one by on) everything works fine, so can someone please help me?
When i choose them all together seperatly (like one by one all of them together) it still shuts down? (There 8 seals 2 of them are MG's and i even choose 7 seals with one MG and it still shut down, and then i choose 8 seals with 2 MG's and it still shut down, can somone) lol i messed up :P.
***EDIT*** Ok i fixed it but i had to take away the nades and law launchers :'( Is there a way i dont have to take those away?
-
Medics can't carry Law launchers........sorry.
Nor can they carry machineguns.
Planck
-
Ya but i took away the LAW's from everyone and it was the same thing. Then when i took away the nades it went back to normal. Maybe it's a problem with the nades lol, well i'll try it again tomorrow morning.
-
Ya but i took away the LAW's from everyone and it was the same thing. Then when i took away the nades it went back to normal. Maybe it's a problem with the nades lol, well i'll try it again tomorrow morning.
you are probabaly going over the units ammo/weapon carrying limit
-
You mean like the whole unit's limit? Because when i choose the soldiers by them self it works fine. ???
-
Can somone please tell me how i would add 2 diffrent machine gunners on one squad? :)