Raid Progression Mod SDK

Raid tracking for Guilds For Raids over 10 man

Moderator: Ulminia

Raid Progression Mod SDK

Postby Ulminia » Sat Nov 01, 2008 2:47 am

Ok so you want to create a mod for Raid Progresion heres what you need to know...
All info is based on the first Mod PVP made by me
Edited november 21
File Structure will be as follows
moduels/PVP/
->PVP contains
--> Localfiles (enUS.php, enDE.php ect)
--> install.php (must have file)

no display files are needed because of the way the mods are designed to be unaversal.. aswell as no update file... easy huh

Local file Example

Code: Select all
$lang['pro_PVP_title'] = 'PVP sets|mod for<br> Raid Progression';
$lang['pro_PVP_title'] = 'PVP sets';


notice the addon foldername preseeds any lang var this is so clashes do not happen in mods.. these are basicly all you need in the local file for now untill i improve all the ways mods work in the next release

Install file

the install file must be in this format..

Code: Select all
class PVPInstall
{

      var $fullname = 'PVP Items';
      var $description = 'Guild pvp sets';
      var $icon = 'inv_bannerpvp_03';
      var $version = '1.0';
      var $credits = array(
      array(   "name"=>   "Ulminia warcraftalliance@gmail.com",
            "info"=>   "Retired Roster Dev Now addon Dev!"),
   );


var $info = array(


'PVPHunter' => Array( <- info one

      'pvpea2' => Array( <- info two
     
            'item_texture' => 'INV_BannerPVP_02',
            'item_quality' => 'q6',      
            'item_sub_head' => 'q5|pvps1',     
            'info' => Array( <- info three
                  Array( 'item_id' => '16465', 'item_texture' => 'INV_Helmet_05', 'item_quality' => 'q4', 'item_name' => 'Field Marshal\'s Chain Helm' ),
                  Array( 'item_id' => '16468', 'item_texture' => 'INV_Shoulder_10', 'item_quality' => 'q4', 'item_name' => 'Field Marshal\'s Chain Spaulders' ),
                  Array( 'item_id' => '16466', 'item_texture' => 'INV_Chest_Chain_03', 'item_quality' => 'q4', 'item_name' => 'Field Marshal\'s Chain Breastplate' ),
                  Array( 'item_id' => '16463', 'item_texture' => 'INV_Gauntlets_10', 'item_quality' => 'q4', 'item_name' => 'Marshal\'s Chain Grips' ),
                  Array( 'item_id' => '16467', 'item_texture' => 'INV_Pants_Mail_17', 'item_quality' => 'q4', 'item_name' => 'Marshal\'s Chain Legguards' ),
                  Array( 'item_id' => '16462', 'item_texture' => 'INV_Boots_Plate_07', 'item_quality' => 'q4', 'item_name' => 'Marshal\'s Chain Boots' ),
            ),
      ),

      'pvpra2' => Array(
     
            'item_texture' => 'INV_BannerPVP_02',
            'item_quality' => 'q6',
            'item_sub_head' => 'q5|pvps2',
            'info' => Array(
                  Array( 'item_id' => '23306', 'item_texture' => 'INV_Helmet_21', 'item_quality' => 'q3',  'item_name' => 'Lieutenant Commander\'s Chain Helm' ),
                  Array( 'item_id' => '23307', 'item_texture' => 'INV_Shoulder_16', 'item_quality' => 'q3',  'item_name' => 'Lieutenant Commander\'s Chain Shoulders' ),
                  Array( 'item_id' => '23292', 'item_texture' => 'INV_Chest_Chain_04', 'item_quality' => 'q3',  'item_name' => 'Knight-Captain\'s Chain Hauberk' ),
                  Array( 'item_id' => '23279', 'item_texture' => 'INV_Gauntlets_17', 'item_quality' => 'q3',  'item_name' => 'Knight-Lieutenant\'s Chain Vices' ),
                  Array( 'item_id' => '23293', 'item_texture' => 'INV_Pants_03', 'item_quality' => 'q3',  'item_name' => 'Knight-Captain\'s Chain Legguards' ),
                  Array( 'item_id' => '23278', 'item_texture' => 'INV_Boots_05', 'item_quality' => 'q3',  'item_name' => 'Knight-Lieutenant\'s Chain Greaves' ),
            ),
      ),

      'pvpeh2' => Array(
     
            'item_texture' => 'INV_BannerPVP_01',
            'item_quality' => 'q6',
            'item_sub_head' => 'q5|pvps1',
            'info' => Array(
                  Array( 'item_id' => '16566', 'item_texture' => 'INV_Helmet_09', 'item_quality' => 'q4', 'item_name' => 'Warlord\'s Chain Helmet' ),
                  Array( 'item_id' => '16568', 'item_texture' => 'INV_Shoulder_29', 'item_quality' => 'q4', 'item_name' => 'Warlord\'s Chain Shoulders' ),
                  Array( 'item_id' => '16565', 'item_texture' => 'INV_Chest_Chain_11', 'item_quality' => 'q4', 'item_name' => 'Warlord\'s Chain Chestpiece' ),
                  Array( 'item_id' => '16571', 'item_texture' => 'INV_Gauntlets_11', 'item_quality' => 'q4', 'item_name' => 'General\'s Chain Gloves' ),
                  Array( 'item_id' => '16567', 'item_texture' => 'INV_Pants_Mail_16', 'item_quality' => 'q4', 'item_name' => 'General\'s Chain Legguards' ),
                  Array( 'item_id' => '16569', 'item_texture' => 'INV_Boots_Plate_06', 'item_quality' => 'q4', 'item_name' => 'General\'s Chain Boots' ),
            ),
      ),

      'pvprh2' => Array(
     
            'item_texture' => 'INV_BannerPVP_01',
            'item_quality' => 'q6',
            'item_sub_head' => 'q5|pvps2',
            'info' => Array(
                  Array( 'item_id' => '23251', 'item_texture' => 'INV_Helmet_03', 'item_quality' => 'q3',  'item_name' => 'Champion\'s Chain Helm' ),
                  Array( 'item_id' => '23252', 'item_texture' => 'INV_Shoulder_01', 'item_quality' => 'q3',  'item_name' => 'Champion\'s Chain Shoulders' ),
                  Array( 'item_id' => '22874', 'item_texture' => 'INV_Chest_Chain_04', 'item_quality' => 'q3',  'item_name' => 'Legionnaire\'s Chain Hauberk' ),
                  Array( 'item_id' => '22862', 'item_texture' => 'INV_Gauntlets_17', 'item_quality' => 'q3',  'item_name' => 'Blood Guard\'s Chain Vices' ),
                  Array( 'item_id' => '22875', 'item_texture' => 'INV_Pants_03', 'item_quality' => 'q3',  'item_name' => 'Legionnaire\'s Chain Legguards' ),
                  Array( 'item_id' => '22843', 'item_texture' => 'INV_Boots_05', 'item_quality' => 'q3',  'item_name' => 'Blood Guard\'s Chain Greaves' ),
            ),
      ),
),


ok heres the break down

Info One

this is deamed a main catagory ex: PVPHUNTER

Info Two

this is a sub catagory in this option you can set a icon for the table using 'item_texture' and 'item_quality' sets the color of the text,
as well as set sub text item_sub_head this should be in the format "q5|pvps2" q5 being the color and pvps2 being a language var.

Info Three

this is teh axual info that will be displayed item_name and item_id are mandatory to work in the addon
Last edited by Ulminia on Sat Nov 22, 2008 5:11 am, edited 3 times in total.
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Return to Raid Progression

Who is online

Users browsing this forum: No registered users and 0 guests

cron