SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
For my map that i am making, 4 human or Ai players start out with 1 Overlord tank.

The 5th player ( skirmish GLA) is the enemy. Their units are spawned around the map at a certain time.

I cannot get the "enemy" to attack the human/Ai players, they just sit there.

Same thing with players 1-4.

How can i get the Ai to automatically attack the "enemy" (and vise versa) when they spawn?

Thanks in advance.
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

Sponsor
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
Hello?
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

thebunnybruce
13 years ago
Hi there, I'm not sure how to help with that, but I can tell you that any time you add script to any scirmish ai other than the civi side, all other ai controled side stop working normaly and do nothing. Most likely you will need to edite each and every sides scripts to get them to work... I think that will be a huge task indeed!
I'm not as cute as I look!
I'm still learning!
i^love^mixery
13 years ago
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
okay.   Overlord Quest Online.zip (86kb) downloaded 26 time(s).
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
works fine for me.

maybe when you create a game with the map you forget to put in the GLA computer player as enemy and/or into lobby slot 5?
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
The only problem is, can the players 1-4 hunt the "enemy" as well?

I would like this because people who cannot play online can have an ally to play with.
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
oh wait..

you are talking about computer controlled allies?

thats not possible in an easy way. you would have to script them entirely by yourself.

you COULD make it so that a player gets all the overlords tanks if he is alone.
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago

thats not possible in an easy way. you would have to script them entirely by yourself.

Originally Posted by: i^love^mixery 



So, how do i do that?

you COULD make it so that a player gets all the overlords tanks if he is alone.

Originally Posted by: i^love^mixery 



Hmm, i never thought of that, it would be better, since the AI would go directly towards the target, instead of staying in a group (which is a good strategy for this map).

I think i will go with that idea, how do we start?


UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
...
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
Can anyone help please?
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
seems like you are not even going to try to get it done by yourself, are you? i hoped you would at least try it but meh

so what do you want to do now?

transfer the units to other human players or get the AI to work as teammates?

SUPER-G (beware cocky fuke rage sentence ahead) you are not going to get anywhere unless you show at least a little self-initiative. a time will come when you are on your own and you have to get things done by yourself. i know its a very fine service when you just have to ask me and i will script basically anything for you but as i said: this wont get you anywhere and is quite boring for me too ๐Ÿ˜‰

it is a good and important step for you to try to create more and more difficult things in your maps but the problem is you are not the one who is taking the burden.
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago

transfer the units to other human players or get the AI to work as teammates?

Originally Posted by: i^love^mixery 



I think it would be better to transfer all the units to the main player offline, but online (if there are 4 human players) they each get an overlord.

for example: I am playing OQ2 offline, instead of me having 1 overlord tank and the other 3 being controlled by the AI or being neutral, the would get transfered to me (aka player_0)


As for me not taking self-initiative, your'e right, i should do more scripting by myself. For awhile i have been playing other games, i would just come log on here a couple of times, and i havent touched OQ2 for a week, but i totally understand๐Ÿ˜„

PS: Do you think that im pretty demanding?
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago

PS: Do you think that im pretty demanding?

Originally Posted by: SUPER-G 



yes but i know no kids who are not๐Ÿ˜๐Ÿ‘

๐Ÿ˜›


so well..

now this map does the following:

Does player0 exist?
Yes -> Transfer Overlord 1 to player0
No -> (nothing, because he should exist since he is the host)

Does player1 exist?
Yes -> Transfer Overlord 2 to player1
No -> Transfer Overlord 2 to player0

Does player2 exist?
Yes -> Transfer Overlord 3 to player2
No -> Transfer Overlord 3 to player0

Does player3 exist?
Yes -> Transfer Overlord 4 to player3
No -> Transfer Overlord 4 to player0


yes its that simple.

by the way: works in multiplayer too if 1 or 2 or 3 players are missing. the host gets the missing tanks.   Overlord Quest Online Fix.zip (87kb) downloaded 9 time(s).
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
The world builder "stops working" when i try to load it ๐Ÿ˜ฎ
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
meh... you need zero hour for the script condition.

i used a more simple script condition in this version. hopefully generals knows it.   Overlord Quest Online Fix Fix.zip (86kb) downloaded 8 time(s).
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
It still shows the error...
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
meh.. buy zero hour then.
SUPER-G
  • SUPER-G
  • 59.75% (Neutral)
  • Colonel Topic Starter
13 years ago
Christmas.

However, could you please post of what the script looks like?
or is it just like the one you already showed me.
thanks๐Ÿ˜„
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
script 1
default settings
*** IF ***
    True.
*** THEN ***
  Set timer 'start' to expire in 0.10 seconds.

script 2
default settings
*** IF ***
    Timer 'start' has expired.
*** THEN ***
  Enable Script 'player0 tank'.
  Enable Script 'player1 tank'.
  Enable Script 'player2 tank'.
  Enable Script 'player3 tank'.

script 'player0 tank'
deactivated
*** IF ***
    [???] Player 'player0' has units in  area 'game'.
*** THEN ***
  [???] Unit 'Overlord_1' is transferred to the command of Player 'player0'


script 'player1 tank'
deactivated
*** IF ***
    [???] Player 'player1' has units in  area 'game'.
*** THEN ***
  [???] Unit 'Overlord_2' is transferred to the command of Player 'player1'
*** ELSE ***
   Unit 'Overlord_2' is transferred to the command of Player 'player0'

script 'player2 tank'
deactivated
*** IF ***
    [???] Player 'player2' has units in  area 'game'.
*** THEN ***
  [???] Unit 'Overlord_3' is transferred to the command of Player 'player2'
*** ELSE ***
   Unit 'Overlord_3' is transferred to the command of Player 'player0'

script 'player3 tank'
deactivated
*** IF ***
    [???] Player 'player3' has units in  area 'game'.
*** THEN ***
  [???] Unit 'Overlord_4' is transferred to the command of Player 'player3'
*** ELSE ***
   Unit 'Overlord_4' is transferred to the command of Player 'player0'


the trigger area 'game' has to be created by you and should cover the entire map.