If self is attacking - is attacking enemy

pier4r
Skynet
Skynet
Posts: 3389

If self is attacking - is attacking enemy

Post#1 » 20 Jan 2017, 09:43

What is the difference between those two conditions for the target self?
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: If self is attacking - is attacking enemy

Post#2 » 20 Jan 2017, 10:48

None actually. I'll remove the second one for self.

User avatar
Uthael
Script
Script
Posts: 28

Re: If self is attacking - is attacking enemy

Post#3 » 21 Feb 2017, 21:33

Don't delete it from the code though... We might be attacking bases, turrets, resources, barricades or something else some day.

"If attacking anything" is the same as "if attacking enemy" only in the current version of the game, on the current maps and gamemodes.

Edit: Will that cause any changes in our current AIs or will the AIs auto-adjust?
<extra fancy signature>

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: If self is attacking - is attacking enemy

Post#4 » 21 Feb 2017, 21:54

I'll restore it the day we can attack something else than enemies.
It won't affect the AIs using it.

harthag
Automaton
Automaton
Posts: 197

Re: If self is attacking - is attacking enemy

Post#5 » 21 Feb 2017, 21:59

Uthael wrote:... We might be attacking ... resources ... some day.

:lol:
That's exactly the kind of strategy I would use, if it were possible ... grab one resource, score it, blow up all the others ... WIN
:D

User avatar
Uthael
Script
Script
Posts: 28

Re: If self is attacking - is attacking enemy

Post#6 » 21 Feb 2017, 22:51

harthag wrote:
Uthael wrote:... We might be attacking ... resources ... some day.

:lol:
That's exactly the kind of strategy I would use, if it were possible ... grab one resource, score it, blow up all the others ... WIN
:D

Naaah, that would be too simple!

Well, in the current gamemode, we'd probably get resource count, score count for each team and could count bots carrying resources. And for the purpose of destroying them, they could be renamed and remoddeled to "bot cores" with shield and health (or whatever fits the story).

And what if they were knocked away more the stronger your shot was? And you end up helping the enemy if you attack them mindlessly? xD

Edit: GFX, thanks for the clarification!
<extra fancy signature>

harthag
Automaton
Automaton
Posts: 197

Re: If self is attacking - is attacking enemy

Post#7 » 22 Feb 2017, 02:39

Uthael wrote:Naaah, that would be too simple!
Never underestimate the power of simple ! Just ask the current top score player, nullpointer aka t-800 how many AIs he uses to stay so high ranked ...

User avatar
Uthael
Script
Script
Posts: 28

Re: If self is attacking - is attacking enemy

Post#8 » 22 Feb 2017, 12:06

I noticed. Played against him a few times. No victories. Not even draws.

Gotta work on my single AI I use more. I know some stuff what I'd write, but I'm too lazy. Better to hang on the forums xD

... Over 90% win rate. He plays more matches in 1-2 days than I played altogether. A lot of material to learn from.
<extra fancy signature>

pier4r
Skynet
Skynet
Posts: 3389

Re: If self is attacking - is attacking enemy

Post#9 » 22 Feb 2017, 13:38

harthag wrote:
Uthael wrote:Naaah, that would be too simple!
Never underestimate the power of simple ! Just ask the current top score player, nullpointer aka t-800 how many AIs he uses to stay so high ranked ...


On telegram (chat) there is a video of how many subprograms he used before. Like, dunno, 100+ ?
Last edited by pier4r on 23 Feb 2017, 12:55, edited 1 time in total.
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

User avatar
NullPointer
Autonomous Entity
Autonomous Entity
Posts: 539

Re: If self is attacking - is attacking enemy

Post#10 » 23 Feb 2017, 12:44

I think it was ~150. To put this experience in a few words:

Using too many specialised AIs is effective but not efficient.
Using only 1 AI is efficient but not as effective.

Effective -> producing a result that is wanted.
Efficient -> capable of producing desired results without wasting materials, time, or energy.

pier4r
Skynet
Skynet
Posts: 3389

Re: If self is attacking - is attacking enemy

Post#11 » 23 Feb 2017, 12:56

I would add:

NullPointer wrote:Using only 1 AI is efficient but not as effective.


And it is way more fun, and playing games is about having fun.
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

User avatar
NullPointer
Autonomous Entity
Autonomous Entity
Posts: 539

Re: If self is attacking - is attacking enemy

Post#12 » 23 Feb 2017, 16:04

pier4r wrote:And it is way more fun, and playing games is about having fun.


Yes, a lot more fun. I can't sustain the same losing ratio, but it's definitely more fun.
And the thrill of seeing how your AI behaves in a randomly generated map will make me play this game even more.

harthag
Automaton
Automaton
Posts: 197

Re: If self is attacking - is attacking enemy

Post#13 » 23 Feb 2017, 17:54

NullPointer wrote:And the thrill of seeing how your AI behaves in a randomly generated map will make me play this game even more.

YES !

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: If self is attacking - is attacking enemy

Post#14 » 23 Feb 2017, 18:26

I have only one generic AI. I'll rule Random Maps. 8-)
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

mcompany
Autonomous Entity
Autonomous Entity
Posts: 872

Re: If self is attacking - is attacking enemy

Post#15 » 23 Feb 2017, 18:30

Does it count if I have one AI per class that is called from a central AI... Because if so, both me and t800 only has one AI

pier4r
Skynet
Skynet
Posts: 3389

Re: If self is attacking - is attacking enemy

Post#16 » 23 Feb 2017, 19:55

It is the same ai at the end. I do not have strictly one ai. I can make a subtree calling the ai according to the bot but still I have a couple of decorators.
http://www.reddit.com/r/Gladiabots/wiki/players/pier4r_nvidia_shield_k1 -> Gladiabots CHAT, stats, insights and more ;

Return to “Questions”

Who is online

Users browsing this forum: No registered users and 2 guests