Home   Help Search Login Register  

Author Topic: taking control of AI?  (Read 1204 times)

0 Members and 1 Guest are viewing this topic.

GenmanipulationKlo

  • Guest
taking control of AI?
« on: 06 Oct 2002, 00:43:48 »
is it possible to take control of an AI in mid-game?
something like: I am a infantryman and want to change to a tankcrew. after the change the infantryman is controled by AI and I control the crewman... ??? ???

asmodeus

  • Guest
Re:taking control of AI?
« Reply #1 on: 06 Oct 2002, 01:19:56 »
Hey!

I've seen this asked before and the definitive answer is always:  "not in single player"...   :-\

I'm not even sure you could accomsplish this in multiplayer!  As far as I know, in multiplayer you have the option to "respawn", but that's only if you die.   ::)   :P

Prove me wrong someone!  I love it when that happens!  (otherwise..  hope this helps some!)   ;)

Asmo

walker

  • Guest
Re:taking control of AI?
« Reply #2 on: 06 Oct 2002, 02:23:03 »
Nope sorry so far in single player you got the one life you die for real in OFP this is not Cheater Strike or Quake.

But you can control more than one squad and you can switch to controling a different squad via join and lead.

We are working on some of these aspects at CoC but so far no joy.

You can switch to being in a tank crew any level already in the game Just dont get killed of course your uniform wont change but hey stop being such a narsasist  ;D

Lots of this is standard functions in the Command Engine

http://www.thechainofcommand.com/graphic/
and downloads
http://www.forum.thechainofcommand.net/

kind Regards walker

Baphomet

  • Guest
Re:taking control of AI?
« Reply #3 on: 06 Oct 2002, 08:14:03 »


     Is there a way to allow for switching control of multiple squads without the use of scripts? Or at least ones that aren't really complicated? The sort that you don't have to specifically code for one scenario that can be used in any given one?


     One thing I've noticed is that continuously running scripts usually take up a fair amount of cpu usage. Especially ones that repeatedly check for the state of something in short intervals.


GenmanipulationKlo

  • Guest
Re:taking control of AI?
« Reply #4 on: 06 Oct 2002, 15:38:57 »
ok thanks
 new try:
is it possible to have more then one respawn mode?
like respawn in next soldier in group, if group is all dead respawn at respawnpoint...

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:taking control of AI?
« Reply #5 on: 06 Oct 2002, 16:30:31 »
@ Baphomet

not exactly - da trigs takes mor cpu cuz OFP runs em @ top priority - da scripts run on lower priority dan da trigs  ;D

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

walker

  • Guest
Re:taking control of AI?
« Reply #6 on: 06 Oct 2002, 22:30:01 »
Quote
ok thanks
new try:
is it possible to have more then one respawn mode?
like respawn in next soldier in group, if group is all dead respawn at respawnpoint...

Same question asked a different way; equals same answer. No player respawn in single play up to version 1.76.

Why do you want to be reincarnated?

Kind Regards Walker

GenmanipulationKlo

  • Guest
Re:taking control of AI?
« Reply #7 on: 06 Oct 2002, 22:46:28 »
thanks anyway

I now worked me around the respawn problem with a script and respawn = 3, respawndelay = +30min(game will be over since then). When I die I get the position, direction and equipment of the next man in my group. The man will die and take my position and my equipment. when the group is completly destroyed I "respawn" me and my group at my respawnpoint by setpos and so on...

Problem with this is the uniform that I can't change (medic to sniper), so all are same uniform...
second problem is that when I setdamage 0 myself the enemy those not shoot at my anymore, even if I killone of them...
trying to find that in the forums at the moment.

when you know what I have to do to get killed regularly by the enemy again please tell me