Page 1 of 2
Interesting Find: Automated vehicles
Posted: Tue Jun 13, 2006 12:07 am
by xwingguy
I found that I could make any vehicle run by itself, w/o a pilot by adding this line in the [Properties] of a vehicle:
Give it a spawn point (and a team) and it'll get up and start running on its own.
I'd love to see somebody create a vehicle army battle with it.
RE: Interesting Find: Automated vehicles
Posted: Tue Jun 13, 2006 12:11 am
by JabbaLovesLava
That's really cool, you should use that in your space map. I think space boarding is pretty dumb...
RE: Interesting Find: Automated vehicles
Posted: Tue Jun 13, 2006 3:20 am
by Penguin
uhh, sorry to say this? but who diddn't already know this?
RE: Interesting Find: Automated vehicles
Posted: Tue Jun 13, 2006 4:33 am
by Qdin
I gotta agree with Penguin with this one
most of all that are already in the Turret's .odf along with other useful lines, so it will actually shoot
This was actually also used a bit in SWBF1, but back then it missed some lines which has been added later on

Posted: Tue Jun 13, 2006 6:13 am
by Squirrel7Hunter
I didnt no this

thanks, this will help in my map
Re: Interesting Find: Automated vehicles
Posted: Tue Jun 13, 2006 9:10 am
by Teancum
xwingguy wrote:I found that I could make any vehicle run by itself, w/o a pilot by adding this line in the [Properties] of a vehicle:
Give it a spawn point (and a team) and it'll get up and start running on its own.
I'd love to see somebody create a vehicle army battle with it.
You can use this in any seat on a vehcile as well, which makes it cool. Want an AAT with an automated turret? Just put that in the turret section. You can drive, and it will man the turret. The only problem is, it
always mans the turret, which means that when the vehicle isn't being driven, the turret will still search and destroy. That's the way it was in BF1. Dunno about BF2.
RE: Re: Interesting Find: Automated vehicles
Posted: Tue Jun 13, 2006 1:43 pm
by [RDH]Zerted
You could code it in the Lua to turn off when a player exits the vehicle. Use SetProperties() on the vehicle.
Posted: Tue Jun 13, 2006 6:47 pm
by Guest
Thanks for the tip, Xwingguy - very useful information.
Posted: Wed Jun 14, 2006 9:20 pm
by Tohron
On a similar line, would it actually be possible to make vehicles a spawnable class? That would be really interesting...
Posted: Wed Jun 14, 2006 11:38 pm
by [RDH]Zerted
What do you mean by spawnable class? You can force a unit into a vehicle as soon as the unit spawns...
Posted: Thu Jun 15, 2006 12:03 am
by Tohron
[RDH]Zerted wrote:What do you mean by spawnable class? You can force a unit into a vehicle as soon as the unit spawns...
I mean going to the class selection screen and having, say, a Vulture Droid as a spawn option, along with Droid Pilot and Droid Marine. It would probably require significant odf modifications, at least.
Posted: Thu Jun 15, 2006 5:01 am
by Qdin
or just make the unit(s) go into the flyers right away?

that would be the same

Posted: Sun Oct 01, 2006 4:52 pm
by Ergonomics
sorry, where abouts does it go in the properties section? ty
Posted: Sun Oct 01, 2006 5:11 pm
by Hebes24
Anywhere in the properties section, probably towards the beginning. Or if it has a Pilottype line, replace it with the one Xwingguy gave.
Posted: Sun Oct 01, 2006 5:12 pm
by Kaos4
If possible you could give the animal "vehicles" like Kaadu's or TaunTauns this property and attach it to the Native side. This would map a map feel more nature-like. You could create a hunt mode where you actually hunt.
It would be really cool if someone could make a Fambaa move and give it this property.
Posted: Sun Oct 01, 2006 5:20 pm
by Hebes24
That would actually work,
Kaos. That's a really good idea!

Posted: Sun Oct 01, 2006 5:35 pm
by Ergonomics
yeah ive tried, well, heres the thing...
i want this done on a space map (does it work on a space map??), so i added the pilottype code near the beginning as you sed, but i mean, if its in the rong place, by just one line, does it still work??
also, does this work on vehicles that are being spawned constantly? as ive simply changed the odf for the fighters and moved this to my worlds odf section. (i want a huge space battle, so i set the spawn count on vehcles to 40 and spawn time to 1)
i jus tried now, doesnt work
any advice?
cheers
Posted: Sun Oct 01, 2006 6:03 pm
by Darth_Z13
Wow Ergonomics, big bump!
Posted: Sun Oct 01, 2006 6:14 pm
by xwingguy
Ergonomics, the first time I used this was in a space map.
either something didn't work in the odf or you forgot to munge something correctly or something.
(pardon the vagueness...I have a headache today)
Posted: Sun Oct 01, 2006 6:31 pm
by Dohnutt
So, then this means that it's possible to make a ground vehicle just drive around a map? This could be useful for my new map... :
