fbi2lua Unitdefs get changed values

fbi2lua Unitdefs get changed values

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

fbi2lua Unitdefs get changed values

Post by Forboding Angel »

So the units aren't actually fbi, they are lua, but the fbi2lua scripts outputs wonderful unified tables directly from the engine, so I really like them.

The thing that is really throwing me at the moment is...

Some values get reversed. For example, units with canfly true get switched to canfly false, and hoverattack true gets hoverattack false.

It's really weird and I don't know how to interpret it.
raaar
Metal Factions Developer
Posts: 1095
Joined: 20 Feb 2010, 12:17

Re: fbi2lua Unitdefs get changed values

Post by raaar »

That appears to be a bug that should be fixed rather than a feature.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: fbi2lua Unitdefs get changed values

Post by Forboding Angel »

Yes, but as far as I can tell, it is a bug in the engine, not in the lua, because when attempting to output these values into infolog via post, they come out false. I don't understand how the units are actually working properly if these values are getting flipflopped.

Did a ton more testing and got the engine to behave in the expected manner, so it must be a lua bug, which is a bit of a relief.
Post Reply

Return to “Game Development”