Home   Help Search Login Register  

Author Topic: A Question about capturing enemys in mp  (Read 1137 times)

0 Members and 1 Guest are viewing this topic.

Offline smileynick

  • Members
  • *
  • i am smiley nick
A Question about capturing enemys in mp
« on: 29 Sep 2004, 20:45:18 »
is it possibe to capture a enemy useing some sort of script whilst in mp mode?

if so how would i go about making it, i would like general guba to be captured if the player gets near enough, can there be a option in the command box to click capture guba. thing is i dont want guba killing everyone if he is the last man, is this possible?

this is for 1.46 btw

also i belive on the last mission of the cwc campaign you had to capture guba, i have upbo'd it but i cant figure what bits to use ect


if so could you please let me know


many thanks


Smiley
« Last Edit: 29 Sep 2004, 20:56:27 by smileynick »
ng

Uldics

  • Guest
Re:A Question about capturing enemys in mp
« Reply #1 on: 30 Sep 2004, 11:39:58 »
It could be done with for example using the addaction "Capture" when:
1. You are some 0-3 m behind the enemy
    Needs to detect the enemy look direction or weapon pointing direction
2. You are some 0-3 m from the enemy and he is reloading or not having a gun ready to shoot or not having a gun at all
    Needs to detect those states

After pressing the "Capture" action the enemy would automatically drop the weapon and get added in your groop. If he is not doing what you say, you can press another action "give dammage" or something, where he automatically "hits the dirt" and gets some 30 % dammage. If he dies now, he gets a wait for spawn penalty.

That's the way I would try to do it if I had time.

Offline smileynick

  • Members
  • *
  • i am smiley nick
Re:A Question about capturing enemys in mp
« Reply #2 on: 30 Sep 2004, 11:47:32 »
yes that souds exactaly what i would like, but i am not a advanced scripter, i know the basics, if anyone could please help if you have 5 min to write a script at all?
full credits given in the mission.


many thanks


Smiley
ng