![]() |
Dom3 Unit Maker v1.07
1 Attachment(s)
Dom3 Unit Maker v1.07
changelog: version 1.00 - initial release version 1.01 - fixed protections and resistences to take negative values - fixed seduction command - added missing make monster commands - added option to leave out main mod commands - added option to append - rearanged some of the abilities in the gui - fixed missing #end for mod version 1.02 - fixed supply bonus for gluttony - new preset item slot button: 2 hands, head, body, feet, 2 misc - hotkeys to select tabs: f1 general, f2 armor, f3 weapons, f4 abilities, f5 magic, f6 leadership, f7 item slots, f8 create - tab indexes fixed (tabbing to next control works logically) version 1.03 - fixed start age to accept -1 - added a modifiable list of weapons and armor in the data directory -- each entry must have the item number followed by a tab followed by the item name --- ex: 14 Plate Hauberk -- if a file is missing, a default list will be used as before version 1.04 - seige, pillage group renamed to other and moved to third abilities page - added new commands from 3.08 patch -- spread dominion (#spreaddom) added to magic->abilities -- increase unrest (#incunrest) added to abilities->page3->other -- no bad events (#nobadevents) added to abilities->page3->other - fixed item slot values - added the fourth hand slot version 1.05 - checked list boxes will now check on click - fixed ressize, didn't work - detailed comment on body slots - clear button on each main tab - reset all button on create tab version 1.06 - enabled clear button for abilities - fixed 'eyes' - fixed 'castledef' version 1.07 - added copy stat functionality, added to 'Create' tab -- copy stat -- clear -- clear magic -- clear special - tab rearangement -- stats and abilities now all under 'Abilities' tab -- armor, weapons and item slots under 'Equipment' tab todo - random button - add support for loading units from database - improve append to look for end of mod - tool tips - new modules to create weapons and armor |
Re: Dom3 Unit Maker
Cool. Any chance it will be able to grab values from the unit database automatically? That way you could load up all the stats for say, Ulmish infantry, make a few changes, then turn it into mod commands text.
That would really speed things up a lot and reduce the amount of messy copystats that people tend to use. |
Re: Dom3 Unit Maker
thats a possibility for future development, just focusing on the basics right now though
|
Re: Dom3 Unit Maker
things are going well, most of the basic modding commands are working and outputting to file. i should be able to make a release in a few days
|
Re: Dom3 Unit Maker
If you're looking for projects, you know what would be really really cool? A pretender maker. Just something where you can create a pretender and save your settings and load them again and maybe modify them a little.
|
Re: Dom3 Unit Maker
you'll be able to make pretenders with this just like any other unit
|
Re: Dom3 Unit Maker
sorry for the delay kids, i should have this thing out soon
|
Re: Dom3 Unit Maker
Can't wait for this one, modding will be much more friendly with such a tool
|
Re: Dom3 Unit Maker
ok, i've finished it. you can download it at the top of the thread.
one note: you will have to have the .net framework installed to run it, because it's written in c#, but since youre likely running winxp, it probably ought to be on your machine already. everything as far as the program goes ought to be pretty self explanatory: select your options, and save; pretty simple. there may be a few commands missing, there are an awful lot of them, so a few may have slipped through the cracks or be implemented incorrectly, but just let me know if you find one. also, the weapons and armor section only contains the common equipment found in the mod documentation. when i get a chance i can expand on those. aight, enjoy. |
Re: Dom3 Unit Maker
Wow, this is really nice. First to download and first to use woot. Am i correct in thinking this creates the unit in its seperate mod file and you just copy and paste the stats into your real mod file?
Awesome work, I love it. |
Re: Dom3 Unit Maker
Make monster is 1-5. Meaning "make monster 1" creates one monster, "make monster 2" creates two monsters etc. all working on the same character.
|
Re: Dom3 Unit Maker
I don't want to piss on your party, but why not program it in Mono? (a free alternative to visual C#) Then you'd have the tool ready for all operating systems: Windows, Apple Mac and Linux.
|
Re: Dom3 Unit Maker
Yeah, would it be possible to have a more linux friendly version?
|
Re: Dom3 Unit Maker
@ich / dedas
never heard of mono. aside from that, visual c# generated the thousands of lines of code required to setup and maintain all of the gui components. so if i can port c# code over to mono easily, then thats a possibility. @amos i didnt know about those makemonster 1-5 commands, the manual only lists makemonster1, i'll add them when i get a chance. @foodstamp yeah, just copy and paste. i'm thinking about putting an append option in there |
Re: Dom3 Unit Maker
Quote:
|
Re: Dom3 Unit Maker
This doesn't work for me. Says it 'failed to initialize' then asks me to close.
|
Re: Dom3 Unit Maker
you have to have the .net framework installed for it to run which you can get here
|
Re: Dom3 Unit Maker
I wrapped up a mod using the new unit maker.
Here are my impressions and a few bugs I found. This was my first time using the unit maker to make a mod, so I was a bit slow with it, and I am not sure it saved me any time at all working on the mod. That being said, I think the more I use it, the faster I will get with it. It did save me from the annoying typos I make that crash the game the first time I run a mod. http://forum.shrapnelgames.com/images/smilies/happy.gif The weapon and armor list is very limited. I found myself adding weapons and armors after I had finished the unit in the creator. You cannot enter negative values in the protection/resistance fields to create vulnerabilities. Using "seduce" to create an ability like "#seduce 15" yielded "#seduce15" instead. I am not sure if this would have caused an issue in the game, i just added the space between the value and the command just incase. Make monster is a tad limited, but that is no biggy. Overall impression... I love this tool. I am going to use it for now on. As I get better with it, I believe it will save me a lot of time, if it is not saving me time already. It eliminated the need for me to hunt down those first run typos I normally make thus saving me time and headache. Excellent work, simply incredible! |
Re: Dom3 Unit Maker
I went to the link and downloaded .net, after install, the unit maker told me I needed .net framework v 2.0.50727. All I could find was 2.0 and even after downloading that it still won't work for me. I've a feeling it's because my PC is old and it's having issues running my recent XP upgrade.
Lesson in all this: I need a new 'puter. |
Re: Dom3 Unit Maker
I'm too old skool to use this, although maybe I'll change my mind when I start work on several more mods at once.
If it was tied into the databases (in a future update maybe) and could reproduce 'mod language' versions of vanilla units I'd probably have to worship you as a pretender though :] |
Re: Dom3 Unit Maker
@bandarlover
sorry for that mixup, i just grabbed the first link google gave me. maybe try the windows update? @foodstamp thanks for the bug reports. the weapon list is limited, at the time i only had the lists in the modding manual, so that's what everyone got. i am looking to expand them however. |
Re: Dom3 Unit Maker
If you want the full lists, well -- *points at sig* -- you've got them. The weapons and armor lists are complete. The unit list is also, though rsource stat is not the actual base value and the display page does not show old age or protection correctly. You do need Open Office to read it though and opening up the unit DB takes a while because of all the calculations.
|
Re: Dom3 Unit Maker
thnx edi, i'll have a look at them asap
|
Dom3 Unit Maker v1.01 RELEASE
version 1.01 is released, check the top of the thread for changelog and the new release
|
Dom3 Unit Maker v1.02 RELEASE
just released 1.02, see the top of the thread
next release should have expanded weapon and armor lists |
Re: Dom3 Unit Maker v1.02 RELEASE
I just wanna say thanks! this unit maker is great! saves me tons of time modding!
|
Re: Dom3 Unit Maker v1.02 RELEASE
I would also love to see a vanilla unit maker. But Im not sure if thats possible.
However if someone wanted to use the mod maker and create some for us that would be great. Maybe mod one nation at a time. |
Re: Dom3 Unit Maker v1.02 RELEASE
Yay!! Told ya I needed a new PC. Finally got this working and while I've not gotten around to using it as yet, it's very nice.
Silly side note: When I first heard of this I thought 'Cool a tool to create units' thinking it would be able to actually allow you to make graphics for them as well. http://forum.shrapnelgames.com/images/smilies/happy.gif I'm so silly. Now if someone where to make something like that as well I'd prolly pay money for that. http://forum.shrapnelgames.com/images/smilies/wink.gif I don't think it would be very feasible though. Oh yeah, almost forgot. Great job so far, Paradox. Great job indeed. |
Re: Dom3 Unit Maker v1.02 RELEASE
thnx for the praise everyone, it is greatly appreciated.
@gandalf what do you mean by vanilla units? templates for plain humans? if you guys give me some templates, i can add buttons that set the appropriate checkboxes and everything, that's not a problem. |
Re: Dom3 Unit Maker v1.02 RELEASE
A template for plain humans might be helpful.
In my case, I meant an ability to duplicate a unit that is already in the game. Even better, to duplicate a nation by mod commands. |
Re: Dom3 Unit Maker
I have now tested this with Mono 1.2.2.1 and it works fine for one negligible unimplemented method:
<font class="small">Code:</font><hr /><pre>Unimplemented: Control::set_AutoSize(bool)</pre><hr /> and one shortcoming: You seem to be using the backslash as directory seperator which gives problems with non-Windows systems, of course. Since Windows is POSIX-conform since WinNT and takes a slash "/" instead of a backslash "\", too, could you change your program to use slashes instead, or find out what the right character to use is? I think the trouble is just that you have the backslash hardcoded so far. So far, it saves the files under weird filenames (in the parent directory where you want to save it, with the filename "dir\file.dm" for the file. |
Re: Dom3 Unit Maker
yeah, those slashes are hardcoded. i believe windows will take either the back- or forward slash, so should be an easy fix. ive been waiting for my new lappy to arrive before starting to play with new software, my old pc is barely limping along. so after i get that i'll experiment with mono and get that multiplatform release out.
|
Re: Dom3 Unit Maker
Will MapGen come out multiplatform also?
Id like to program a basic program to run batches of daily maps off of my server. Something like I did for Dom2 with DomMap (which I might resurrect) http://www.dom2minions.com/~dominion...andomMaps.html I was thinking of having it run at night on my Windows machine then automate transfering them to the linux server. But Id much rather it all ran on linux |
Re: Dom3 Unit Maker
so, when can we expect the next version of the unit gen?
I love this thing! saves me tons of time modding! |
Re: Dom3 Unit Maker
Quote:
using System.IO; public class Test { public static void Main(string[] args) { Console.WriteLine("This is the DirectorySeparatorChar: " + Path.DirectorySeparatorChar); } }</pre><hr /> Quote:
|
Re: Dom3 Unit Maker
Thanks for the info. Or a vmware to run an emulation of winxp.
But no Id rather not. My 2 linux boxes are internet servers so I try to avoid gui and emulated environments. As kludgy as it sounds, Id rather do a nightly transfer from my desktop. Its more serverish (thats not a word) |
Re: Dom3 Unit Maker
eventually i will try and get mapgen to be multi-os. think i mentioned this before, maybe not.
|
Re: Dom3 Unit Maker
P.S.: Since I'm getting the Dom3 server monitor tool ready for Linux / Mono, too, and there is the same trouble as here: Probably the best way of getting the full path for a file is to use Path.Combine. Example code:
<font class="small">Code:</font><hr /><pre>using System; using System.IO; public class Test { public static void Main(string[] args) { string s = Path.Combine(Environment.GetEnvironmentVariable("H OME"), "test"); Console.WriteLine(s); Console.WriteLine(File.Exists(s)); Console.WriteLine(Directory.Exists(s)); } }</pre><hr /> I didn't have any experience with C# so far, but it sure is nice, I must admit. http://forum.shrapnelgames.com/images/smilies/happy.gif |
Re: Dom3 Unit Maker
For some reason that doesnt work on my linux system.
Personally, since you have a config file asking for a path to a file, Id just add another option for the path seperator. Or if I were to do a test I think it would be something like this. can I see ./program.cfg or do I have to look at .\program.cfg |
Re: Dom3 Unit Maker
Gandalf, have you installed Mono? What does "mono --version" tell you?
If you have installed it, then running "mono Dom3UnitMaker.exe" should work for you without problems, except for lots of "Unimplemented: Control::set_AutoSize(bool)" messages. |
Re: Dom3 Unit Maker
hmm... might be useful, but relative paths are plenty for what im doing
thanks for the tip on the path separator character also, should have expanded weapon and armor lists soon |
Re: Dom3 Unit Maker
I didnt have mono installed, I do now.
And then I realized that the problem I had was with one of Ballbarians programs. http://forum.shrapnelgames.com/image...ies/stupid.gif Im mostly waiting for the map generator. I dont have much need for the unit builder personally. |
Re: Dom3 Unit Maker
Quote:
I had a quick look and I see that he already has some form of support for *nix in his code, although he missed a couple of occasions. I haven't programmed BASIC in, like, ever, but since it's little more than batch programming it shouldn't make any trouble. Just say what you need. Quote:
|
Re: Dom3 Unit Maker
Quote:
Quote:
Quote:
|
Re: Dom3 Unit Maker
Quote:
I do agree that it would be nice to get away from crutches like Wine and get more cross-platform code from the beginning, though, even though it works via Wine. But fortunately we already have a positive response to that. http://forum.shrapnelgames.com/images/smilies/happy.gif |
Re: Dom3 Unit Maker
Well I definetly dont want to get too attached to wine. It would be bad admin of me to start whipping off any old windows app on the servers on a whim. It gets away from why I have linux servers and windows desktops. Maybe someday I will do a linux desktop and play with such things but not yet.
But *sigh* OK I installed wine. I will just have to try and limit my use of it drastically. http://forum.shrapnelgames.com/images/smilies/happy.gif |
Dom3 Unit Maker v1.03 release
as always, the download and changelog are at the top of the thread
|
Re: Dom3 Unit Maker v1.03 release
OMG OMG. I just spent the past hour using the old version to do my Rohan mod. Now you go and release a new version as I am putting the finishing touches on the last unit!
Thanks anyway http://forum.shrapnelgames.com/images/smilies/happy.gif |
Re: Dom3 Unit Maker v1.03 release
oops my bad, i can take it back down if you like http://forum.shrapnelgames.com/images/smilies/happy.gif
|
Re: Dom3 Unit Maker v1.03 release
I just looked over the changes. The only thing it would have affected was me doing the weapons/armor in the editor instead of doing them by hand http://forum.shrapnelgames.com/images/smilies/wink.gif
|
All times are GMT -4. The time now is 01:49 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.