SWBF CUSTOM

The best way to custom your games.
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [unrésolu]Vehicles acting as AI?

View previous topic View next topic Go down 
AuthorMessage
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: [unrésolu]Vehicles acting as AI?   9/1/2012, 8:24 pm

During the Clone Wars many of the vehicles acted on their own and did not require a pilot.

NR-N99 Droid Enforcer
OG-9 Homing Spider Droid
IG-227 Hailfire Droid
Vulture Droid
Droid Tri Fighter

etc. Would it be possible to do this sort of thing in SWBF2? Have some of the vehicles act on their own without a pilot?
During "Amongst the Ruins" (Mygeeto Campaign) The turrets on the second objective attack you without an operator. I'm looking through the files for that mission right now.

Edit: Only flyers, walkers, and turrets work with "PilotType = self"
If it is attempted with Hover vehicles, it crashes automatically even thought it appears that they do in fact move on their own. I suppose I could just change the hover vehicles to walkers, but that's a temporary fix and not a very good one.


Last edited by Glitch on 9/3/2012, 2:12 pm; edited 3 times in total
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel


Messages : 200
Registration Date : 2011-07-07
Age : 18
Location : Behind you...

PostSubject: Re: [unrésolu]Vehicles acting as AI?   9/1/2012, 9:28 pm

You can add pilottype = self

That makes a slot automatic, check some of the hoth automatic turrets from the campaign for more details, that is something handled in the sides generally, not the mission.lua.
Back to top Go down
View user profile http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [unrésolu]Vehicles acting as AI?   9/2/2012, 3:25 am

Thanks to ARC_Troopa_Nate we are half way there. Look at this video. Near the end the two Droid Enforcers on the left move on their own. The one on the far right does not have any time to move before the game ultimately crashes. With no evidence of what went wrong in the error log I don't know how to fix this.

I've added this to the vehicle's odf under MapScale and WEAPONSECTION = 1

Code:
Pilottype      = "vehicleself"

https://www.dropbox.com/s/k7wcy9a1kzjbnbd/BattlefrontII%202012-09-01%2023-15-00-37.avi
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Sponsored content




PostSubject: Re: [unrésolu]Vehicles acting as AI?   

Back to top Go down
 

[unrésolu]Vehicles acting as AI?

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Fast vehicles, transports and shooting
» Vehicles Exploding in a multi-combat
» The Awesome Acting Club! - CLOSED
» Dark Eldar - Attacks from Webway Portals and Vehicles
» Firing from Open Topped Vehicles

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-