Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: [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 |
|
ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: 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.
|
|
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: 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 |
|
Sponsored content
| Subject: Re: [unrésolu]Vehicles acting as AI? | |
| |
|