|
Thread: [Wake of Gods] - Introduction/Modding/Scripting | This thread is pages long: 1 10 20 ... 23 24 25 26 27 ... 30 33 · «PREV / NEXT» |
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted June 26, 2012 02:05 PM |
|
|
Quote: actually I see that option, but what I want is a little different.
For example if the def file has 20 animations (moving, death, turn left ...) I want to extract them separately into .pcx files as they are. Alternatively, I want to know what .pcx are "contained" in which animation, so that I can use them later.
This is because I want the "sprites" for a small, fun "game" on XNA I'm trying to write. I forgot to mention this purpose (no modding here, but it's still ..uhm.. related so hope you guys can help me )
Use "extract all" as Kegolo suggested (you would get bunch of PCX/BMP files and one text file) or if you do not trust the DEFviewer use the tool which is purely for this reason as DefExplode. If you wish specific format of sprite supported by XNA it's your problem (that means Heroes modding tools know nothing about it) so you would have to join or rename the images or whatever crazy thing your library wants. If the problem is your sprite format can handle only one animation at once, the resolution is trivial - each animation group should be separate sprite, and you would change sprite if monster ie. change walk to attack. I can't say anything more helpful now because I doesn't know XNA, but I shared similair experience by creating sprites and tiles for another libraries (if you wish some library which is really easy to use I suggest switching to "Allegro game library", but if you are fine with XNA it's your choice, so do as you wish).
|
|
ChaosHydra
Famous Hero
|
posted June 26, 2012 03:42 PM |
|
|
Quote: You are trying to make wrong type of def (adventure object) instead of correct one (it is named nterface IIRC).
God, I'm so stupid. Sorry guys
|
|
Galaad
Hero of Order
Li mort as morz, li vif as vis
|
posted June 27, 2012 12:56 AM |
|
|
Hello,
Please, I'm trying to make creatures using deftool following this tutorial but i get no frames. Also, I don't understand this :
TUTORIAL 1: Making Def
1) Save the def list under the name of your future .def file
2) Choose the type of .def
Sorry to bother you with such newbie question, i don't know where to look... Thank you very much for your help
|
|
Asheron
Famous Hero
Ancient
|
posted July 06, 2012 08:10 PM |
|
|
Greetings fellow moders, I have a question about something that hasn't happened to me before and I'm curious is it a common problem. I've recently returned to modding HoMM 3 and I'm working on some personal mod of mine in free time. I replaced a def for a unit (in this case Crusader) and then both him and un-upgraded one (Swordsman) get same def? I've never had this problem before, what could be causing it? I'm using MMArchive and I drap & drop the def I want to replace, if that's of any importance. I've also changed his tier via ERM scripting.
So what's the problem? Is it faulty def? Is it my mistake to drap files unto MMArchive? When I tried to add it via open it had same results. There isn't any save button so I'm guessing that's not it. Any help is greatly appreciated.
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted July 06, 2012 08:56 PM |
|
|
There may be two causes: defs OR defs frames have same name. If you upload both, I could say for sure.
|
|
Asheron
Famous Hero
Ancient
|
posted July 06, 2012 09:19 PM |
|
|
Yeah, I figured out what's the problem in 5 minutes after I posted this (but I was away and didn't get time to edit my post): frames have identical names. Even I am not that derp to input two def's with same names But I am greatly thankful for such swift help I'm glad this community still has nice and helpful people around.
____________
|
|
EMPShockwave
Hired Hero
|
posted October 09, 2012 06:59 AM |
|
|
I've already done .pac and .txt for an ERA MOD, but it seems that I have to edit objects one by one in map editor to make it work. What's more, it means I can't change the image of those objects placed by ERM. !!UN:I can change there image to other objects but not the customed.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted October 09, 2012 07:15 AM |
|
|
For a custom map you can do as many manipulations you want. For example, find some object which is almost never used, as cartographer (or else). Place the def you like in your pac and give it cartographer name (avxmaps0.def). Now you can replace anything in game with your custom object. After placement, don't forget to disable it and rename, so will not reveal map. Be creative, there are many ways to do things.
____________
Era II mods and utilities
|
|
fred79
Disgraceful
Undefeatable Hero
|
posted November 29, 2012 01:39 AM |
|
|
here is a shark def that i have been having a problem with. i can't get the shadow to work right in the game, even tho it shows up in the editor.
shark def
and here is the link to the thread if you have any questions:
link to thread about shark def
hope i can find help here.
|
|
JimV
Responsible
Supreme Hero
|
posted November 29, 2012 02:38 AM |
|
Edited by JimV at 03:23, 29 Nov 2012.
|
Your actual frame is just a fin, and your shadow frame has the body. The .msk and .msg files created by H3DefTool are based on the fin, so only that part is masked into the adventure map. Eliminate the shadow frame and use an actual frame without a shadow, so that the mask files will work. Use a color for the shark body which matches how a shadow looks on water (if that is what you want - it can be sampled from a screen capture).
Edit - for example:
An alternate, if you want the ripple effect, would be to combine the .msk and .msg files from this version with the previous .def version, but I have not tried this.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 29, 2012 07:49 AM |
|
|
|
fred79
Disgraceful
Undefeatable Hero
|
posted November 29, 2012 09:31 AM |
|
Edited by fred79 at 09:50, 29 Nov 2012.
|
thanks, JimV. i had thought of this, but i didn't quite know how to implement it. mind if i borrow your improvement of my work? i'll animate it for you, and it'll be in my next 300 object upload...
Quote: I have one tip: before converting set of images into a DEF please reduce number of colors the image use - it should be less than 255, because DEF can index up to 255 (256?) colors and some are reserved for shadows, transparency etc.. Thearetically DefTool should do it for you, but it's poor at converting pallettes, so you get strange color pixels on the image, and if image would be enough low colors in the first place DefTool wouldn't produce this error. Note that it refers actual number of colors in the image, not the image need to be 8bit (however it is rrecomended) - I suggest doing it in GIMP and choose tool "Decrase number of colors" and if you wish "convert colors -> to indexed". GIMP is free and would help you with many other image editing tasks.
-and now i know what is wrong with the water i was trying to replace, and why certain other defs i have made produce no shadows. thanks.
|
|
JimV
Responsible
Supreme Hero
|
posted November 29, 2012 12:13 PM |
|
Edited by JimV at 12:16, 29 Nov 2012.
|
I call it the Gold Bug (it produces gold for the Ice King in the Hold of Gold), but Golden Scarab does sound much better.
In response to the next comment, I take it that anything shown here that isn't a commercial product can be used by anybody, usually without attribution. All I did was screen-capture the shadow of a big object on water, open it in GIMP, select and copy a rectangle of it, open the shadow frame of the shark also in GIMP, select the pink/purple pixels, then do a bucket-fill with the pattern option, using the clipboard copy as the pattern. Then I used the result as the DEF frame, selecting Shadow/Contained in H3DefTool (so no shadow was generated).
|
|
fred79
Disgraceful
Undefeatable Hero
|
posted November 29, 2012 05:43 PM |
|
|
you have some objects i haven't seen before, JimV. would you be willing to share those? or point me to where i can get them? i have 10 or so games that i bought specifically for the purpose of ripping from and adding to h3, but finding programs to do so on the different game engines are daunting.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 29, 2012 06:03 PM |
|
|
Quote: Golden Scarab does sound much better.
Actually I checked english results and you are right. I've read the Poe famous novel in 3 languages, french, romanian and italian and all three use the golden scarab. But the english original is "the golden bug", just found out. Strange, I was not expecting it.
____________
Era II mods and utilities
|
|
JimV
Responsible
Supreme Hero
|
posted November 29, 2012 06:36 PM |
|
|
To me, the main point of modding is to produce maps. I am not a good artist, so when I need a new object for a map I do a Google image search, download some candidates, and work on them for usually four or more (12 in some cases) versions until I give up at making them any better. These are the objects I made for the Hidden Spells Era 2 mod:
I doubt many people will want to re-use them, but they are available in the Mods/HiddenSpells/Data/H3sprite.pac archive of the mod, which can be downloaded at:
https://www.box.com/s/7tyemq1vcss9h7bbzbxv
I think a convenient way to access them would be to use Bersy's tool to transfer mod graphics to H3sprite.lod and ZEOBCTS.txt, etc. to H3bitmap.lod ("Fix Map Editor"), then open the WoG Map Editor and find them at the end of the Subterranean object list. Using Advanced Properties the DEF names can be read.
Most of them are tiles of various sizes and shapes, used to cover terrain. There is a grass tile, a gold tile, an air tile, a water tile, an autumn leaves tile, a red marble tile, a stone tile, etc..
|
|
fred79
Disgraceful
Undefeatable Hero
|
posted November 29, 2012 06:50 PM |
|
|
thanks, JimV. any addition to the game is a plus.
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted November 29, 2012 07:00 PM |
|
|
Some of them are very nice, some of them... not really . I can't see how these squares in vivid colors would fit on any H3 map.
Quote: any addition to the game is a plus
Oh yes
____________
The future of Heroes 3 is here!
|
|
master_learn
Legendary Hero
walking to the library
|
posted November 29, 2012 07:09 PM |
|
|
Thank you,JimV,for your objects and your work!
I think many people will appreciate them.
____________
"I heard the latest HD version disables playing Heroes. Please reconsider."-Salamandre
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted November 29, 2012 07:18 PM |
|
|
Quote: can't see how these squares in vivid colors would fit on any H3 map.
You would be surprised on how bad look simple squares in editor but good in map, so I don't worry, most likely they will be used for some role play.
Simple squares memories:
____________
Era II mods and utilities
|
|
|