Results 1 to 2 of 2

Thread: Cursor?

  1. #1
    to be able to use another Cursor. do i need a addon?

    i was looking a bit at: http://community.bistudio.com/wiki/PROPER:Mod#PROPER_UI and i see a cursor color changer addon..

    now i have upbo the file. and looked at the files. ther was one file i found intresting,,

    core.hpp
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    class CfgInGameUI
    {
    class Cursor
    {
    leaderColor&#91;&#93; = {1.000000,1.000000,0.000000,1.000000}; //{0,0.6,0,0.65};
    selectColor&#91;&#93; = {1.000000,1.000000,0.000000,1.000000}; //{0,0.6,0,0.65};
    activeWidth = 0.223500; //0.1875;
    activeHeight = 0.300000; //0.25;
    activeMinimum = 0.120000; //0.07;
    activeMaximum = 0.160000; //0.12;
    };
    };
    [/QUOTE]

    if i change that file to.

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    class CfgInGameUI
    {
    class Cursor
    {
    class Arrow
    {
    texture = &#34;myCursor.paa&#34;;
    width = 32;
    height = 32;
    hotspotX = 0.1875;
    hotspotY = 0.03125;
    };
    };
    };
    [/QUOTE]

    will this work?

    -- BEC, Battleye Extended Controls --
    -- BEC Forum Thread --

    Spoiler:

  2. #2
    try this instead

    Quote Originally Posted by [b
    Quote[/b] ]class CfgWeaponCursors
    {
    class RifleCursorCore;
    class MGCursorCore;
    class LawCursorCore;
    class RifleCursor: RifleCursorCore
    {
    texture = "&#92;ca&#92;Weapons&#92;Data&#92;w_weapon_T";
    };
    class MGCursor: MGCursorCore
    {
    texture = "&#92;ca&#92;Weapons&#92;Data&#92;w_weapon_mg" ;
    };
    class LawCursor: LawCursorCore
    {
    texture = "&#92;ca&#92;Weapons&#92;Data&#92;w_weapon";
    };
    class GLCursor: RifleCursorCore
    {
    texture = "&#92;ca&#92;Weapons&#92;Data&#92;w_weapon_G";
    };
    };

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •