Jump to content

=242= CPT. Helios

Member
  • Content Count

    80
  • Joined

  • Last visited

  • Medals

Posts posted by =242= CPT. Helios


  1. I've just downloaded the latest version of CUP (1.2.0) and installed the keys on my server, both the CUP_CORE and CUP_Maps files are present in the server. However, when I try to join the server running an identical version of CUP as downloaded to the server( with keys and all). I'm instantly kicked out with no message. I've run the server vanilla, and with every other combination of mods to narrow down that this only happens when CUP is included.

    Error Message is
    "You were kicked" with no description towards what plugins were erroneous.

    Server.LOG file shows only "player was disconnected"


  2. I'd like to have a description.ext that changes a mission wide respawn template depending on different circumstances given. 

    If the server is using ACE3, the respawn templates should be as follows

    respawnTemplatesWest[] = {"Tickets","MenuPosition"};
    respawnTemplatesEast[] = {"Tickets","MenuPosition"};
    respawnTemplatesGuer[] = {"Tickets","MenuPosition"};

    If the server is Vanilla, or otherwise not using ACE3, the respawn templates should be as follows. 

    respawnTemplatesWest[] = {};
    respawnTemplatesEast[]  = {};
    respawnTemplatesGuer[] = {};

    If I have to create an addon to this, that's fine, but I would rather simply keeping these constraints to the mission file. Here's what I've done so far

    __EVAL(if (isClass(configFile >> "cfgPatches" >> "ace_main")) then {RespawnTemplatesWest = {};})
    

    But this returns an Input after endoffile error, and I can't seem to get this to work. Is there a solution, or a workaround>
    Would I have to create a new respawn template and somehow script this functionality in by hand?


  3. b16509c023.jpg

     

    Used types are "mortar", "recon", "Engineer, Maintenance, Assault, Assault  and UAV. These icons do not show up but others do. Here are the troublesome icons.

      class SupportTeams {
        id = 8;
        idtype = 0;
        side = "WEST";
        size = "Platoon";
        Type = "Infantry";
        Text = "%1 %2 %3";
        TextShort = "Support Platoon";
        class Mortars {
          id = 1;
          idType = 0;
          size = "Section";
          type = "mortar";
          Text = "%1 Mortar Battery";
          textshort = "Mortars Battery";
        };
        class Sniper {
          id = 5;
          idType = 0;
          size = "Fireteam";
          type = "Recon";
          Text = "%1 Sniper Squad";
          textshort = "Sierra Team (Sniper)";
        };      
        class Engineer {
          id = 7;
          idType = 0;
          size = "Platoon";
          type = "Maintenance";
          Text = "7th EOD Platoon";
          textshort = "Hades EOD / Engineering";
          assets[]={{"B_MRAP_01_F",4}};
          class Hades1 {
            id = 1;
            idtype = 0;
            size = "Squad";
            type = "Assault";
            Text = "1st Combat Engineering Team";
            TextShort = "Hades 1";
          };
          class Hades2 {
            id = 2;
            idtype = 0;
            size = "Squad";
            type = "Assault";
            Text = "2nd Combat Engineering Team";
            TextShort = "Hades 2";
          };        
        };            
      };
    
        class UAV {
          id = 1;
          idType = 0;
          size = "Section";
          type = "UAV";
          Text = "%1 %2 Section";
          textshort = "UAV Section";
          Assets[] = {{"B_UAV_02_F",2}};
        };   
     

     

     

     


  4.  

    That would be correct, a better path would be:

    "your mission name*.*island*\NS\Imgs\242logo.paa"

     

     

    The thing is that doesn't work, I tried that a while ago, seems it only likes a full path for some reason, only does this with ORBATs from my knowledge.

    Correct me if I'm wrong.

    I hope you find a solution soon :)

    The solution provided in the second post works. Here is an example for those who want to see it

     

    class CFGOrbat {
    class EXAMPLECFG{
      Insignia = __EVAL((__FILE__ select [0, count __FILE__ - 15])+"NS\Imgs\242Logo.paa");
      Texture  = __EVAL((__FILE__ select [0, count __FILE__ - 15])+"NS\Imgs\242Logo.paa");
      colorInsignia[] = {1,1,1,1};
      color[] = {1,1,1,1}; 	
      };
    };
    

    However, I have an additional problem. I would like to put the entire CFGORBAT into a hpp file and then read it with an include. This helps to keep the description.ext down and assist with moving the orbat around. However, when I use the #include command. I can no longer see the image even with this command. Do preprocessor commands like this break down when used with an #include? Is there any way to negotiate this? Here is an example of what I'm trying to accomplish.

    Description.EXT

    class CFGOrbat {
      #include "NS\Orbat.hpp"
    };
    

    NS\Orbat.Hpp

     

    class 242ndNS {
      Insignia = __EVAL((__FILE__ select [0, count __FILE__ - 13])+"\NS\Imgs\242Logo.paa");;
      Texture  = __EVAL((__FILE__ select [0, count __FILE__ - 13])+"\NS\Imgs\242Logo.paa");;
      colorInsignia[] = {1,1,1,1};
      color[] = {1,1,1,1};

    I have attempted to use #define to create the path before the #include, but this does not work. This was my original attempt

    Description.EXT

     

    #define NSIMAGEFILEPATH __EVAL((__FILE__ select [0, count __FILE__ - 15])+"NS\Imgs\242Logo.paa")
    class CFGOrbat {
      #include "NS\Orbat.hpp"
    };
    
    

    NS\Orbat.hpp

     

    class 242ndNS {
      Insignia = NSIMAGEFILEPATH;
      Texture  = NSIMAGEFILEPATH;
      colorInsignia[] = {1,1,1,1};
      color[] = {1,1,1,1};
    };
    
    • Like 2

  5. class 242ndNS {
    Insignia = "\NS\Imgs\242logo.paa";
    texture = "\NS\Imgs\242logo.paa"; /*can't get this to work for some reason */
    };
    

    Everything works except for the texture. The weird thing is that the Insignia works just fine. I'm not sure why I can't get the texture to appear though

     

    The solution provided in the second post works. Here is an example for those who want to see it. However, this is another problem that I'm having.

     

    class CFGOrbat {
     class 242ndNS {
      Insignia = __EVAL((__FILE__ select [0, count __FILE__ - 15])+"NS\Imgs\242Logo.paa");
      Texture = __EVAL((__FILE__ select [0, count __FILE__ - 15])+"NS\Imgs\242Logo.paa");
      colorInsignia[] = {1,1,1,1};
      color[] = {1,1,1,1};     
      };
    };

    However, I have an additional problem. I would like to put the entire CFGORBAT into a hpp file and then read it with an include. This helps to keep the description.ext down and assist with moving the orbat around. However, when I use the #include command. I can no longer see the image even with this command. Do preprocessor commands like this break down when used with an #include? Is there any way to negotiate this? Here is an example of what I'm trying to accomplish.

    Description.EXT

    class CFGOrbat {
    #include "NS\Orbat.hpp"
    };

    NS\Orbat.Hpp

    class 242ndNS {
      Insignia = __EVAL((__FILE__ select [0, count __FILE__ - 13])+"NS\Imgs\242Logo.paa");;
      Texture  = __EVAL((__FILE__ select [0, count __FILE__ - 13])+"NS\Imgs\242Logo.paa");;
      colorInsignia[] = {1,1,1,1};
      color[] = {1,1,1,1};
    };
    

    I have attempted to use #define to create the path before the #include, but this does not work. This was my original attempt

    Description.EXT

    #define NSIMAGEFILEPATH __EVAL((__FILE__ select [0, count __FILE__ - 13])+"NS\Imgs\242Logo.paa")
    class CFGOrbat {
    #include "NS\Orbat.hpp"
    };

    NS\Orbat.hpp

     

    class 242ndNS {
    Insignia = NSIMAGEFILEPATH;
    Texture = NSIMAGEFILEPATH;
    colorInsignia[] = {1,1,1,1};
    color[] = {1,1,1,1};
    };

     


  6. The APEX campaign had some splendid blue nametags. My group would like to replace its nametag mod with these nametags from bohemia. Fewer mods is always better. I have not been able to reconstruct the campaign missions to see how this is done. Could someone please explain how this process works?

    The respawning system in the campaign is also excellent, allowing players to respawn on their group members. How exactly does this work, and can I combine it with the BIS_Revive system?


  7. Whenever I turn on VerifySignatures = 2; onto my server.CFG, the server erratically kicks players for no reason. Every player gets kicked regardless of their ping. I don't get any error messages, I Don't have a MAXPING setting on the server. We're running 0 mods when this happens. If there is no way to get battleye to stop ruining my games, please tell me how I can stop the hackers from destroying my games by stopping them from coming in with their mods.z


  8. Whenever I turn on VerifySignatures = 2; onto my server.CFG, the server erratically kicks players for no reason. Every player gets kicked regardless of their ping. I don't get any error messages, I Don't have a MAXPING setting on the server. We're running 0 mods when this happens. If there is no way to get battleye to stop ruining my games, please tell me how I can stop the hackers from destroying my games by stopping them from coming in with their mods.

×