Class-based character image

A signature and avatar generator addon

Moderator: zanix

Class-based character image

Postby Suirion » Mon Dec 25, 2006 7:26 am

I decided to go overboard and make images of each Dungeon Set (not including the 0.5 set, which is just a different color of Tier 0). Here are 400 images (40 per zip file)... go crazy:

Alliance Start (Alliance races and the clothes they start off with at Level 1)
Alliance Tier 0 (Alliance races in Wildheart, Lightforge, Dreadmist, etc)
Alliance Tier 1 (Alliance races in Cenarion, Lawbringer, Felheart, etc)
Alliance Tier 2 (Alliance races in Stormrage, Judgement, Nemesis, etc)
Alliance Tier 3 (Alliance races in Dreamwalker, Redemption, Plagueheart, etc)

Horde Start (Horde races and the clothes they start off with at Level 1)
Horde Tier 0 (Horde races Wildheart, The Elements, Dreadmist, etc)
Horde Tier 1 (Horde races Cenarion, Earthfury, Felheart, etc)
Horde Tier 2 (Horde races Stormrage, Ten Storms, Nemesis, etc)
Horde Tier 3 (Horde races Dreamwalker, Earthshatter, Plagueheart, etc)

Each image is oversized, uncropped, and improperly named. You'll have to resize and crop the images to suit your signature, as well as rename the file accordingly (unless you plan on using the code below).

Please let me know if any errors are discovered. I sincerely doubt that I made it through 400 images without making a few mistakes.

With that done, I made my own guild's SigGen dynamic by Level, so as they level up, the sigs cycle through the various armor sets. Here's the code. Keep in mind, this route means formatting 200 images, which probably isn't worth the effort.

Code: Select all
#--[ IMAGE CREATION ]------------------------------------------------------

$sig_levelimg = 'Start';
if( $sig_level > 44 ) {$sig_levelimg = 'Tier0';}
if( $sig_level > 49 ) {$sig_levelimg = 'Tier1';}
if( $sig_level > 54 ) {$sig_levelimg = 'Tier2';}
if( $sig_level > 59 ) {$sig_levelimg = 'Tier3';}
if( $sig_level > 64 ) {$sig_levelimg = 'Tier4';}
if( $sig_level > 69 ) {$sig_levelimg = 'Tier5';}

   // Choose the character image
   if( $configData['charlogo_disp'] )
   {
      // Check for custom/uploaded image
      $custom_user_img = $configData['image_dir'].$configData['user_dir'].$sig_name.'.png';

      // Set custom character image, based on name in DB
      if( file_exists($custom_user_img) )
      {
         $im_user_file = $custom_user_img;
      }
      // If custom image is not found, check for race and gender
      elseif( !empty($sig_race) )
      {
         // Set race-gender based image
         if( !empty($sig_gender) )
         {
            $im_user_file = $configData['image_dir'].$configData['char_dir'].$sig_race.'-'.$sig_gender.'-'.$sig_class.'-'.$sig_levelimg.'.png';
         }
         // Set race only image
         else
         {
            $im_user_file = $configData['image_dir'].$configData['char_dir'].$sig_race.'.png';
         }

      }   // Set default character image
      else
      {
         $im_user_file = $configData['image_dir'].$configData['charlogo_default_image'].'.png';
User avatar
Suirion
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Tue Dec 05, 2006 11:46 am

Re: Class-based character image

Postby sieger » Mon Dec 25, 2006 11:44 am

WOW. You are going overboard LOL. They are amazing!!

For those who decides to swap images by level like what Suirion suggests, you can use Faststone Image Viewer(http://www.faststone.org) to crop, resize, convert all images in a batch so you don't have to do it 200+ times. It may make it easier for you...
sieger
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Sun Dec 10, 2006 4:03 pm

Class-based character image

Postby zanix » Tue Dec 26, 2006 3:09 am

Holy freaking wow
Nice

Luckily in SigGen 0.2.0 (release when Roster 1.7.2 is released) selecting image packs will be easier
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Class-based character image

Postby Kaylaura » Tue Jul 03, 2007 4:58 am

Any news on the Draenei and Blood Elf character images?
Kaylaura
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Wed Jul 05, 2006 9:36 pm

Re: Class-based character image

Postby wallfw » Sat Jul 14, 2007 2:18 am

Suirion wrote:I decided to go overboard and make images of each Dungeon Set (not including the 0.5 set, which is just a different color of Tier 0). Here are 400 images (40 per zip file)... go crazy:

Alliance Start (Alliance races and the clothes they start off with at Level 1)
Alliance Tier 0 (Alliance races in Wildheart, Lightforge, Dreadmist, etc)
Alliance Tier 1 (Alliance races in Cenarion, Lawbringer, Felheart, etc)
Alliance Tier 2 (Alliance races in Stormrage, Judgement, Nemesis, etc)
Alliance Tier 3 (Alliance races in Dreamwalker, Redemption, Plagueheart, etc)

Horde Start (Horde races and the clothes they start off with at Level 1)
Horde Tier 0 (Horde races Wildheart, The Elements, Dreadmist, etc)
Horde Tier 1 (Horde races Cenarion, Earthfury, Felheart, etc)
Horde Tier 2 (Horde races Stormrage, Ten Storms, Nemesis, etc)
Horde Tier 3 (Horde races Dreamwalker, Earthshatter, Plagueheart, etc)

Each image is oversized, uncropped, and improperly named. You'll have to resize and crop the images to suit your signature, as well as rename the file accordingly (unless you plan on using the code below).

Please let me know if any errors are discovered. I sincerely doubt that I made it through 400 images without making a few mistakes.

With that done, I made my own guild's SigGen dynamic by Level, so as they level up, the sigs cycle through the various armor sets. Here's the code. Keep in mind, this route means formatting 200 images, which probably isn't worth the effort.

Code: Select all
#--[ IMAGE CREATION ]------------------------------------------------------

$sig_levelimg = 'Start';
if( $sig_level > 44 ) {$sig_levelimg = 'Tier0';}
if( $sig_level > 49 ) {$sig_levelimg = 'Tier1';}
if( $sig_level > 54 ) {$sig_levelimg = 'Tier2';}
if( $sig_level > 59 ) {$sig_levelimg = 'Tier3';}
if( $sig_level > 64 ) {$sig_levelimg = 'Tier4';}
if( $sig_level > 69 ) {$sig_levelimg = 'Tier5';}

   // Choose the character image
   if( $configData['charlogo_disp'] )
   {
      // Check for custom/uploaded image
      $custom_user_img = $configData['image_dir'].$configData['user_dir'].$sig_name.'.png';

      // Set custom character image, based on name in DB
      if( file_exists($custom_user_img) )
      {
         $im_user_file = $custom_user_img;
      }
      // If custom image is not found, check for race and gender
      elseif( !empty($sig_race) )
      {
         // Set race-gender based image
         if( !empty($sig_gender) )
         {
            $im_user_file = $configData['image_dir'].$configData['char_dir'].$sig_race.'-'.$sig_gender.'-'.$sig_class.'-'.$sig_levelimg.'.png';
         }
         // Set race only image
         else
         {
            $im_user_file = $configData['image_dir'].$configData['char_dir'].$sig_race.'.png';
         }

      }   // Set default character image
      else
      {
         $im_user_file = $configData['image_dir'].$configData['charlogo_default_image'].'.png';


the links are dead :(
wallfw
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon Apr 30, 2007 7:52 pm

Previous

Return to SigGen

Who is online

Users browsing this forum: No registered users and 0 guests

cron