Force Characters OUT of a vehicle?

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
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Force Characters OUT of a vehicle?

Post by Ace_Azzameen_5 »

I was just wondering if it was possible to force characters out of a vehicle using the lua script. You know, so we can wire it to f4 and allow ejecting.

Also, if anyone knows the force into vehicle code, or rather a few lines that will shove me into a jedi starfighter at the beginning of a space map, could you please post it?


Just posting this to give the coding elite something to work on. I mean, I've said stuff before and it helped, so why not.

Oh yeah. . . Archer01, you're not allowed to try and get this to work. Operation FM ftw!

P.S.

I was thinking, could "team damage off" mine hoes be killed by a script that checks whenever a human player is withing such n such a distance of a destroyed mine and then kills them?

IF that sounds remotely possible, maybe someone "for whom lua comes easy to" should check it out. I think having team damage off for everything BUT mines would be a good thing.
Last edited by Ace_Azzameen_5 on Tue Nov 07, 2006 10:57 pm, edited 1 time in total.
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: Force Characters OUT of a vehicle?

Post by [RDH]Zerted »

Use search to find the code that forces a player into a vehicle.

I don't think you can add a new keyboard command through the Lua.
Delta_57_Dash
Jedi
Jedi
Posts: 1187
Joined: Fri Jun 10, 2005 2:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Force Characters OUT of a vehicle?

Post by Delta_57_Dash »

uhm... f4 is tied into "get in" and "get out" voice commands.

would mess stuff up (assuming you COULD wire it)
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 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: happy fun island

Post by Syth »

look at the geo campaign script. in the begining of the misson theres a disabled hail fire.
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Ace_Azzameen_5 »

The Lua doc says that get in get out etc can trigger a call back.
Pi314

Post by Pi314 »

look at his avatar! i think he wants to eject during flight.
sawyerdk9

Post by sawyerdk9 »

Maybe you should try looking in the fusion cutter odf. Dosn't it force people out when you slice into a vehicle?
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Ace_Azzameen_5 »

Hmm, thats a good idea, an eject weapon. . .

I remember if you made a fusion cutter heal health, it will affect the fire-er (if no friendlies are in range) so maybe the eject function will work the same way .

Yeah, anyway, I was just thinking of a way to rig an eject function.
Post Reply