Can't create UI app

Discussion in 'Content Creation' started by CarlosAir, Jun 23, 2014.

  1. CarlosAir

    CarlosAir
    Expand Collapse

    Joined:
    Nov 16, 2013
    Messages:
    336
    So, I've tried creating my first custom modified Ui app, no success yet. I've tried modifying one of the existing ones, by duplicating it's folder in html/apps/ and giving it a new name, as well as applying my customizations and changing (I think) all the required information.
    The new "gauge" appears in the list with all the information as I wanted. Yet, when I click it, it doesn't appear, and a message shows in the log "App _ can't be spawned. Appclassnot found". What does this mean :p ? Happens even if I copy and rename the original app folder without changing any of its files.

    And when applying my changes to the original folder, they work. So the problem happens when making a new folder.

    What am I missing? I think I might have to edit some other external file.

    Thanks in advance.
     
  2. Rokzy rules

    Rokzy rules
    Expand Collapse

    Joined:
    Dec 31, 2013
    Messages:
    379
    help.png First line should be like this:


    Code:
    function folder name(){}
    try copying that but changing 'folder name' to the folder name also I think you're not allowed spaces. Hope this helps.

    Rokzy.
     
  3. CarlosAir

    CarlosAir
    Expand Collapse

    Joined:
    Nov 16, 2013
    Messages:
    336
    Thank you! That was my problem, it works now.Thanks for taking the time to make that picture and that helpful answer.
     
  4. Rokzy rules

    Rokzy rules
    Expand Collapse

    Joined:
    Dec 31, 2013
    Messages:
    379

    Your welcome, I just looked at 3 files and guessed what you'd done tbh

    - - - Updated - - -


    Your welcome, I just looked at 3 files and guessed what you'd done tbh
     
  5. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,031
  6. CarlosAir

    CarlosAir
    Expand Collapse

    Joined:
    Nov 16, 2013
    Messages:
    336
    Hahaha, I'm a complete noob :D

    Yeah, I'm sure it will be extremely helpful as it gets more information.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice