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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old February 26th, 2004, 09:47 AM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by Arryn:
quote:
Originally posted by PhilD:
Still, I'll probably release a Version 1.95 of dommap, as soon as Arryn confirms me the minor changes I made didn't break his Developer Studio files.
1. "her", not "his".

2. I had to change 4 instances of "random()" to "rand()" in the province.c file, after which it compiles cleanly. Let me know if you want me to send you this "revised" .c file.

1. Sorry. Guilty of false majority assumption.

2. I thought I had already done this change before; I've duplicated in my current Version (and sent the result to you by email)
Reply With Quote
  #2  
Old February 26th, 2004, 10:30 AM
Arryn's Avatar

Arryn Arryn is offline
Major General
 
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
Arryn is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by PhilD:
I've duplicated in my current Version (and sent the result to you by email)
I've tested the 1.95 Version you sent me and it compiles fine with MSVC.

I've updated my site's download page with this v1.95 .zip file, for anyone that wants to grab it.

EDIT: I've also put up on my site a separate .zip file with a compiled .exe for Windows.

[ February 26, 2004, 08:38: Message edited by: Arryn ]
__________________
Visit my Dominions II site
Reply With Quote
  #3  
Old February 26th, 2004, 12:47 PM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by Leif_-:
I've updated the Gimp script to add a coastal outline. The result can be seen on the generated maps here: http://home.Online.no/~rmoldskr/Domi...nion_maps.html

There's also a small change to the perl script, since I decided to move the gimp-quit call out of the Gimp script. The updated scripts can be found here: http://home.Online.no/~rmoldskr/dominions.html
When I try to run the script from the command line, by copying from the Perl script, it does not seem to exit (I have to C-c it). What did I do wrong? (I did include the (gimp-quit 0) part, of course)

BTW - I like your coastlines.
Reply With Quote
  #4  
Old February 26th, 2004, 01:04 PM

Leif_- Leif_- is offline
Sergeant
 
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Leif_- is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by PhilD:
When I try to run the script from the command line, by copying from the Perl script, it does not seem to exit (I have to C-c it). What did I do wrong? (I did include the (gimp-quit 0) part, of course)

BTW - I like your coastlines.
Hmm. Hard to say. Are you sure you're including the (gimp-quit 0) part in its own pair of single quotes?
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
Reply With Quote
  #5  
Old February 27th, 2004, 02:07 AM

Leif_- Leif_- is offline
Sergeant
 
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Leif_- is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

I've added a new option to the Perl script, -rnd , which will randomize the parameters for dommap for every map (but any argument specified on the command-line will not be randomized.) This gives some more variation in the size and topographies of the generated maps, although, of course, some of the maps will be rather useless.

Edited to add: I just uploaded a set of maps made with the -rnd option to the web. (You can find the address further up ... errr - down in the thread.)

[ February 26, 2004, 13:53: Message edited by: Leif_- ]
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
Reply With Quote
  #6  
Old February 26th, 2004, 04:07 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Hmmmm if I psuedo-code some of my randomizer routines for the .map file maybe you could perl those and knit them together?

Oh and can the script write out the parameters it used? Maybe as a .bat file of the same name? The program I wrote for randomzing the DomMap runs does this buy writing the params to a $NAME.sh and then running the .sh
Im interested the the results of some of PhilD's maps and I want to duplicate those levels.

[ February 26, 2004, 14:12: Message edited by: Gandalf Parker ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #7  
Old February 26th, 2004, 04:15 PM

Leif_- Leif_- is offline
Sergeant
 
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Leif_- is on a distinguished road
Default Re: JAVA programmer? (and Win-DomMap, and some GIMP)

Quote:
Originally posted by Gandalf Parker:
Hmmmm if I psuedo-code some of my randomizer routines for the .map file maybe you could perl those and knit them together?

Oh and can the script write out the parameters it used? Maybe as a .bat file of the same name? The program I wrote for randomzing the DomMap runs does this buy writing the params to a $NAME.sh and then running the .sh
Im interested the the results of some of PhilD's maps and I want to duplicate those levels.
Sure, although I might not be able to get the time to do it until this weekend. As it is, I print out the size of the map to the HTML file, and it wouldn't be a problem to add the other parameters there as well.
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
Reply With Quote
Reply

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 09:28 AM.


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