Ion Lua Cannon

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
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Ion Lua Cannon

Post by Sky_216 »

Weapon for heavy fighters in space, based on Saitek's Force Stasis, disables starfighters/turrets in space. The problem is, when it 'freezes' (actually changes to an object) a fighter, they stop moving instantly.....which looks a bit weird if the fighter is going fast. Is there any way (while keeping online compatability) I could make either the frozen spacecraft move forwards (say at a set speed), or make the cannon disable the targeted ships controls instead? Basically make the hit ship fly straight forwards uncontrollably.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Ion Lua Cannon

Post by Maveritchell »

No, you can't change that. Objects in SWBF2 don't have any physics, so they can't move at all, unless they're animated. They can't inherit a velocity.

And unless you're doing it to every ship of the class you hit, you can't modify the movement values of a specific fighter.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 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: Ion Lua Cannon

Post by fiddler_on_the_roof »

would it be possible to turn that specific fighter into a prop that would move on an animated course?

Or would it turn all of that class of fighters into props?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Ion Lua Cannon

Post by Maveritchell »

"Turning it into a prop" isn't the problem here. By using the DeactivateObject command, it turns a single GameObject into a prop. You can do that to individual objects.

But no, you can't just "magic" an animation out of nowhere.
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Ion Lua Cannon

Post by Sky_216 »

K, thanks for clarifying that Mav. This topic can now be locked.
Post Reply