SWBF CUSTOM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SWBF CUSTOM

The best way to custom your games.
 
HomeLatest imagesSearchRegisterLog in

Share
 

 [unrésolu]Vehicles acting as AI?

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

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

[unrésolu]Vehicles acting as AI? Empty
PostSubject: [unrésolu]Vehicles acting as AI?   [unrésolu]Vehicles acting as AI? I_icon_minitime9/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel
avatar

Messages : 203
Registration Date : 2011-07-07
Age : 25
Location : Behind you...

[unrésolu]Vehicles acting as AI? Empty
PostSubject: Re: [unrésolu]Vehicles acting as AI?   [unrésolu]Vehicles acting as AI? I_icon_minitime9/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
http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

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

[unrésolu]Vehicles acting as AI? Empty
PostSubject: Re: [unrésolu]Vehicles acting as AI?   [unrésolu]Vehicles acting as AI? I_icon_minitime9/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Sponsored content




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

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

-
» The Request A Tutorial Topic
» [unrésolu]Adding a New Award Weapon.
» [unrésolu]Random Heroes?
» [unrésolu]AI playing as heroes?
» [unrésolu]How do you get objects to glow?

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