AI CONTEST #1 | July 3rd - July 19th

Status
Not open for further replies.

Monovertex

Formerly Smith_S9
Reaction score
1,461
Awesome, thanks. And for what I want to do, if he wouldn't be in my sight, I could care less if the enemy starts casting spells.
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
May we use a trigger like this?
Trigger:
  • Put Spell
    • Events
      • Unit - A unit gain a level
    • Condition
      • Is (Leveling unit) our hero
    • Actions
      • Hero - Hero learn skill (Triggering unit) XX
 

Jesus4Lyf

Good Idea™
Reaction score
397
Visible as in... IsUnitInRange based on 800/1800 IS BANNABLE.

And IsUnitVisible(GetFilterUnit(), udg_player) IS NOT. :thup:

Please change first post. Lol. :)

@Blitz: Yes.

Also in first post: "in the sight range of your hero" should be "in sight of your hero". There's a serious difference. :thup:
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
What can we use to make it go to fountain?

(e.g)
If unit life is under 100 then
pick every unit of type fountain in playable map area and do actions
Issue myhero to move to position of picked unit?
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
What can we use to make it go to fountain?

That's up to you to figure out.


Updated the duel arena map, there should no longer be pathing involved exploitable places.

Fixed the issue with ramps, too.
 

Romek

Super Moderator
Reaction score
964
Blitz, quit asking questions about every part of your code. :p
There's no reason why we should disallow your hero going near the fountain. In fact, they're there for a reason.

Do whatever you want, as long as you don't break the rules.
 

BRUTAL

I'm working
Reaction score
118
This sounds exciting, im in.
I have a feeling your going to be seeing a lot of blademasters and mountain kings :p
 

Romek

Super Moderator
Reaction score
964
I'm assuming the AIs must be compatible with Wc3 Patch 1.23.
Nothing later.
 

BRUTAL

I'm working
Reaction score
118
the heroes will be created at a random time in game by the judges when testing, right?

well say two heroes of the same unit type are paired up, how are you supposed to figure out which hero is yours in your AI; since they are the same unit type and we cant tell what player we are going to be between one and two? :p
 

Monovertex

Formerly Smith_S9
Reaction score
1,461
And we are not disqualified or the round is not declared draw if we don't attack the enemy for, let's say, around 4 minutes, right?

EDIT: Sorry for questioning that again, I did not see Andrew's response... -.-

And I don't doubt that a Hero could win in 3 minutes, but I need to be sure that the fight won't end if there's no action for about 4 mins :p.
 

BRUTAL

I'm working
Reaction score
118
Yes, you are allowed to code an AI for the spawned units.
:p

i dont think the battle would be ended if no action happened for 4 minutes; as long as one hero could win in the remaining 3 minutes :rolleyes:
 

Monovertex

Formerly Smith_S9
Reaction score
1,461
Another question. When following an enemy unit, by right-clicking on it while having selected a unit of your own, even if that unit gets out of the range of the follower, the follower will still go after it for a while, until stopping for good. Are we allowed to recreate this effect? Or once it got off the sight, the follower has to stop?

I am asking this, because that is how it would go in a game with a real player. If you issue the order to follow a unit, it would go there even if that unit is not in sight.

I made a map to exemplify this. There is a peasant close to the Paladin, you have to go up. Attack him and he will run off. Try to chase it.

EDIT: Another one. We are not forbidden to make some triggers in GUI and others in Jass, right? I'm a bit rusty with Jass and I feel like making some things in GUI, way faster for me.
 

Attachments

  • test.w3x
    69.9 KB · Views: 311

BRUTAL

I'm working
Reaction score
118
maybe when judging the AI you should do a best out of 3 kind of thing.
say there is a blade master versus another hero; and the blade has like 20 hp and the other hero has 200hp and clearly is going to win, then the blademaster does a level 3 crit and wins o.o
that would be luck and not the ai? :p
 

Lightstalker

New Member
Reaction score
55
EDITED:
More questions :p
1. To make things more fair, can you put corpses around the arena for the Paladin's Resurrection, Death Knight's Animate Dead, Warden's Avatar thing? Also, what about pre-placed NEUTRAL PASSIVE (so they don't attack the participants) for the Dark Ranger's Charm? What about friendly Undead units with disabled attack for Death Knight's Sacrifice?

2. Can we order our Hero to run around the map till it's level 6?

3. Must the AI work for any arena, or just this specific one? (For example, I know there is only 1 fountain of health and 1 of mana, so I could order it to go there, but if it was another arena with 3 fountains of health and mana, I'd have to calculate the distance between my Hero and the fountains to order it to go to the nearest one.)

4. Can I refer to my Hero directly or should I store it in a variable when referring to it?

5. Can we create a Hero for ourself after we know what Hero our opponent has chosen?

EDITED (Again):
6. What about naming variables? Any rules on that? (Just in case 2 people give 1 variable the same name and it messes everything up...)
 

BRUTAL

I'm working
Reaction score
118
when the judging starts; your AI will be matched up with someone else AI
then they are both put into the battle map, and the heroes have a 1v1 battle

you use the trigger editor :p
edit*
ah you edited your post while i was typing a response, i look like a dumbass :p

edit*
i think you should create a timer to display the 7 minutes timer on the test map, so we can tell : o
 

BRUTAL

I'm working
Reaction score
118
lol, nono; i was started replying a few minutes before you edit :p

also another thing, its so easy to trap heroes with summons, especially near the mana fountain; maybe make the pathing larger? : S
unless its supposed to be like that. but i think it gives summon heroes a big advantage
 

13lade619

is now a game developer :)
Reaction score
398
question:

a human can SEE the fountains, there is no black mask.. and a human can also see the fountains on the minimap.
does that mean that my ai can directly refer to the fountains? (order attack/move to fountains)

question:
a human can REMEMBER..
does that mean i can store points in the map that my ai has previously been to?
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top