Home   Help Search Login Register  

Author Topic: weapons on ground  (Read 965 times)

0 Members and 1 Guest are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
weapons on ground
« on: 12 Feb 2003, 22:33:09 »
Hi! I know there have been many topics about this one but IÂ've never checked any of them except the name. So I did a search cause I rememberd a name of one of does topics (the name was, IÂ'm absolutley sure, "weapons lieing on ground") on "on ground" and I didnÂ't find a sh!t. That search thing is strange, I never find anything with it >:(. Anyway, to the Q:

How do you make a weapon lie on the ground? I tried to c if you could to it exactly as you do with buildings but it didnÂ't work. Plz help.

Thx in advance.

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:weapons on ground
« Reply #1 on: 12 Feb 2003, 22:48:05 »
You need to create a WeaponHolder and place it on the ground.  This is an invible object that just gives you a place to put ammo and weapons.

W1="weaponholder" createVehicle [x,z,y]

Note, as always, instead of x, z and y co-ordinates you can Getpos another object.

Then just addweapon cargo like you would an ammo crate.

W1 addWeaponCargo ["M16",1]
« Last Edit: 12 Feb 2003, 22:52:58 by [icarus_uk] »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:weapons on ground
« Reply #2 on: 12 Feb 2003, 23:10:50 »
 :D in addition to this:

say, ya put a weapon - a handgun - somewhere, then be sure to add the ammo before adding the weapon, and when you grab it, ya need to hit the "firing mode" button on yer keyboard, or else the gun will appear mag'less
(mag'less  ??? ;D lmao ).



empty, wuz it
« Last Edit: 12 Feb 2003, 23:11:27 by Tomb »

mcnils

  • Guest
Re:weapons on ground
« Reply #3 on: 13 Feb 2003, 04:06:17 »

I've done an example mission for this,
look at the editors depot under: script snippets/ammo & weapons.

there's my script - woohoo, lolz  :)

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:weapons on ground
« Reply #4 on: 13 Feb 2003, 14:04:20 »
thx :D! But when I put out a satchel charge the thing is invisible! Any ideas on what to do?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:weapons on ground
« Reply #5 on: 13 Feb 2003, 14:29:33 »
Because you can just put a satchel charge on the ground on its own without a weapon holder.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:weapons on ground
« Reply #6 on: 13 Feb 2003, 15:18:26 »
what do you mean? I use the weapon holder command. :help:

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:weapons on ground
« Reply #7 on: 13 Feb 2003, 15:58:27 »
If you want a satchel charge on the ground, just camcreate one and put it on the floor.  You dont need a weaponholder for a satchel.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:weapons on ground
« Reply #8 on: 13 Feb 2003, 16:06:04 »
oh, I missread your post. Sorry.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:weapons on ground
« Reply #9 on: 13 Feb 2003, 16:10:41 »
*TOPIC SOLVED AND LOCKED*