.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 20th, 2011, 10:54 AM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default

Randomocalypse is not really a mod but a program that generates mods. The idea is to generate 1-14 (that's the amount of flags I've bothered to make) random nations using vanilla game units that are at least roughly balanced. This happens via lists of units with their powers defined - currently about 900 units are listed. Basically you can end up with many things you couldn't end up with before. Many sacreds and mages that appear as capital only can appear as recruit everywhere in this mod.

The program is made with Java (JRE 1.6 or newer), so it works on Mac/Windows/Linux/any platform that can run a commandline java application. That said it while running it on Windows is simple since that's the platform I develop it on, Mac requires opening it in terminal and about Linux I have no clue. There is absolutely no reason it won't work though: in the end it's a rather basic Java application.

You will also want to use CBM 1.92 or newer since the program generates at least 4 CBM added units and the (rather bad) balance of nation is based on CBM stats. Generated mods with units of ids of 2107 or below should technically all work without CBM though.

Installation
Either extract all the files to dom3 folder and just start playing after generation or extract all files to wherever and move the contents of /mods/ to dom3's /mods/ folder after generating a nation. The program generates the modfiles with filenames "randomocalypse_.dm" where is the seed used to generate the nations. That said you might want to clear out the files once in a while since if you don't specify the same seeds again and again you'll eventually have quite a few different randomocalypse-mods generated.

Can it be modded/tweaked!
Oh yes. Many things are read from .txt files. Unitlists folder contains unit lists and powers, weight.txt contains some numbers used by balance algorithms, story.txt contains nation description generator material and players.txt contains bases for nation names (optional file really)

How is it balanced?!
It generates a pile of different power values that range from 1 to 100, ie for example troop power, sacred power and mage power and weighs them so that it returns a total of 1-100. Units have powers of 1 to 5 (fractions are fine). For balance info on invidual check the .dm file: It has somewhat easily readable debug data listed at start.

Get it!
0.3.6.2
- Added an ability to make all cap only things recruitable from conquered capitals.
0.3.6.1
- Sometimes gives priests ability to reanimate. Death magic and blood magic to some extent make this a bit more likely.
- Sometimes gives priests ability to blood sac. This is more likely with blood mages and strong priests.
- Sometimes gives nations ideal temperature different from normal. This depends on nations units, especially sacred and mages. You'll rarely see anything except +1 or -1, even though every value is possible.
- Nation summaries!
- Debug is slightly easier to read.
- Source code included. Do edit it and tell me what could be done better!
0.3.6.0
- Fixed the major bug generating cap only sacreds as coms.
0.3.5.9
- Fixed magic site generation in Customocalypse
- Added randomly chosen picture for temples for the nations!
- Fixed a few bugs
- Added some content to names.txt and story.txt
- Made nation epithets sometimes be more abstract and not related to the first start site. For example: Bluetha, The Enigma of Reanimation
0.3.5.8
- Fixed couple of Customocalypse bugs.
0.3.5.7
- Starspawn unit definition was wrong and generated a king of the deep instead. Fixed.
- Customocalypse mode added. -Customocalypse command line arguments opens a mode where you can akwardly customize a nation with randomocalypse rules. Read readme.txt for help. This is not something I'll actively maintain.
0.3.5.6
- The .csv understands units with id over 2106. As an example the CBM MA Agartha netter pale one is added to the .csv. I might make a program that automatically generates .csv lines from mods at some point if I can be arsed to get all those cbm things causing unit not founds into the .csv with minimum effort, but I'm not too bothered by them so we'll see.
0.3.5.5
- Tweaks to:
-- Troop generation and power calculation
-- Sacred power weighting
- Minor tweaks to:
-- Mage power calculation
- Tons of other minor tweaking
- Ability to generate nations with a set target power straight from the program. This was already possible with weight.txt. Also command line argument -power
0.3.5.4
- New and better command line arguments if anyone even uses them. Everything is optional.
- Troop power calculation changed
- Sacred power calculation changed
--> Just a draft that needs more work, quick checks make it feel better even with the rough numbers used to shift troop and sacred weights depending on their powers and sacred cap onliness.
0.3.5.3
- Nations now get #descr and #brief that contains an awesome randomly generated backstory!
- Debug data in .dm gives units a * to their name if they are cap only
0.3.5.2
- More \'s to /'s for Linux/Mac people.
0.3.5.1
- Retardedly rapid versioning for retardedly small changes!
0.3.5
- Fixed game crashing bug, fixed sacreds being rec everywhere almost always, made troops vary slightly more
0.3.4
- One of the fairly hidden features added in 0.3.3 made all nations have sacreds and mages both have at least 50 power when it should've been enough to have one over 50. This is something changeable in weight.txt btw.
- By default no two nations will get the same national priest or primary mage now. This too can be disabled in weight.txt
- You could have duplicates of the same unit on one nation.
0.3.3
- Seeds are now printed to filename
- Bugfixes
- Added a couple of (fairly hidden) features that were missing from since Java port.
- Changed \ to / so Linux (and Mac?) people can play without too much fiddling.
0.3.2
Horrifying infantry generation bug and forgot to update .jar last time.
0.3.1
Fixed a special power bug and made debug a bit more readable.
0.3.0
I rewrote the whole application in Java. In theory it should work on Linux and MacOS now.

I personally won't link to Dominions 3 content made by me any more and I hope no-one else will either (old links are fine, whatever). You should be able to find them or most of them by asking on IRC or googling the other forums

Credits:
Programming, most of the balance lists - Elmokki
Sacred and special unit lists - kianduatha
Mage power algorithm - Squirrelloid
General input on balance algorithms - people on IRC

Attached below is a shot of an example how you could use players.txt for a multiplayer game. It also shows site name/epithet generator and what it does to randomize nation names.
Attached Thumbnails
Click image for larger version

Name:	randomocalypseshot.png
Views:	384
Size:	61.6 KB
ID:	11381  

Last edited by elmokki; July 2nd, 2012 at 09:18 AM..
Reply With Quote
The Following 5 Users Say Thank You to elmokki For This Useful Post:
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:48 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.