Home   Help Search Login Register  

Author Topic: Config file editing for...  (Read 2722 times)

0 Members and 1 Guest are viewing this topic.

exigent

  • Guest
Config file editing for...
« 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.

Ice Man 3:16

  • Guest
Re:Config file editing for...
« Reply #1 on: 09 Aug 2004, 01:32:04 »
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.

exigent

  • Guest
Re:Config file editing for...
« Reply #2 on: 09 Aug 2004, 03:10:31 »
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? ???

Homefry31464

  • Guest
Re:Config file editing for...
« Reply #3 on: 09 Aug 2004, 05:16:31 »
Quote
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...

Code: [Select]
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...

exigent

  • Guest
Re:Config file editing for...
« Reply #4 on: 09 Aug 2004, 16:59:16 »
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

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Config file editing for...
« Reply #5 on: 09 Aug 2004, 20:29:25 »
Machinegunners can carry a machinegun OR a Law launcher, but not both.

You might have to rethink that a little bit.


Planck
I know a little about a lot, and a lot about a little.

exigent

  • Guest
Re:Config file editing for...
« Reply #6 on: 09 Aug 2004, 20:37:26 »
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.

Ice Man 3:16

  • Guest
Re:Config file editing for...
« Reply #7 on: 09 Aug 2004, 21:43:52 »
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.

exigent

  • Guest
Re:Config file editing for...
« Reply #8 on: 09 Aug 2004, 21:59:47 »
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"?

exigent

  • Guest
Re:Config file editing for...
« Reply #9 on: 10 Aug 2004, 02:03:57 »
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?
« Last Edit: 10 Aug 2004, 02:22:36 by exigent »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Config file editing for...
« Reply #10 on: 10 Aug 2004, 02:28:42 »
Medics can't carry Law launchers........sorry.

Nor can they carry machineguns.


Planck
« Last Edit: 10 Aug 2004, 02:31:49 by Planck »
I know a little about a lot, and a lot about a little.

exigent

  • Guest
Re:Config file editing for...
« Reply #11 on: 10 Aug 2004, 02:51:04 »
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.

Offline oyman

  • Members
  • *
  • king of pings
Re:Config file editing for...
« Reply #12 on: 10 Aug 2004, 03:46:10 »
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

exigent

  • Guest
Re:Config file editing for...
« Reply #13 on: 10 Aug 2004, 03:53:14 »
You mean like the whole unit's limit? Because when i choose the soldiers by them self it works fine. ???

exigent

  • Guest
Re:Config file editing for...
« Reply #14 on: 11 Aug 2004, 17:12:53 »
Can somone please tell me how i would add 2 diffrent machine gunners on one squad? :)
« Last Edit: 11 Aug 2004, 17:13:28 by exigent »