The Forums Are Now Closed!

The content will remain as a historical reference, thank you.

[MOD][UI] Bman's Godlike Team Panel v1.2.3

Wrathful!

By on November 24, 2009 1:11:08 AM from Demigod Forums Demigod Forums External Link

bman654

Join Date 02/2006
+79

Screenshot

Features
- Adds a panel just above your ability bar which shows portraits of your teammates.
- Each portrait shows the Name, Level, HP, and MANA of that player
- Clicking on a portrait will center the camera on that player
- Moving mouse over portrait will display rollover information for that ally
- If the player is dead, their portrait will be greyed out.

Changelog
v1.2.3
- Reduced cpu overhead of mod (should cause less lag for those that noticed any).
- Made health/mana/name text bigger and more readable
- Health text turns red when low
v1.2.2
- Fixed incompatibility with Rollover Ally Info mod
v1.2.1
- Improved visibility of mana/health bars
- Improved readability of mana/health numbers
- Moving mouse over team members now activates rollover display
- Fixed interaction with viewing Replays
v1.2
- Made compatible with Demigod v1.2 mod system

Notes:
This is a User-Interface mod, so it doesn't require anyone else to have it installed.

How to Install:
Easiest way is to download the installer and just run it.  It will take care of everything for you.  If you prefer, you can download the ZIP archive and extract the folder into the Mods directory for Demigod.
eg. C:\Program Files (x86)\Stardock Games\Demigod\bindata\mods

How to Enable:
Inside Demigod, and under the Mod Manager, simply enable the mod!

If you have problems, make sure that your directory setup is akin to:
C:\Program Files (x86)\Stardock Games\Demigod\bindata\mods\Bman Godlike Team Panel\mod_info.lua

Files modified (for mod conflict checking only):
lua\ui\game\InGameUI.lua (merge-friendly so compatible with other mods that modify this file as long as they are either merge-friendly or designed to load before this mod)

Downloads:
- v1.2.3 Installer (Recommended Download)
- v1.2.3 ZIP Archive (For those of you that do not like to download .exe files)

Wishlist
- Be able to click on a portrait when targetting a spell, like Heal.  Currently engine does not expose a method to assign a target from the lua UI code.

Locked Post 76 Replies +7
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 1:16:22 AM from Demigod Forums Demigod Forums

AWESOME! We have been wating for this.

A very big thank you!

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 2:11:29 AM from Demigod Forums Demigod Forums

Well played, sir.  Thanks!

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 2:15:34 AM from Demigod Forums Demigod Forums

ok... feedback.  I had to check this out right away... can these be made any bigger?  I play on a larger monitor (28in) using 1920xblah.  I can barely make out what the values are for each player.  Any tweaks possible?

I'd seriously consider changing my resolution to make this more usable as its a much need feature imo, but I'd prefer to keep things as they are.  Any thoughts? 

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 2:17:38 AM from Demigod Forums Demigod Forums

Nice mod.

 

BMAN how did you make an installer that looks up the game's dir?

 

 

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 2:29:04 AM from Demigod Forums Demigod Forums

Peppe - answer to your question from bman: 

https://forums.demigodthegame.com/369938

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 9:23:00 AM from Demigod Forums Demigod Forums

Pacov - possibly.  Can you post a full-resolution screenshot so I can see how it looks on widescreen?

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 10:01:00 AM from Demigod Forums Demigod Forums

I've got the same trouble as Pacov, other than that it is perfect.

Uploading picture:

http://img109.imageshack.us/img109/6383/bmanspic.png

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 10:05:18 AM from Demigod Forums Demigod Forums

Esuzu: resizing the screenshot is a bit pointless . You can't tell anything from that.

But basically: the issue here is just that the text size is small and thus generally not that easy to read. It won't change with the resolution.

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 10:14:42 AM from Demigod Forums Demigod Forums

ah well, that tells me what I need to know - it looks the same on widescreen as on 4:3.  I'll make a toggle to hide the portraits and increase the size of the bars.

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 11:18:10 AM from Demigod Forums Demigod Forums

Thanks, bman!

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 6:05:11 PM from Demigod Forums Demigod Forums

 

Bug report: viewing Replays with this enabled loses the replay menu and you can't f10 end game (doesn't do anything).

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 8:00:18 PM from Demigod Forums Demigod Forums

How do you play a replay?

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 8:06:35 PM from Demigod Forums Demigod Forums

I have one question to all of you who tried this mod. Can you cast spells on a teammate by just clicking on their icons ? If that was possible that would be FAN-BLOODY-TASTIC.

If it is not, is it possible to code that ??

Thankx for your hard work bman654 !

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 8:09:41 PM from Demigod Forums Demigod Forums

You are a god among men bman!! +1 Karma

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 8:10:15 PM from Demigod Forums Demigod Forums

Quoting bman654,
How do you play a replay?

When you finish a game you now have the option to save the replay of that game. You can find your saved replays's here,

C:\Users\USER_NAME\Documents\My Games\Gas Powered Games\Demigod\replays\USER_NAME

Also the game auto saves the last game replay also found in the above folder, Should be called LastGame.DGReplay.

To watch, navigate to Replay in the DG main menu and the load desired file. Also, replay's can be uploaded to GameReplays.org, which already have a good selection of replays to download, though you will need an account there.

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 9:48:29 PM from Demigod Forums Demigod Forums

ok 1.2.1 is ready:

- Improved visibility of mana/health bars
- Improved readability of mana/health numbers
- Moving mouse over team members now activates rollover display
- Fixed interaction with viewing Replays

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 10:13:13 PM from Demigod Forums Demigod Forums

Thank you Bman for updating this.  Best UI mod yet.

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 10:20:16 PM from Demigod Forums Demigod Forums

Candidate for the first Mod to receive offical implementation? I think so!
 

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 11:07:52 PM from Demigod Forums Demigod Forums

Still love it, but it still a little small.  Any chance of getting it a wee bit bigger still?

Reason for Karma (Optional)
Successfully updated karma reason!
November 24, 2009 11:37:06 PM from Demigod Forums Demigod Forums

there's a bug in the DG engine that makes v1.2.1 randomly incompatible with the Rollover Ally Info mod.

I just updated to v1.2.2 where I change the way I hook into the rollover code to guarantee that I hook into the rollover code *after* the Rollover Ally Info mod.

@pacov: how big would "wee bit" be?  Is it the bars or the numbers or both?

Reason for Karma (Optional)
Successfully updated karma reason!
November 25, 2009 12:03:36 AM from Demigod Forums Demigod Forums

Thanks for the update, just noticed the incompatibilty and now it is fixed.

Reason for Karma (Optional)
Successfully updated karma reason!
November 25, 2009 12:49:13 AM from Demigod Forums Demigod Forums

Thanks for the quick update.  Downloading now.

Reason for Karma (Optional)
Successfully updated karma reason!
November 25, 2009 12:51:51 AM from Demigod Forums Demigod Forums

trying out your newnew version.  Will let you know asap.  Thanks again, bman!

edit - well, i think my main issue is the size of text for health/mana.  And again, I'm playing this is 1920X1200... this might be perfect in other resolutions, but its small to me on 28inch screen.  If the size of the text was increased by about 1/4, that would probably do it, if that's possible. Maybe both bars + text?  I'm happy to toy around with it if you tell me where to look. 

I like having player names there, but if you had to get rid of them for spacing, that wouldn't mess me up much.  I usually say UB back or ERB back in game instead of people's nicknames anyway (but it is nice to see their names).

Reason for Karma (Optional)
Successfully updated karma reason!
November 25, 2009 8:31:18 AM from Demigod Forums Demigod Forums

I'm not sure if this is possible, but I see that you create the panel with a set width and height, is it possible to make it a % of the screen instead?  Then it would scale....

I'm not sure if you can look at the UI code for the game and see how they generate the window for skills etc... there may be an answer there.

I play in the same resolution as Pacov, and I notice its pretty small as well.  Based on my noob reading ofyour LUA code, they look like 100 x 25 boxes (I'm not sure what the mesurement unit is... pixles?), At first guess I would say that 176 x 44 would keep the same ratio and would probably do it.  I'm just not sure what it would look like with 5 ppl.

P.S. if I'm reading your LUA code incorrectly, sorry I'm new to LUA.

Cheers,

ThanatosESC.

 

EDIT: Essentially increase size by 75% and see. Not sure what it will do to spacing.

Reason for Karma (Optional)
Successfully updated karma reason!
November 25, 2009 8:41:58 AM from Demigod Forums Demigod Forums

great panel, but can u make it like... for example sedna heal. If I klick heal and then on the demigod portrait to heal him. I mean when you need to find target for skill u must not find it on the battlefield, but just klick on portrait. it would be great, tnx

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108432  walnut2   Server Load Time: 00:00:00.0000297   Page Render Time: