Find Jobs
Hire Freelancers

Enemy Ai in Unity 3d for space shooter

£50-110 GBP

Completed
Posted almost 10 years ago

£50-110 GBP

Paid on delivery
I need someone to create more advance Enemy Ai for space shooter, ... I do have a basic one That needs some improving... which moves Enemies, and make them shot... But I would like a couple of variation with improved AI... to make enemy more intelligent ... In current script enemy (just like in any tower defence game) moves randomly shot randomly, and moves along z axes till it reaches end of the screen, where if not shoot by player get destroyed ... This is the basic Script that moves the ship; public class Enemy_EvasiveManeuver1 : MonoBehaviour { public Boundary boundary; public float tilt; public float dodge; public float smoothing; public Vector2 startWait; public Vector2 maneuverTime; public Vector2 maneuverWait; private float currentSpeed; private float targetManeuver; public float speedZ; void Start () { [login to view URL] = [login to view URL] * speedZ;// this moves forward currentSpeed = rigidbody.velocity.z; StartCoroutine(Evade()); } IEnumerator Evade ()// this randomly moves left and right and keeps the enemy within screen { yield return new WaitForSeconds ([login to view URL] (startWait.x, startWait.y)); while (true) { targetManeuver = [login to view URL] (1, dodge) * [login to view URL] (transform.position.x); yield return new WaitForSeconds ([login to view URL] (maneuverTime.x, maneuverTime.y)); targetManeuver = 0; yield return new WaitForSeconds ([login to view URL] (maneuverWait.x, maneuverWait.y)); } } void FixedUpdate () { float newManeuver = [login to view URL] (rigidbody.velocity.x, targetManeuver, smoothing * [login to view URL]); [login to view URL] = new Vector3 (newManeuver, 0.0f, currentSpeed); [login to view URL] = new Vector3 ( [login to view URL](rigidbody.position.x, [login to view URL], [login to view URL]), 0.0f, [login to view URL](rigidbody.position.z, [login to view URL], [login to view URL]) ); [login to view URL] = [login to view URL] (0, 0, rigidbody.velocity.x * -tilt); } } but I need few more a bit complex and intelligent attacking maneuvers.... First Maneuver 1- Once the enemy ship detects the player it does not pass him, instead hoover around and tries to kill him/shoot. combination of evade and attack movements , Enemy ship stays around and fight the player ( does not pass him) till one of them dies... 2nd Maneuver Same but, with variation ... if enemy would move in an arch like movement not strait diagonally... or anything you can suggest that is better 3rd Maneuver Enemy ship that is trying to avoid the player and pass and shoot into boundary( bottom of the screen) that we defend , this ship would also detect when player or players bullet are close(enter his collider- detection) and then teleport somewhere randomly on the screen . - Teleport skill needs to be cool-down ability, I also need to be able to fine tune the time how long it takes to teleport again. 4. Same idea but instead of teleporting enemy rise shields ... also cool-down ability... I will give more details if job granted ... No enough words to explain everything , but it should make sense to any good programmer..
Project ID: 6197884

About the project

13 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I have over two years experience with Unity3D. I can do this job, but now I'm working to something and can't do it fast, will take me about 3 days. Let me know if 3 days is fine to you too! Best Regards, Nechifor Marian
£111 GBP in 4 days
4.9 (68 reviews)
6.6
6.6
13 freelancers are bidding on average £156 GBP for this job
User Avatar
I can do it for you, something similar with all my code I will do it from 0. I am the best unity3d dev here ;)
£105 GBP in 5 days
4.7 (102 reviews)
7.4
7.4
User Avatar
Hi, I've done several unity scripting using c# before, I'm using unity 4.3 Free edition. so I can't run any features that requires the full professional edition of unity. although I'm not a talented graphical art designer, but I can write good coding. as far as I understood, the characters prefabs' animations are ready, and you want to control movement, teleporting and rising shields. correct? for the teleporting, and shielding. does your model have the visual effects for them? could you explain how would you like to control the teleporting time? if there are any unity assets on asset store that helps this task, would you like to use them? also, would you provide me with the full source code and project assets to test on, or shall I make a demo scene with simple objects? thanks
£55 GBP in 25 days
4.9 (28 reviews)
4.8
4.8
User Avatar
Hi, Funny ... I am currently working on a space shooter myself and I already have the teleporting behavior AI and I was going to add the random movement to my game. I am a unity programmer with experience in both javascript and c# and I'm well versed in the different aspects of game development. Your request is pretty simple and can easily be done within a day. I am interested in taking on this job, and I am even more interested in seeing what your final release will look like. I am very passionate about games and always love to see what other developers have to offer. Thank you, Please, I hope to get a response from you.
£66 GBP in 3 days
4.8 (5 reviews)
4.7
4.7
User Avatar
Hello Sir, i have 9 year experience. i can do any kind of 3d graphics works. i have attached some of my best works in my profile kindly check it .if my work satisfy your needs then pay me and i am sure it will you can check my ratings, that will be a great if you give me a chance to provide you the best work in Freelance at affordable price......Thanks
£115 GBP in 3 days
5.0 (1 review)
3.3
3.3
User Avatar
Hi, i can handle that. I think that shield should have shield endurance. I can do that too, if you want.
£100 GBP in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I'm very very experienced with C# and Unity and can write you an awesome AI system, and explain to you why I'm doing what each step of the way! You won't be disappointed.
£88 GBP in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
that ia script is very primitive you should implement a state machine or a state pattern. i would recommend a state machine cause this is a very small script. the behaviour you describe for 1 and 2 remembers me of galaga. is that what you want to achieve? thanks for your time.
£110 GBP in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Task is not as easy as explained, you certainly would need some quality. Please pm me if you would like to discuss further.
£555 GBP in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Barnet, United Kingdom
5.0
8
Payment method verified
Member since Oct 1, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.