🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
First I am going to allow the user to manually or randomly choose their races for an altered melee map. Then I want a random custom AI to be executed for each random players, matching their races. How can I do this?
Have you created an additional custom race from scratch, or have you modified a default race?
Creating altered melee AI might be hardcore, you need be very experienced, or an other pro coder who does it for you.
How ever, for this person it should be no problem to implement such a trigger to bind the correct AI execution to the randomized race.
Create a dialog for each player, with each race.
if X race is chosen, start ai?
I don't think a dialog is needed to execute the AI, as AI is usually needed only for computer playeys, and computer players won't click any dialog button anyway.
Could you create a YouTube video or Hive Workshop tutorial to show me
You won't be able to use the AI Editor (generally used for melee AIs) unless the given player slot is occupied by a computer player and this only applies for slots 1~12.
You will need to trigger all of it. If you already know this ignore me.
First I am going to allow the user to manually or randomly choose their races for an altered melee map. Then I want a random custom AI to be executed for each random players, matching their races. How can I do this?
You can create a new race by replacing an already existing one ex. Humans and that changed race will appear in your AI Editor. That way you can make the AI you want for your new race without needing to do triggers.
But if your new race isn't overlapping an existing one, then you would need triggers. First off you need:
1. Dialog to ask the player for a race (Race1, Race2, Race3, Random)
2. Check via triggers if everyone has a race (like boolean true/false)
3. Initiate random AI for the computer opponents with this action:
AI - Start melee AI script for Player X (X): randomAI.ai
Could you create a YouTube video or Hive Workshop tutorial to show me, and others, exactly how to do this please? Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.