Home   Help Search Login Register  

Author Topic: Find & Take weapon/ammo from dead soldier  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Offline Arctic

  • Members
  • *
  • In Utero
Find & Take weapon/ammo from dead soldier
« on: 01 Apr 2003, 01:28:04 »
In the real world (i think) soldiers would run and try to find ammo or spare weapons if their weapon becomes broken or they run out of ammo.

I know the player can order his groupmates to get more ammo or take/drop a weapon, but an AI group can't (I don't think) take/drop ammo or weapons w/o a script.

Here are the things I think this script or function should do:

1)Check and see how much ammo a unit has
2)If the unit is low on ammo or is out of ammo, it will make the unit search for more ammo of the same gun type.
3)If the ammo can't b found from a certain distance, then the unit will try and grab a different weapon and/or its ammo.
4) (?)If no ammo or weapon can be found, the unit will head to a safe spot or have a surrendering action.

I tried to look at other things such as Toadlife's script for the captive in OpLojack 2, but I am just overwhelmed by the amount of scripting needed.  :-\

::help::

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Find & Take weapon/ammo from dead soldier
« Reply #1 on: 01 Apr 2003, 07:13:19 »
toady made dat script based on ma work (not exactly but i gave him da idea nd da command ;));D

(wat im trin 2 say is dat i already made da script dat u want ;D)

but i cant post it here cuz gameer want it 2 b realsed only after NPD2 but u can ask him 2 send it 2 u ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Arctic

  • Members
  • *
  • In Utero
Re:Find & Take weapon/ammo from dead soldier
« Reply #2 on: 01 Apr 2003, 15:24:30 »
O sweet!  ;D