Giter Site home page Giter Site logo

Comments (8)

WarLord211 avatar WarLord211 commented on July 23, 2024

please name the Plane. i dont know all planes well.

from dcs-bios.

charliefoxtwo avatar charliefoxtwo commented on July 23, 2024

Sorry! This is the F/A-18C Hornet. The strings in this case are the ones displayed on the IFEI (Integrated Fuel & Engine Indicator).

from dcs-bios.

WarLord211 avatar WarLord211 commented on July 23, 2024

i cant format strings. i can give them a space of the expected amount of numbers and more i cant do. (as far as i find in the documentations) sorry

from dcs-bios.

charliefoxtwo avatar charliefoxtwo commented on July 23, 2024

Is it possible to just modify (or duplicate) the coerce_nil_to_string method to add some additional string processing (basically, it should just be a matter of finding the index of the first space character, then moving the substring of spaces to the beginning of the string)?

Here's a pretty rudimentary example of a method that could be called

local function move_spaces(value)
    local start = string.find(value, " ")
    if (start == nil) then return value end
    return string.sub(value, start) .. string.sub(value, 1, start - 1)
end

Many of the strings on the IFEI already call that coerce_nil_to_string method so it seems like you could wrap that and send the result to move_spaces or something right?

from dcs-bios.

WarLord211 avatar WarLord211 commented on July 23, 2024

maybe. but thats a little beyond my knowledge. if you got this to work, i will integrade it.

from dcs-bios.

charliefoxtwo avatar charliefoxtwo commented on July 23, 2024

Cool, I'll take a look and report back. Feel free to assign this issue to me.

from dcs-bios.

WarLord211 avatar WarLord211 commented on July 23, 2024

any News?

from dcs-bios.

charliefoxtwo avatar charliefoxtwo commented on July 23, 2024

Nothing yet - it's still on my todo list.

from dcs-bios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.