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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.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
  #8  
Old February 28th, 2009, 09:11 PM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default Re: Dominions Diplomacy Tool - Amnesia

Quote:
Originally Posted by Ich
Instead of saying "unknown nation" or "unknown item", better tell the ID number so that it's compatible with modding.
Good idea, I will add that.

Quote:
Originally Posted by chrispedersen
The best way to run this illuminated/LCH would be to chain program *after* dominions. The ability is already on the command line. That way, after you run dominions, (but before you submit your turn) it will pop up a little screen that says:
You should be able to do that already. If you want a window output after running dominions instead of console use this shell script with zenity (I don't like programming UI ).
For windows I'll probably just use Messagebox.

Code:
#!/bin/sh

dom3 yourgame
amnesia ~/dominions3/savedgames/yourgame/yournation.2h > amnesia.txt

zenity --text-info --title="Yourgame Diplomacy" --filename="amnesia.txt"
If you'd wanted to make a insurance you could just send the gold/items back to yourself that would be 5 lines of code. Even somewhat thematic the trade caravan returns...
But making an interpreter for the messages is a lot of work, and the program would have to decrypt the messages and update the crc.

Last edited by llamabeast; March 1st, 2009 at 03:47 AM..
Reply With Quote
 

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 10:39 AM.


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