Jump to content

mod input always Su-25T


cloudyaaron

Recommended Posts

I am making a F-117 plane mod.

however, in the control settings. It always show it is a su-25t.

I can see my mod's input option is created and listed, but it does not use that input file it always use the SU-25T input profile.

 

What can protentional causing this problem?


Edited by cloudyaaron
Link to comment
Share on other sites

that due to a wrong name in InputProfiles section in the entry.lua

check that name correspondence with you lua plugin declaration, if you check your controls input profile in options you will find the name of you MOD but not assigne correctly due to non correspondences of then names.

MOD Logo - 100.png

Link to comment
Share on other sites

Be sure all the names match your aircraft.

See here,

 

This is the main aircraft lua.

 

a5m4claud =  {
        
    Name                 =   'a5m4claud',
    DisplayName            = _('-ai- A5M4 Claude'),
    
    --HumanCockpit         = false,
    --HumanCockpitPath    = current_mod_path..'/Cockpit/',
    
    Picture             = current_mod_path..'/Textures/a5m4claud.png',
    Rate                 = 40, -- RewardPoint in Multiplayer
    Shape                 = "a5m4claud",
    
    shape_table_data     =
    {
        {
            file       = 'a5m4claud';
            life       = 18; -- lifebar
            vis        = 3; -- visibility gain.
            desrt    = 'a5m4claud_desrt'; -- Name of destroyed object file name
            fire       = { 300, 2}; -- Fire on the ground after destoyed: 300sec 2m
            username = 'a5m4claud';
            index    =  WSTYPE_PLACEHOLDER;
        },
        {
            name  = "a5m4claud_desrt";
            file  = "a5m4claud_desrt";
            fire  = { 240, 2};
        },
    

 


Edited by Hawkeye60

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

16 hours ago, Hawkeye60 said:

Be sure all the names match your aircraft.

See here,

 

This is the main aircraft lua.

 


a5m4claud =  {
        
    Name                 =   'a5m4claud',
    DisplayName            = _('-ai- A5M4 Claude'),
    
    --HumanCockpit         = false,
    --HumanCockpitPath    = current_mod_path..'/Cockpit/',
    
    Picture             = current_mod_path..'/Textures/a5m4claud.png',
    Rate                 = 40, -- RewardPoint in Multiplayer
    Shape                 = "a5m4claud",
    
    shape_table_data     =
    {
        {
            file       = 'a5m4claud';
            life       = 18; -- lifebar
            vis        = 3; -- visibility gain.
            desrt    = 'a5m4claud_desrt'; -- Name of destroyed object file name
            fire       = { 300, 2}; -- Fire on the ground after destoyed: 300sec 2m
            username = 'a5m4claud';
            index    =  WSTYPE_PLACEHOLDER;
        },
        {
            name  = "a5m4claud_desrt";
            file  = "a5m4claud_desrt";
            fire  = { 240, 2};
        },
    

 

 

 

On 2/7/2021 at 8:14 PM, freebirddz said:

that due to a wrong name in InputProfiles section in the entry.lua

check that name correspondence with you lua plugin declaration, if you check your controls input profile in options you will find the name of you MOD but not assigne correctly due to non correspondences of then names.

THANKS

  • Like 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...