Page 2 of 2

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 10:45 am
by Culvar
It should have the battledroid's animations, since it's loading the unit's file. He just won't walk.(He might if you use fake console to change the AI Objective, IDK)

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 2:22 pm
by SAMofBIA
hmmm, i dont think he would just shoot if you sent him out as the auto turret dispenser's ord. you would have to give it some aimer turret junk and such. (you could probobly just get all of that from the turret itself) i might try it out today.

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 3:26 pm
by Obi-Wan Kenobi
I think It would take a very long time because as mentioned before, auto turrets don't move. You would have to use more than just the pathing too.

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 4:50 pm
by SAMofBIA
i think that making him move by himself is a "little" too advanced for most of us. so lets stick to something more simple

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 5:04 pm
by AgentSmith_#27
Am I missing something? what about recon droids? Also, in Spira: Besaid, Maveritchell had a deploy-able unit, so it's possible. I'd think ai would be able to use it to, since they use recon droids.

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 7:49 pm
by SAMofBIA
no, what they are saying is that it controls itself. like its an AI as soon as you deploy it and it foolows you nommater what. anyway, i tried out deploying it as a turret and that didnt really work. it needs a lot of coding

To AgentSmith_#27: i have made a deployable ackaly that you can control like a recon droid, but i failed at making a trooper like that. im not sure, but i thin you could make a deployable droideka too.

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 7:59 pm
by Darth_Squoobus
Well, it looks like if you want to create AI-controlled deployable units, you have to do it the good-old fashioned way.

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 9:16 pm
by SAMofBIA
and that is?

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 9:22 pm
by kinetosimpetus

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 9:25 pm
by SAMofBIA
interesting, ill have to keep that in mind.

Re: Deployable Battle Droids?

Posted: Tue Jul 13, 2010 11:41 pm
by lucasfart
SAMofBIA wrote:no, what they are saying is that it controls itself. like its an AI as soon as you deploy it and it foolows you nommater what. anyway, i tried out deploying it as a turret and that didnt really work. it needs a lot of coding
that is totally possible, in fact it would be quite easy to do. All you would need to do was make the spawned unit on a third side, which had the AIGoal of follow. The only thing i wouldn't know exactly how to do is set it to follow the player, as normally it follows a specific unit type.

What you could probably do is make this third side spawn in a spot right away from the map with no goals yet. Make it so that on the weapon use the unit is spawned to the players location, with a new goal of following the player. You would need some skill with lua scripting, but it wouldn't be impossibly hard would it?

Re: Deployable Battle Droids?

Posted: Wed Jul 14, 2010 1:27 am
by Culvar
Quick question:

Can you tell the spawned unit to follow you?

Re: Deployable Battle Droids?

Posted: Wed Jul 14, 2010 2:56 am
by SW_elite
Good idea lucas, you've helped me a lot. A note to everyone, I'm not sure I want the droid to follow me, I kinda want it to go off and do its own thing, but that could change.

Gathered Ideas:
I could have a seperate side that has the droids, then have them spawned in a contained box, way away from the map (possibly under?), then I do a little scripting to transport one of the droids from the box to my current position when I use the dispenser. That should work!

Re: Deployable Battle Droids?

Posted: Wed Jul 14, 2010 11:58 am
by SAMofBIA
you could (like most shipped maps) have a wall around your map made by hills or objects, and than somewhere out in the distance (in like a corner of zeroeditor) have a small box that contains you units.

Re: Deployable Battle Droids?

Posted: Wed Jul 14, 2010 5:51 pm
by SW_elite
Thats basicly what I just said, so are you just being annoying or are you acknowledging what I said?

Re: Deployable Battle Droids?

Posted: Wed Jul 14, 2010 6:03 pm
by SAMofBIA
oh, srry, i didnt see the contained box part, i just saw the under the map part..i did not mean to be rude or repeat what you said.