Jump to content

Karma_UK

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Karma_UK

  1. As far as I know the picture is called for my the tradermenu.sqf so you problem would lie there. As I never had that problem, it might be a good idea for you to completely remove and reinstall the vanilla code, but keep copies of any changes you made. I know it's tedious but I would make a change, test it, make a change test it, etc because that to me is the only surefire way of knowing exactly what the problem is.

  2. It is very simple to fix.

     

    Open tradedialog.hpp

    Got to line 123.  Assuming you have the default file, the few lines above this should read :

    class HS_trader_tree: HALV_CT_TREE
            {
                idc = 9997;
                text = "";
                x = 0.458763 * safezoneW + safezoneX;
                y = 0.225069 * safezoneH + safezoneY;
                w = 0.247423 * safezoneW;
                h = 0.549862 * safezoneH;
                onTreeDblClick = "_this call HS_additemtolb;false";
                onTreeSelChanged = "_this call Halv_onlbtreeselected;false";

     

    If not, then the end of this block of code is where you want to be, BEFORE the curly bracket that closes off the section. Cut and paste the following to that location:

     

                colorPicture[] = {0,0,0,0};
                colorPictureSelected[] = {0,8,0,0,8};
                colorPictureDisabled[] = {0,8,0,0,8};
                colorPictureRight[] = {0,8,0,0,8};
                colorPictureRightSelected[] = {0,8,0,0,8};
               colorPictureRightDisabled[] = {0,8,0,0,8};
              

    All you are doing is defining colours for items as called for by the script. The (0,8,0,0,8} can be changed to any colour you wish but for now I suggest you check that it works before you start changing it. 

    Hope that is clear enough. Shout if you have any questions. 

    PS I only just read back through the thread and saw you asked these questions before. Wish I had said something sooner. Sorry to leave you hanging like that bro. Hope you get it sorted now anyway

     

     

  3. Hey IT07, firstly fantastic work you have done here, thank you!!

     

    I have looked through the posts but do not find anything about the static AI mission at the bottom of the config. I have tried to get it working but keep coming short on the position settings, regardless of which format I use. Am I missing something? Or must the mission be added to missionlist[]?

    Secondly, the town missions activate when the player is approximately 800m out. Is this configurable?

     

    Thank you in advance!!

×
×
  • Create New...