Author Topic: Satchel Spawn Script? Umm you know the script Kit when you can get  (Read 1709 times)

0 Members and 1 Guest are viewing this topic.

Fishgun123

  • Online Villain
  • ***
  • Posts: 223
    • View Profile
You know the kit where you can get GPS, lockpcisk etc.. how do i add SATCHEL charges to the item e.g plastid

Fishgun123

  • Online Villain
  • ***
  • Posts: 223
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #1 on: April 10, 2012, 06:10:13 pm »
Also the rpg thing caleld  A strela?

Csimami

  • Cheater Apprentice
  • *
  • Posts: 15
  • Beginner on scripting :)
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #2 on: April 10, 2012, 07:44:57 pm »
You mean how to add more weapons to your script?

To add weapons use:
Code: [Select]
player addweapon "WEAPONNAMEHERE"And if you want to add Magazines use:
Code: [Select]
player addmagazine "MAGAZINENAMEHERE"
Weapon names can you find here:
http://www.armatechsquad.com/ArmA2Class151656165165341654165165165165f/index.php

All credits are going again to jooping
« Last Edit: April 11, 2012, 06:25:03 pm by Csimami »

Fishgun123

  • Online Villain
  • ***
  • Posts: 223
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #3 on: April 10, 2012, 10:14:10 pm »
ok 2 THINGS! THE LINK doesnt work.. saids something about needs permission!

second thing is do u know what it is on a cheranus life server for a

STRELA AA MANpad??

spartacus

  • Intentional Cheater
  • **
  • Posts: 30
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #4 on: April 11, 2012, 09:34:33 pm »
It doesn't matter what server you are on, the classname is the same.

http://community.bistudio.com/wiki/ArmA_2:_Weapons

http://browser.six-projects.net/cfg_weapons/tree

Fishgun123

  • Online Villain
  • ***
  • Posts: 223
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #5 on: April 11, 2012, 09:40:27 pm »
Thanks

joopig

  • Insane Joker
  • ****
  • Posts: 602
    • View Profile
    • A Place Of Dreams
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #6 on: April 11, 2012, 09:56:50 pm »
Code: [Select]
hint "Adding Life Loadout";

['reparaturkit',5] call INV_AddInventoryItem;  // Large Repair Kit
['kanister',5] call INV_AddInventoryItem;  // Refuel Kit
['medikit',5] call INV_AddInventoryItem;  // MedKit
['lockpick',10] call INV_AddInventoryItem;  //  LockPick

vehicle player addweapon "ItemGPS";
vehicle player addWeapon "NVGoggles";
vehicle player addWeapon "Binocular";

joopig

  • Insane Joker
  • ****
  • Posts: 602
    • View Profile
    • A Place Of Dreams
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #7 on: April 11, 2012, 09:58:40 pm »
Code: [Select]
player addmagazine "PipeBomb"; // Satchel Charge

Fishgun123

  • Online Villain
  • ***
  • Posts: 223
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #8 on: April 11, 2012, 10:14:04 pm »
How do i make it just be single. like... instead of adding it to kit i want it to be a seperate script!

just Satchel charge?

ive made the file is it the same code becuase ia dded it to badger etc.. i know how to do that but when i do it ,it doesnt add..

it did before but now now

joopig

  • Insane Joker
  • ****
  • Posts: 602
    • View Profile
    • A Place Of Dreams
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #9 on: April 11, 2012, 10:17:06 pm »
Separate each line for the individual item.

Fishgun123

  • Online Villain
  • ***
  • Posts: 223
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #10 on: April 11, 2012, 10:30:42 pm »
Seperate which lines, I'm lost!

Also for the strela! i got the weapon working but when i do addmagazine etc then M_Strela_AA it dont give me no ammo.

some guy told me to go here..

http://community.bistudio.com/wiki/ArmA_2:_Weapons

Fishgun123

  • Online Villain
  • ***
  • Posts: 223
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #11 on: April 11, 2012, 10:38:20 pm »
I also put this:


hint "m9 added";

player addWeapon "M9"

player addmagazine "15Rnd_9x19_M9SD";

Exit


IT GIVES ME THE M9! BUT NOT THE AMMO!

XJ

  • Online Villain
  • ***
  • Posts: 246
  • Find what you love and let it kill you.
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #12 on: April 12, 2012, 03:33:14 am »
Seperate which lines, I'm lost!

Also for the strela! i got the weapon working but when i do addmagazine etc then M_Strela_AA it dont give me no ammo.

some guy told me to go here..

http://community.bistudio.com/wiki/ArmA_2:_Weapons

That's because M_Strela_AA is the rocket itself. You need the magazine that loads the rocket in the weapon, which is called "Strela" too. So you do
Code: [Select]
player addWeapon "Strela";
player addMagazine "Strela";

i mss old ofp

  • Insane Joker
  • ****
  • Posts: 982
  • i love the fact that you hate me.
    • View Profile
    • TKC
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #13 on: April 12, 2012, 04:35:14 am »
titletext ["you got c4","plain down"];
player addWeapon ("Put");
player addMagazine ("PipeBomb");  
player addMagazine ("PipeBomb");
player addMagazine ("PipeBomb");  
player addMagazine ("PipeBomb");



this is just for c4 basic code, it works the same with anything.

player addWeapon "M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
exit;

see, difrent ways to add code ,works the same , theres alot a ways to work this.
« Last Edit: April 12, 2012, 04:44:11 am by i mss old ofp »
692063616E206C6F616420612070626F6F6E2074686520666C79206C6D616F00

the joke is you!!!!

Gerk

  • Klass Klown
  • ***
  • Posts: 377
    • View Profile
Re: Satchel Spawn Script? Umm you know the script Kit when you can get
« Reply #14 on: April 12, 2012, 05:20:20 am »
titletext ["you got c4","plain down"];
player addWeapon ("Put");
player addMagazine ("PipeBomb"); 
player addMagazine ("PipeBomb");
player addMagazine ("PipeBomb"); 
player addMagazine ("PipeBomb");



this is just for c4 basic code, it works the same with anything.

player addWeapon "M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
player addMagazine "15Rnd_9x19_M9";
exit;

see, difrent ways to add code ,works the same , theres alot a ways to work this.
1. exit command is used only in sqs syntax and is ignored in sqf.
2. addWeapon command should go after addMagazine or you'll get unloaded weapon and you'll have to reload it.
3. It's too primitive to add 8 strings of addMagazine, those 8 lines can be replaced with one and it will still add 8 clips.

No offense but this code looks like it was written by 6 years old kid or by a guy with low IQ or a guy who's IQ is equal to 6 years old kid lol
Just curious, if I'll need 20 magazines does it mean that I'll have to add 20 strings of the same command? LOL!
« Last Edit: April 12, 2012, 05:58:51 am by Gerk »