Jetpack Fuel via LUA
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Jetpack Fuel via LUA
I know you can get an object's shield amount by CurShield, and tinker with it using SetProperty. Is there a way to do the same with jetpack fuel? Are they the same thing, LUA-wise?
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Jetpack Fuel via LUA
I would assume so, i believe there is a FC code for unlimited jetpack fuel.Fiodis wrote:I know you can get an object's shield amount by CurShield, and tinker with it using SetProperty. Is there a way to do the same with jetpack fuel? Are they the same thing, LUA-wise?
- [TFA]Padawan_Fighter
- High General

- Posts: 806
- Joined: Wed Mar 25, 2009 3:37 pm
- Projects :: Ha - as if I will ever get back to them
- xbox live or psn: No gamertag set
- Location: Lost at sea
Re: Jetpack Fuel via LUA
Yes, but that's different, as not only does it give you unlimited fuel, it gives everyone jetpacks.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Jetpack Fuel via LUA
it also overides the jetpacks that units already have and replaces them with the default rep jetpack.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Jetpack Fuel via LUA
What I need is a meter that can be replenished via LUA, and I don't want to hijack the health bar. Energy bar you can't alter via LUA directly, and the shield bar would have some side effects (such as the unit having a shield) that I don't want. The jetpack seemed the only way to do it, to have a unit that has a jetpack, and jetpack fuel, and an insanely high amount of fuel necessary to activate.
So is it feasable to hijack the jetpack fuel meter for this purpose? Or is there some other meter I could use?
Actually, is there any way to create your own meter? I wouldn't think so, but I want to make sure.
So is it feasable to hijack the jetpack fuel meter for this purpose? Or is there some other meter I could use?
Actually, is there any way to create your own meter? I wouldn't think so, but I want to make sure.
