Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by moiz · Jul 24, 2013 at 10:15 AM · lag

10 AI's vs 10 AI's

Brand new game dev. I'm trying to get a feeling for the capabilities of unity. Lets say a game has 2 players, each on their opposing team. Is it possible to have 20 AI battling as well without making it laggy for the average gamer? I'm not asking for the help to create this, just info on the strain this would put on the pc, if any at all. Would it make most lag?

Thank you for reading my ramble, all answers appreciated.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image EHogger · Jul 24, 2013 at 11:31 AM 0
Share

It would depend on how complicated your AI's code was.

avatar image moiz · Jul 24, 2013 at 01:01 PM 0
Share

Thanks for the answers, both great and a little frightening. What I had in $$anonymous$$d was $$anonymous$$ount and Blade type game, only with 10 vs 10 units. Some types of orders like "Shieldwall" or stuff like that. I know I'm nowhere near actually making this, but knowing its possible would be a great drive for me.

avatar image Aug749 · Jul 24, 2013 at 03:53 PM 0
Share

some quick advice, you could use a basic chaser script, and just animate the ai's to comply like they are sword fighting when they are really just standing next to eachother

avatar image Aug749 · Jul 24, 2013 at 09:01 PM 0
Share

and btw i wpould pick and answer so this will no longer appear in the unanswered list

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Aug749 · Jul 24, 2013 at 12:27 PM

It depends on the type of battling you have going on, if its like a simple chaser OR shooter script, You can have the AI's set to go after one another (or teams with the players also) and do damage to each other. You would need to set damage tags so you could only do damage to the other team, if you want that. I feel that this wouldn't be too crazy laggy as long as you had most of your options set to Static. I have not created any games with more than one player so i wish luck to you, people have created online FPS games with unity that don't lag an inch. For what you ask as long as you look up some great tips to keep the CPU down you'll be fine man. Have a great day!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Trey3Stone · Jul 24, 2013 at 12:29 PM

It would entirely depend on the complexity of your AI and how often your AI is updated. Simpler tasks such as moving in a straight line to the nearest enemy (which is redetermined only every several frames) could be quite easily scaled to a 10 vs. 10 battle.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Unity lag when play but not when build 1 Answer

How Can I Get Rid Of Lag When My Game Loads on Low-End PC'S? 0 Answers

Why is my game slow when i export it to Windows? 1 Answer

Editor freezing up due to models. What can I do? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges