Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  Freeciv
  Map/scenario editor

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Map/scenario editor Format for Better Printing
Thue
Freeciv Developer

b.02-15-99
posted May 20, 2000 12:28   Click Here to See the Profile for ThueClick Here to Email Thue  send a private message to ThueSend a Message to UIN: 18058911
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Well, there isn't one. But I think it would be relatively wasy to make one. Good place to start if you want to code freeciv.

Just
-Take 1 gtk client. Remove the parts you don't need. Add a few dialogs for chosing tile and unit type and change the map onclick event accordingly. You should make a new subdirectory under client/ for it.
-Move the code to save maps in the server to common/ to be available to the client, and it would be ready to use.
-Put in the oven until... oh wait...

I think it really is that easy, and it would be very practical.

Kumiorava
Prince
of the Elastic Mammals, retired
b.02-15-99
posted May 20, 2000 16:56   Click Here to See the Profile for KumioravaClick Here to Email Kumiorava  send a private message to KumioravaSend a Message to UIN: 14265035
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
So why don't you make one for us?
CapTVK
Prince
Voorburg, the Netherlands, Europe
b.02-15-99
posted May 20, 2000 18:01   Click Here to See the Profile for CapTVKClick Here to Email CapTVK  send a private message to CapTVKSend a Message to UIN: 6858967 Visit CapTVK's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Wouldn't developing a proper FreeCiv script language (that's well documented) with some test scenarios (like WW2 and Rome in the orginal Civ2) be a better step at this point?


Most scenario designers are not programmers but they become master artists and artisans with the right tools at hand. From what I've seen at the moment FreeCiv doesn't have those tools. If you want to know what those scenario makers can do check out the HS-Scenario League. After 3-4 years they have reached the very limit of what they can do with the Civ2 engine and its various releases. These guys even discuss HEX-editing the savegames to get the last drop of editing efforts!

I'm going to state a goal that should be aimed for if someone (or more) decides to develop scenario tools for FreeCiv : One should be able to design and play a FreeCiv version of RED FRONT with all the rules, sounds, graphics and scripts.

Tall order? perhaps...but we have to start somewhere

sigra
Settler

May 2000
posted May 20, 2000 18:58   Click Here to See the Profile for sigraClick Here to Email sigra  send a private message to sigra
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

Originally posted by CapTVK on 05-20-2000 06:01 PM
Wouldn't developing a proper FreeCiv script language (that's well documented) with some test scenarios (like WW2 and Rome in the orginal Civ2) be a better step at this point?


Most scenario designers are not programmers but they become master artists and artisans with the right tools at hand. From what I've seen at the moment FreeCiv doesn't have those tools. If you want to know what those scenario makers can do check out the HS-Scenario League. After 3-4 years they have reached the very limit of what they can do with the Civ2 engine and its various releases. These guys even discuss HEX-editing the savegames to get the last drop of editing efforts!

I'm going to state a goal that should be aimed for if someone (or more) decides to develop scenario tools for FreeCiv : One should be able to design and play a FreeCiv version of RED FRONT with all the rules, sounds, graphics and scripts.

Tall order? perhaps...but we have to start somewhere

Another kind of art in the future of Freeciv is the creating of custom AI-client scripts. This is at least as interesting as Scenario editing! This is an official goal of the freeciv team (http://www.freeciv.org/todo.html) and I really look forward to letting my AI compete against others AIs! Maybe I will try some genetic programming with it.

Caz
Freeciv Developer
Finland
Jul 2000
posted July 28, 2000 02:10   Click Here to See the Profile for CazClick Here to Email Caz  send a private message to Caz
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

Just
-Take 1 gtk client. Remove the parts you don't need. Add a few dialogs for chosing tile and unit type and change the map onclick event accordingly. You should make a new subdirectory under client/ for it.

That would mean separate upkeep work for gtk client and map editor Better to keep it as part of client.

quote:

-Move the code to save maps in the server to common/ to be available to the client, and it would be ready to use.

Ruleset parsing is also required, map generator would be nice too and...

Well, since freeciv uses both client and server, why our map editor should be worse

I wanted to test this and it took about 5 minutes to create 'working' map editor. It even allows upto 30 humans to edit map simultaneously.

Kumiorava
Prince
of the Elastic Mammals, retired
b.02-15-99
posted July 28, 2000 02:44   Click Here to See the Profile for KumioravaClick Here to Email Kumiorava  send a private message to KumioravaSend a Message to UIN: 14265035
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
LOL!

Will you be developing this further, or was it just a wild experiment that will lead nowhere?

Thue
Freeciv Developer

b.02-15-99
posted July 28, 2000 04:43   Click Here to See the Profile for ThueClick Here to Email Thue  send a private message to ThueSend a Message to UIN: 18058911
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Actually I already started. I cut a little down on the duplication by including object files from the client and server where possible.

If you want to see what I have got so far look at http://hjem.get2net.dk/thue_janus_kristensen/newworld.diff.bz2
(apply it and "autoconf && automake && make")

Actually it turned out that someone had made a map editor before, but it had to compile with 1.8.1 and was completely impossible to update. But bit of the code in my creation is stolen from it.

Kumiorava
Prince
of the Elastic Mammals, retired
b.02-15-99
posted July 28, 2000 06:42   Click Here to See the Profile for KumioravaClick Here to Email Kumiorava  send a private message to KumioravaSend a Message to UIN: 14265035
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Very intresting, but unfortunately I'm off my Linux box right now, so I can't give your diff a shot. Could do you go through the trouble of geting us some screenshots maby?
Thue
Freeciv Developer

b.02-15-99
posted July 28, 2000 08:10   Click Here to See the Profile for ThueClick Here to Email Thue  send a private message to ThueSend a Message to UIN: 18058911
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
There is not much to be seen on a hypothetical screenshots; a client with a popup tool panel with commands
-paint tile
-paint rectangle
-copy
-paste
-undo
These currently only work for terrain and specials (including things like irrigation)

Rulesets are loading via the ruleset.o file from the server. The savegame.o file is linked in, but not used yet (ie you cannot save what you made in this great editor ).

dummy functions have been made to be able to link the files in; much code like network code has been removed.
Unit and city code has not been removed, though it will need to be changed to work for a scenario editor (which is why I didn't think it was appropriate to make it part of the client)
[This message has been edited by Thue (edited July 28, 2000).]

Caz
Freeciv Developer
Finland
Jul 2000
posted July 28, 2000 10:56   Click Here to See the Profile for CazClick Here to Email Caz  send a private message to Caz
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:


Will you be developing this further, or was it just a wild experiment that will lead nowhere?

It was just a wild experiment. Sadly, more I look at it, more I like it.

I can stop myself from coding it any further, I can.

Now if I just steal some code from thue...

Caz
Freeciv Developer
Finland
Jul 2000
posted July 28, 2000 11:08   Click Here to See the Profile for CazClick Here to Email Caz  send a private message to Caz
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

Actually it turned out that someone had made a map editor before, but it had to compile with 1.8.1 and was completely impossible to update.

Yeah, I tried CivWorld about an year ago. It took whole night to make it even compile (just a couple of months after its maintaining was dropped!). That proved to me that client and map editor must have very close relationship.


[This message has been edited by Caz (edited July 28, 2000).]

Thue
Freeciv Developer

b.02-15-99
posted July 28, 2000 12:43   Click Here to See the Profile for ThueClick Here to Email Thue  send a private message to ThueSend a Message to UIN: 18058911
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I plan to get the editor into CVS; *PUF* people will automatically keep it up to date when doing other changes.

I did take a look at all the possibilities before deciding on a stand alone editor. The result was that if I wanted to be able to change things like the city dialog I had to fork the code. (that goes for interfaces all over the client)

Please help me make this version instead of forking; it will be too much work for one person to do, and making two version will be wasted effort. We can set up a CVS server for it.

Thue
Freeciv Developer

b.02-15-99
posted July 28, 2000 18:59   Click Here to See the Profile for ThueClick Here to Email Thue  send a private message to ThueSend a Message to UIN: 18058911
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
It now saves basic maps . Loading maps should work shortly.
Caz
Freeciv Developer
Finland
Jul 2000
posted July 29, 2000 03:37   Click Here to See the Profile for CazClick Here to Email Caz  send a private message to Caz
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

people will automatically

People are automation?

quote:

The result was that if I wanted to be able to change things like the city dialog I had to fork the code. (that goes for interfaces all over the client)

If you say so. I thought there's quite clean ways of doing it, but then again I have not considered it thoroughly (just got one crazy idea and tested it).

quote:

Please help me make this version instead of forking; it will be too much work for one person to do, and making two version will be wasted effort. We can set up a CVS server for it.

Currently my freeciv time is spent on some rather big patches (and hopefully to actual playing soon again). Maybe when I have finished reqgen patch...
Thue
Freeciv Developer

b.02-15-99
posted July 29, 2000 05:19   Click Here to See the Profile for ThueClick Here to Email Thue  send a private message to ThueSend a Message to UIN: 18058911
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

people will automatically
People are automation?

At least it will always compile. That was the problem with civworld.

quote:

The result was that if I wanted to be able to change things like the city dialog I had to fork the code. (that goes for interfaces all over the client)
If you say so. I thought there's quite clean ways of doing it, but then again I have not considered it thoroughly (just got one crazy idea and tested it).
Yes, but the new interfaces will be of complexety comparable to the existing dialogs... At least when you include adding network code and server handling.
[This message has been edited by Thue (edited July 29, 2000).]
Thue
Freeciv Developer

b.02-15-99
posted July 29, 2000 06:20   Click Here to See the Profile for ThueClick Here to Email Thue  send a private message to ThueSend a Message to UIN: 18058911
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Actually I am not convinced that the seperate map editor way is the best; but both ways have disadvantages (and reliing on the server is ugly and bloated!), and I have made what I have work
Apolyton Civilization Site Forums
> > > Freeciv Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | Hodadian Award Central | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps