Download
(877Kb)
Download
Updated: 08-14-13 03:43 PM
Pictures
File Info
Updated:08-14-13 03:43 PM
Created:08-14-13 03:43 PM
Downloads:1,467
Favorites:4
MD5:

Crabby the Dungeon Helper

Version: 0.10
by: Malsomnus [More]

Everybody knows Crabby, the Dungeon Helper! But after years of waiting, it became apparent that Blizzard was not really going to release this wonderful feature, so I took it upon myself to do it for them.

This add-on puts Crabby, in all his crustacean glory, on your screen. He will stand there and look at you as you raid, or PvP, or whatever it is that you do, and surely his very presence will cheer you up, and boost your spirit, and... umm... improve your miles per gallon. Yeah.
Crabby occasionally reacts to stuff you do. I hope that some of the stuff he says will make someone chuckle. More reactions and texts and options will be added in the future.

Most importantly, Crabby has a simple API (just look in the code) that I hope other developers will use as an optional bonus in their own add-ons, so that anyone who uses your add-on and has Crabby installed will benefit from this marvelous synergy. I, for example, plan to update Raidbot so that automatic messages will be displayed in a Crabby speech bubble, because it's really visible.

Tons of thanks to killerpet1986 for the Crabby sprite (though for some reason I had to spend about 4 hours editing it so that it wouldn't make my game crash).

This is still in beta, and all feedback is very much appreciated!

_________________________________________

Have you seen my other add-ons yet?
SanityCheck - Of course you know how to play your class, but there is just so much to remember!
Flaskaholic - Flasks are expensive, stop wasting them!
Surprise - What does this add-on do? There is only one way to find out!
MooTrack - The simple, lightweight way to keep track of buffs and debuffs!
MagicMarker - One configurable tool for all your automatic marking needs!

Optional Files (0)


Post A Reply Comment Options
Unread 09-17-13, 12:59 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
Originally Posted by zork
Tested. You cannot turn the model around z-axis. NOOOO.
Surely you can do that by moving the model's camera?
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 09-16-13, 08:32 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Alternatively this should work:

NPC: http://www.wowhead.com/npc=50051/ghostcrawler#comments
Scanning the browser code delivers:
Code:
ModelViewer.show({ type: 1, typeId: 50051, displayId: 37396 })
So...
Lua Code:
  1. local crabby = CreateFrame("Frame", "CrabbyFrame", UIParent)
  2. crabby:SetSize(200,200)
  3. crabby:SetPoint("CENTER")
  4. crabby.models = {}
  5. for i=1,3 do
  6.   local model = CreateFrame("PlayerModel", nil, crabby)
  7.   model:SetDisplayInfo(37396)
  8.   model:SetAllPoints()
  9.   crabby.models[i] = model
  10. end

Actually you can double/tripple the model. This will help with color density.

What you need to do is to play around with the camera position. The SWF is using the same model. I bet on that. So all you have to do is to make the camera match.
For a function reference check: http://wowprogramming.com/docs/widgets/Model

The last step to make it perfect is: You run an texture animation widget on the eyes. Basically you make them move around via texture translation. All you need is a proper eye TGA file. I make you one.

-- update ----------------

Here is the eye sprite:
http://rothui.googlecode.com/svn/tru...eye_sprite.tga




-- update2 ----------------

Tested. You cannot turn the model around z-axis. NOOOO.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-16-13 at 11:38 AM.
Report comment to moderator  
Reply With Quote
Unread 09-06-13, 11:22 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
Oh god, you have made Crabbizzaro ^^
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 09-06-13, 10:25 AM  
Resike
A Pyroguard Emberseer
AddOn Author - Click to view AddOns

Forum posts: 1290
File comments: 246
Uploads: 12
WELL isnt it adorable?



Actually couldn't find any good eyebrows fro him yet.
Last edited by Resike : 09-06-13 at 10:28 AM.
Report comment to moderator  
Reply With Quote
Unread 09-06-13, 09:56 AM  
Resike
A Pyroguard Emberseer
AddOn Author - Click to view AddOns

Forum posts: 1290
File comments: 246
Uploads: 12
Originally Posted by Malsomnus
Originally Posted by Resike
Why don't you guys use actual model?
Because there isn't, as far as I know, a Crabby model. I see that you used Creature\\Deepseacrab\\deepseacrab_ghost.m2, but I'm pretty sure it doesn't have Crabby's eyes and eyebrows, which are what makes him so special.
Yeah, but you can use thoose as a texture.
Report comment to moderator  
Reply With Quote
Unread 09-06-13, 09:51 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
Originally Posted by Resike
Why don't you guys use actual model?
Because there isn't, as far as I know, a Crabby model. I see that you used Creature\\Deepseacrab\\deepseacrab_ghost.m2, but I'm pretty sure it doesn't have Crabby's eyes and eyebrows, which are what makes him so special.
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 09-06-13, 09:04 AM  
Resike
A Pyroguard Emberseer
AddOn Author - Click to view AddOns

Forum posts: 1290
File comments: 246
Uploads: 12
Why don't you guys use actual model?

https://github.com/Resike/Crabby

Then you can have access for loads of animations, rotate it as you would like and so on. (Like you can kill Crabby, when your party wiped, etc.)

RightClick to jump too to next animation, MiddleClick to reset it to default.

Control+RightClick he does a 360 spin with proper animation to the left, Alt+RightClick same thing but to the right.
Last edited by Resike : 09-06-13 at 09:39 AM.
Report comment to moderator  
Reply With Quote
Unread 08-23-13, 05:07 PM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
Originally Posted by suicidalkatt
Originally Posted by Malsomnus
I finally got around to testing your animation. The first one blinks a lot (together with the ADD mode, it could look amusingly nice on a screen of some sort), and the second one significantly reduces my FPS. I may have to find another solution for getting a higher quality...
What are your PC specs if you don't mind me asking?
This machine is ancient enough for me to be professionally ashamed of it. But I couldn't release an add-on that doesn't work satisfactorily on my own PC
But my own version seems to work fine, so maybe there's some nuance in the code that could be causing this difference. I would look into it, but... again, without the eyes, it's a bit pointless to use a sprite at all.
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 08-23-13, 04:59 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by Malsomnus
I finally got around to testing your animation. The first one blinks a lot (together with the ADD mode, it could look amusingly nice on a screen of some sort), and the second one significantly reduces my FPS. I may have to find another solution for getting a higher quality...
What are your PC specs if you don't mind me asking?
Report comment to moderator  
Reply With Quote
Unread 08-23-13, 11:31 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
I finally got around to testing your animation. The first one blinks a lot (together with the ADD mode, it could look amusingly nice on a screen of some sort), and the second one significantly reduces my FPS. I may have to find another solution for getting a higher quality...

... plus, it's without the eyes

On the bright side, the next version will have Crabby giving you valuable tips when you die!
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 08-19-13, 09:04 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by Malsomnus
This frame looks great, makes my current quality look even worse in comparison Even 30 frames at this quality would be a huge improvement.

I am slightly worried that 20Mb of graphics might weigh the game down. I don't really know how the game handles that sort of thing though, so I will probably start by trying out the frames from your last zip file when I get home and seeing how that works.
Quick little test I made I had to re-do the textures at 512x256 for the 'power of 2' etc.

The animation seems pretty smooth, I get no fps drop.

There can be slight 'blinking' of the texture but it seemed fairly rare, could just be the update rate.

Edit: Blinking seems to be from textures not quite being loaded just yet and being skipped. Having a few large textures and going through TexCoord functions would be the 'best / smoothest' way to go.

See for yourself!!

My tester addon: https://dl.dropboxusercontent.com/u/14186909/C_T.zip

Edit 2: Here is a new version with a 'Composite' image much like you used to get a much smoother animation

https://dl.dropboxusercontent.com/u/...09/C_T_New.zip
Last edited by suicidalkatt : 08-19-13 at 11:25 AM.
Report comment to moderator  
Reply With Quote
Unread 08-19-13, 08:25 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
This frame looks great, makes my current quality look even worse in comparison Even 30 frames at this quality would be a huge improvement.

I am slightly worried that 20Mb of graphics might weigh the game down. I don't really know how the game handles that sort of thing though, so I will probably start by trying out the frames from your last zip file when I get home and seeing how that works.
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Unread 08-19-13, 08:00 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Hmm, well, unless someone knows of a good way to convert .swf to .flv don't think we're going to get a clean animation, here is one frame though that I could get from After Effects:



In-game quality and at 75% scale:
Last edited by suicidalkatt : 08-19-13 at 08:19 AM.
Report comment to moderator  
Reply With Quote
Unread 08-19-13, 07:44 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally Posted by Malsomnus
Well, that's good quality, and more frames than my current sprite has... but I think that if I have to add the eyes manually then I might as well just let the game render a crab model, wouldn't you say? Plus it would give me a few extra animations which may be useful in the future.
It gives you the full arsenal to make him as 'alive' as possible, perhaps some other more experienced authors could team up with you for a super clean animation sequence for other emotes.

I forgot about the other .swf file in the decomposition which does have the full eyes incorporated, give me a bit and I should have a nice sequence for you.
Report comment to moderator  
Reply With Quote
Unread 08-19-13, 07:17 AM  
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 79
Uploads: 21
Well, that's good quality, and more frames than my current sprite has... but I think that if I have to add the eyes manually then I might as well just let the game render a crab model, wouldn't you say? Plus it would give me a few extra animations which may be useful in the future.
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: