weapons not working when plane is out of fuel

weapons not working when plane is out of fuel

Requests for features in the spring code.

Moderator: Moderators

User avatar
Thor
NOTA Developer
Posts: 291
Joined: 05 Mar 2006, 10:26

weapons not working when plane is out of fuel

Post by Thor »

The way the fuel system works, when a plane runs out of fuel, the weapons all stop working, even if they don't require any fuel to fire. This is mostly a problem with things like air-to-air turrets on bombers. As it is now, once a bomber has dropped its bombs, it is completely vulnerable to fighters. I would really appreciate if someone could fix this, as bombers are getting a more central role in the next version of nota and it can be frustrating when a single fighter takes down half your bomber squadron because they couldn't defend themselves. I would imagine Spring 1944 would also benefit from this whenever they add airplanes.
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

I dont know how the system works, but from what you are saying it would seen that the you use the "fuel" to control the number of bombers he can bomb, but the value was made to be used for the whole unit, meaning that it would require some sort of ammo value... just a wild guess tough :)
User avatar
Thor
NOTA Developer
Posts: 291
Joined: 05 Mar 2006, 10:26

Post by Thor »

well, all I really want is for weapons that don't require fuel to not be disabled when the plane's fuel is empty.
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

well

Post by rcdraco »

Fuel to my knowledge is controlled via cob/bos, and can be changed, this isn't a feature request, it's a script fix.
User avatar
Thor
NOTA Developer
Posts: 291
Joined: 05 Mar 2006, 10:26

Post by Thor »

I want weapons that are still able to shoot on empty fuel. Giving the plane more fuel through cob doesn't solve the problem, all it would do is make the plane never have to go back for fuel in the first place.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: well

Post by Pressure Line »

rcdraco wrote:Fuel to my knowledge is controlled via cob/bos, and can be changed, this isn't a feature request, it's a script fix.
failure to understand the question! its an engine bug, not bad scripting.

would also be nice if you could impliment a fuel/ammo system for ground units too. but thats a whole other thread.
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

no

Post by rcdraco »

I understand the question, somewhere, the script is telling it not to be able to fire, or it floods the unit with RETURN FOR REFUELING, and won't let it attack till that is done. Please post the script, maybe one of the modders here can help you.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: no

Post by Peet »

rcdraco wrote:I understand the question, somewhere, the script is telling it not to be able to fire, or it floods the unit with RETURN FOR REFUELING, and won't let it attack till that is done. Please post the script, maybe one of the modders here can help you.
IT HAS NOTHING TO DO WITH THE COB
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

It doesn't return jack, it just cancels AimWeaponX.
User avatar
Fanger
Expand & Exterminate Developer
Posts: 1509
Joined: 22 Nov 2005, 22:58

Post by Fanger »

case in point.. its not a script function.. its a game function and as such can only be fixed by a patch or alteration..
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

It's not a bug, it's a design failure :P.
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

KDR_11k wrote:It's not a bug, it's a design failure :P.
Considering that both are phail and both require you to go into the script and fix it, cant we say its the same thing?... :)
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

KDR_11k wrote:It's not a bug, it's a design feature :P.
corrected.

in the words of the Almighty Tallest "It's not stupid, it's advanced."
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

"But it could be even more"
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: no

Post by Pxtl »

rcdraco wrote:I understand the question, somewhere, the script is telling it not to be able to fire, or it floods the unit with RETURN FOR REFUELING, and won't let it attack till that is done. Please post the script, maybe one of the modders here can help you.
Stop talking about stuff you don't know.

"Fuel" is an engine feature, and has nothing to do with script. When a unit runs out of fuel, the engine overrides everything about the unit and sends it back to get more, and disables all the weapons - it can no longer carry out any orders, or attack, or anything.

Except that some weapons don't take fuel, and should still be enabled.
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

Then it means that the "fuel" feature shouldnt be used as ammo, since a ammo-less unit should still obey you... someone make a "ammo" feature :)
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Not the problem, not needed either.

We just want units to be able to have tail gunners fend off hostile planes tailing us, that is all.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Um, if somebody feels like fixing this, could they also, maybe, finally just give us Fuel for everything, not just planes? That'd be pretty nice... yeah, I know this is LUA-able and you can even do it with COB, but, meh, it's something that I honestly think should just be in the engine proper...
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Shit, yes, I need fuel for vehicles.

+1 Million.
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

Post by rcdraco »

Argh wrote:Um, if somebody feels like fixing this, could they also, maybe, finally just give us Fuel for everything, not just planes? That'd be pretty nice... yeah, I know this is LUA-able and you can even do it with COB, but, meh, it's something that I honestly think should just be in the engine proper...
I think that's interesting, but then we need more huge maps. Havin' little outposts with gas stations and some towers. Havin' little trucks runnin' around with huge fuel tanks on the back to get the fuel to the outpost. That's deep, AHHHHHHHH!
Post Reply

Return to “Feature Requests”