Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Freeciv > Map/scenario editor
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Arrow  Old Post 21-05-2000 09:28 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Map/scenario editor Tired of ads?

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 is offline Kumiorava
Prince

Jan 1970
time: 00:14
Post  Old Post 21-05-2000 01:56
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

So why don't you make one for us?

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:14
Post  Old Post 21-05-2000 03:01 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

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 is offline sigra
Freeciv Developer

May 2000
time: 06:14
Cool  Old Post 21-05-2000 03:58
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Increase Your PM Length

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 is offline Caz
Settler
Finland
Jul 2000
time: 05:14
Post  Old Post 28-07-2000 11:10
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton

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 is offline Kumiorava
Prince

Jan 1970
time: 00:14
Post  Old Post 28-07-2000 11:44
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

LOL!

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

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 28-07-2000 13:43 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Avatar Enlargement: We've got the solution

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_k...wworld.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 is offline Kumiorava
Prince

Jan 1970
time: 00:14
Post  Old Post 28-07-2000 15:42
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

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 is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 28-07-2000 17:10 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Increase the size of your Attachments

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 is offline Caz
Settler
Finland
Jul 2000
time: 05:14
Post  Old Post 28-07-2000 19:56
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Help yourself to an AD-FREE life

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 is offline Caz
Settler
Finland
Jul 2000
time: 05:14
Post  Old Post 28-07-2000 20:08
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Browse Apolyton AD-FREE

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 is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 29-07-2000 09:43 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton

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 is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 29-07-2000 03:59 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Call to Power 2

It now saves basic maps . Loading maps should work shortly.

Caz is offline Caz
Settler
Finland
Jul 2000
time: 05:14
Post  Old Post 29-07-2000 12:37
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

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 is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 29-07-2000 14:19 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Avatar Enlargement: We've got the solution

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 is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 29-07-2000 15:20 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

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

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0481 seconds (89.76% PHP - 10.24% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net