Modding Questions

Ok so i wanted to ask if anyone has worked out how to do:

1. Change size of units.    -    I am looking at changing the size of minions to allow differentiation of between my new unit types and the old ones - ie shrink monks.

 

2. Create new icons. I generally understand that you need to make the file a .dds but some help with what software is used, etc would be very helpful.

 

3. Create a tabbed citadel - I would like to make some new buffs for the teams but am unsure how to edit the ui to create a tabbed shop instead of just the single panel.

 

Any help would be greatly appreciated.

Exx

1,598 views 6 replies
Reply #1 Top

Well, for the first one Ptarth was working on something like that for a time. The thread is:

http://forums.demigodthegame.com/370367/page/1/#2459670

You may wanna check with him and see if theres been any kind of new discoveries...because his last post things only kinda worked.

For the second one, Photoshop should be able to handle .dds files. I can't remember if there's a plugin that is required though. Not so sure about free programs to edit them, but if you poke around some of the discussions involving textures, you should find some better details.

On the final one, there just isn't a simple answer for that:) It will take quite a bit of work, but check out lua/ui/game/screen_shop_tabbed.lua for how they did the item shop.

GL...you've got quite a bit of work ahead of you on those:)

Reply #2 Top

1. For minions I believe DrawScales affects size.

2. Photoshop will do it. Gimp will do it. Gimp is also freeware, whereas Photoshop isn't. I use gimp. Check out my skinning QoT thread for some more information. I should mention I haven't edited icons yet, but it seems straightforward enough.

3. There are some mods that add new achievement item tabs. Go look them up.

Reply #3 Top

Hey guys,

thanks for the replies.

1. KK will check out drawscales for minion sizes.

2/ I was pretty sure that you were all using photoshop and gimp for icons but wanted to make sure :)

3. For the citadel tab, i have the code for the shop (infact i now have 2 new favour item tabs and understand the code for this however the citadel works a bit differently because currently there are no tabs avaliable. was just checking to see whether anyone had done any work on the citadel that would save me alot of work lol.


Cheers.

Reply #4 Top

1.)Will fill in later.

2.) I used the DDS plugin from Nvida

http://developer.nvidia.com/object/photoshop_dds_plugins.html

To make your Icons

 

3.) It uses a tree. The easiest way to do it would be to make a button that hides the old tree and makes your new tree visible. That way you don't have to rewrite their code.

Here is a beta thing for the item shop. It creates new tabs for all your modded normal items. There is a seperate mod function that creates the shops on the right side.

http://67.55.41.251/Demigod/ItemsTree.zip

 

Reply #5 Top

zechio finally got me to understand what import actually does so you should see his post here. But basically instead of changing the size of things you can assign them new shaders or new textures. So if you want your minions to look different then you can assign them new meshes, shaders and textures. In this example their glowing regulus's that can't shoot (YAY)

http://forums.demigodthegame.com/373008

Can I borrow some of your code for one of my Mods.

If I borrow some of your code, some of Zechio code and some of peppe's code then I might be able to finally make that Demigod that FrogBoy wanted.