Vehicle Side

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Vehicle Side

Post by SW_elite »

I was just curious, is it possible to make a side where you just use tanks? And if so how. I had a quick try but the game crashed on me.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Vehicle Side

Post by lucasfart »

The closest thing you can do is force everyone into vehicles on spawning. If you haven't read the FAQ topic, i recommend having a look. You can't make a vehicle a unit on a team. Thats what i've always heard anyway.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Vehicle Side

Post by SW_elite »

Okay, thanks!
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: Vehicle Side

Post by myers73 »

or you could make yourself happy by making all custom models and animations for new "humans" that look like "vehicles", the trick is they will still act like "humans"
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Vehicle Side

Post by [RDH]Zerted »

There are no good ways to prevent a player from leaving a vehicle. If there was, we would of had Vehicle and Race game modes a long time ago.
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: Vehicle Side

Post by myers73 »

how does space handle forcing you to stay in a vehicle?
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Vehicle Side

Post by kinetosimpetus »

It doesn't, if you land, you can get out.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Vehicle Side

Post by SW_elite »

Yeah but there are landing regions in the hangars of the ships so if i found the code that stops fighters landing in other places instead of the region then i could add the code to the tanks and leave the region out of my map....

Note: the region thing could be the other way around. If so is there a region that stops you from landing.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Vehicle Side

Post by lucasfart »

I don't know if this is plausible, but would it be possible to make a function that activates when the player exits the vehicle that puts him back in? or you could always make a damage/death region which affects all people out of vehicles. With a warning of some kind at the start in a popup, i'm sure one of those would do....
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Vehicle Side

Post by SW_elite »

Im pretty sure that in space there is a region the disallows you to exit a vehicle, ill try find it tonight!
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Vehicle Side

Post by lucasfart »

Are you sure thats not something special for certain vehicles? Because you can't eject from flying vehicles on land maps either, from what i can remember....
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Vehicle Side

Post by SW_elite »

Yeah, i just figured that out for myself.... What would happen if I opened the odf for the tank and changed the VehicleType= line?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Vehicle Side

Post by lucasfart »

The best way to find the answer is by trying. I have no idea, but its worth having a go. The only problem is, you may then have a flying tank :) And i don't think it would work, because you can't land/takeoff with a vehicle...i don't think it'll work but its worth a try, i guess
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Vehicle Side

Post by SW_elite »

Yeah, so ill just go change the VehicleClass="light" <---- to ----> VehicleClass="fighter"
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Re: Vehicle Side

Post by ForceMaster »

I have the same questions about a vehicle side, only my biggest interest is to prevent the player from leaving due to the scale of the vehicles. I want to prepare a map where the vehicles will be smaller in size than the player models (to have more capital ships in it with a smaller scale). In a similar issue where I do some questions about recommended me to use the function of forcing the player in the vehicle but even so the player could leave and go flying at the moment appear on the vehicle and take off, so have a landing area defined and not within it. So I asked if possible to prevent the abandonment of the vehicle the player.

Waht you think about?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Vehicle Side

Post by DarthD.U.C.K. »

[RDH]Zerted wrote:There are no good ways to prevent a player from leaving a vehicle. If there was, we would of had Vehicle and Race game modes a long time ago.
i think this doesnt have to be discussed further, or did i miss anything?
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Vehicle Side

Post by SW_elite »

Yeah I know, you might as well lock it, but I only started it cause I was curious, to see if my idear would work...
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Vehicle Side

Post by Fiodis »

SW_elite wrote:Im pretty sure that in space there is a region the disallows you to exit a vehicle, ill try find it tonight!
This is called a landing region. See, it's hardcoded that you can't jump out of a flyer unless it's landed. Landing regions define where you can land; if there aren't any you can land anywhere. This only works for flyers; you can't hijack the code to prevent units from hopping out of tanks or speeders.

Changing the VehicleClass line would result in nonsense; you'd be defining the vehicle as a flyer without many vital flyer-related odf lines.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia!!!

Re: Vehicle Side

Post by SW_elite »

Ohh, thanks for that Fodis, very helpful, now at least i know it cant be achieved, and ill stop wasting time trying to... :P
Post Reply