Author Topic: Trying to Improve Combat Intelligence..  (Read 2066 times)

Solifugus

  • Guest
Trying to Improve Combat Intelligence..
« on: 5 March 2008, 00:55:00 »
Where should I add code to react based on seeing enemy?

I want to do two things:

  1.  Always use the attack skill with the closest range that can hit the enemy.
  2.  Run away is outnumbered 3 to 1 or more.

Maybe in Unit::updateTarget() ??   Where does it react to seeing an enemy now?  I cannot seem to find that spot.
« Last Edit: 1 January 1970, 00:00:00 by Solifugus »

Duke

  • Guest
(No subject)
« Reply #1 on: 5 March 2008, 12:00:12 »
Daniel.santos is working on Nr. 1 for GAP.

maybe ask him.
« Last Edit: 1 January 1970, 00:00:00 by Duke »

Solifugus

  • Guest
How might I contact him?
« Reply #2 on: 5 March 2008, 16:56:03 »
Yes--I've heard that name before, but don't know how to contact him.  Actually, I don't know how to contact any of the Glest developers except perhaps by means of this board--if they happen to see my posts.
« Last Edit: 1 January 1970, 00:00:00 by Solifugus »

orion

  • Guest
(No subject)
« Reply #3 on: 5 March 2008, 17:08:05 »
Daniel.Santos isn't one of the Glest Team Developers; he is a mod developer who has been working on the GAE (Glest Advanced Engine). To contact him, all you have to do is post your problem on the topic call "Four Path Magitech" in the mods category of the board.
« Last Edit: 1 January 1970, 00:00:00 by orion »

Duke

  • Guest
(No subject)
« Reply #4 on: 5 March 2008, 17:16:08 »
well, this forum supports personal messages (as most do actually).
« Last Edit: 1 January 1970, 00:00:00 by Duke »

orion

  • Guest
(No subject)
« Reply #5 on: 7 March 2008, 01:43:13 »
Quote
well, this forum supports personal messages (as most do actually).


That too :D
« Last Edit: 1 January 1970, 00:00:00 by orion »

KyuubiNaruto

  • Guest
(No subject)
« Reply #6 on: 7 March 2008, 03:17:54 »
umm i do know some stuff but i don't know if it will help you


for a game i've played you'd have to input a command like

    {on:hit,
                 ;script, "blahblah" 0,0,0,0

             ;  end,
        i-;   end,
       ;  end,


well w/e it went someting like that

i've never tried to input a script command into glest so idk but the skills that the units use in glest is that which ever skill is input first they use

also i think you'd have to put something to make it check if it is land or air and if they are both the same do something like a ratio........w/e that is
« Last Edit: 1 January 1970, 00:00:00 by KyuubiNaruto »