Thread Tools
Old September 13, 2002, 08:24   #1
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Civ Series Settler Tile Improvement Building
I caved in. I suppose it's mainly to shut the Civ series fanatics up. I want to make it completely clear that I LOVE THE PW IDEA FOR TILE IMPROVEMENTS!!! However, there are some people out there who are too much of a Civ series fanatic and want/enjoy moving thousands of settlers/workers around the map building tile improvements.

Well here it is. The Civ Series Settler. Go ahead, download this script file. Put #include "civsettler.slc" in script.slc, or copy/paste it into scenario.slc. I don't care. I think this is a stupid idea after playing with PW. But if you like having to have a settler/urban planner in a tile before building a farm, then have fun. BTW, you can still build water improvements under the normal CTP2 rules, only land tile improvements require a settler. Oh, and I only enabled it for the human players. AI's will not be able to handle this script. You see, the AI is smarter than this stupid system.

I'm submitting it to the Apolyton Dir as well. Lastly, don't ask me to support this file. I'll not be downgrading CTP2 ever again.
Attached Files:
File Type: slc civsettler.slc (1.9 KB, 12 views)
Dale is offline  
Old September 13, 2002, 08:39   #2
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
I TOTTALY AGREE WITH YOU, Civ series settlers are just dumb compared to PW

Anyway im glad u made this as it will be good for my scenario (that i havent started ) If its not to much work could u do a script for Civ3 workers? or do I just apply this script to the worker unit and disallow building of citys ?

Anyway dont downgrade CtP2 again *joking*
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old September 13, 2002, 08:46   #3
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Smiffgig's:

Easy. Just add your workers unit tag onto this line, remembering to include an OR || tag.

Code:
if(tmpUnit.type == UnitDB(UNIT_SETTLER) || tmpUnit.type == UnitDB(UNIT_URBAN_PLANNER)) {	// Look for a settler unit
BTW, what on earth does SMIFFGIG's mean?
Dale is offline  
Old September 13, 2002, 08:50   #4
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
Quote:
I suppose it's mainly to shut the Civ series fanatics up.
Yeah, stuff it down their throat!

I think you should be honored for this work with a news item in the Civ3 section! Title: "PW Bug in CtP2 finally solved!"
I'm completely serious about this!
mapfi is offline  
Old September 13, 2002, 08:55   #5
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Quote:
I think you should be honored for this work with a news item in the Civ3 section! Title: "PW Bug in CtP2 finally solved!"




BTW, here's a question for any lurkers from Civ3:

Q: In CTP2 we can add Civ3 concepts. Can you add CTP2 concepts to Civ3? (Forget the arguement of "why would we?" and think for a second if you COULD)

What was that? You can't create scripts? You can't add/change events? But surely you must be able to, I mean, isn't Civ3 the greatest thing since sliced bread? Oh, and I work at a bakery here in Melbourne (Sunicrust) and can say that sliced bread ain't THAT fantastic.
Dale is offline  
Old September 13, 2002, 09:16   #6
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 02:54
Local Date: November 1, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
Could I have a copy of this for Cradle??????

Nah, nevermind

I'm with mapfi 100% on this - stick the announcement in the civ3 forums - jam it down their throats...

Just as well, have Locutus plug this on the CTP2 main page - that way this will appear in the Apolyton announcement bar.
__________________
Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
...aisdhieort...dticcok...
hexagonian is offline  
Old September 13, 2002, 09:24   #7
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
Maybe if we started petitioning Markos... Anyway I think this really deserves a news item no matter on what page since civ fans have always criticized this in CtP2.
mapfi is offline  
Old September 13, 2002, 09:32   #8
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Quote:
Maybe if we started petitioning Markos... Anyway I think this really deserves a news item no matter on what page since civ fans have always criticized this in CtP2.
Now this I DO seriously agree with. The PW/settler arguement is one that unfortunately does damage CTP2 for Civ fanatics. If this script makes even a couple of the CTP2 slammers play a couple of games, instead of just bagging the game because of PW, then this script is a fantastic addition to our long list of modifications. I mean, how many Civ players have mentioned in total seriousness that in their opinion the PW system is the one major flaw in CTP1 & 2? Too many to count. Hopefully, this script will allow them to at least see what we're talking about when we say that CTP2 is a great game in its own right.
Dale is offline  
Old September 13, 2002, 09:55   #9
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 04:54
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Now the dont even try to argument you civ3ers version.

The AI uses the system and is thougt how to use it and when to build workers.
UNTESTED but cleaned up syntax errors

You need a worker unit in the unit.txt :
Code:
UNIT_WORKER {
   Description DESCRIPTION_UNIT_SETTLER
   DefaultIcon ICON_UNIT_SETTLER
   DefaultSprite SPRITE_SETTLER
   Category UNIT_CATEGORY_SPECIAL
   Attack 0
   Defense 10
   ZBRangeAttack 0
   Firepower 1
   Armor 1
   MaxHP 10
   ShieldCost 300
   PowerPoints 300
   ShieldHunger 3
   FoodHunger 0
   MaxMovePoints 200
   VisionRange 1
   ActiveDefenseRange 0
   LossMoveToDmgNone
   MaxFuel 0
   IgnoreZOC
   NoZoc
   CanBeSued
   CanBeExpelled
   CantCaptureCity
   IsSpecialForces
   Civilian
   OnlyBuildOne
   CanEntrench
   BuildingRemovesAPop
   DeathEffectsHappy

   SoundSelect1 SOUND_SELECT1_SETTLER
   SoundSelect2 SOUND_SELECT2_SETTLER
   SoundMove SOUND_MOVE_SETTLER
   SoundAcknowledge SOUND_ACKNOWLEDGE_SETTLER
   SoundCantMove SOUND_CANTMOVE_SETTLER
   SoundAttack SOUND_ATTACK_SETTLER
   SoundWork SOUND_WORK_SETTLER
   SoundVictory SOUND_VICTORY_SETTLER
   SoundDeath SOUND_DEATH_SETTLER

   CanSee: Standard
   MovementType: Land
   MovementType: Mountain
   Size: Small
   VisionClass: Standard

 }
We could at least get the CTP2 news

"Civ3 worker system for CTP2"

This will make them confused
Attached Files:
File Type: slc civworker.slc (5.2 KB, 6 views)
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand

Last edited by Pedrunn; September 13, 2002 at 10:12.
Pedrunn is offline  
Old September 13, 2002, 10:18   #10
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
Pedrunn, you've definetely got too much time!

Just give the workerunit the nomad sprite, pack it up as a mod and this is the greatest improvement on CtP2 ever!

Quote:
"Civ3 worker system for CTP2"
No, no - having actually spent valuable time on this you should get at least some satisfaction out of it by humoring the civ3 fans

P.S. The longer this code gets the more paper we can stuff down their throats when it's printed out...

PPS. Don't think I am a mindless CtP2 fanatic that hates Civ3 fans - I've got the game myself, just don't like it. Furthermore this just provides so much fun!
mapfi is offline  
Old September 13, 2002, 10:47   #11
Adagio
staff
Spore
Deity
 
Adagio's Avatar
 
Local Time: 09:54
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 11,112
I've only got one thing to say:

Yeeehaaaaaaa

Though I wont be testing this today... since I want the other thing to work first, before I add more stuff to my game
__________________
This space is empty... or is it?
Adagio is offline  
Old September 13, 2002, 10:54   #12
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 04:54
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Iwill make it a addon for the Apolyton Pack!

Does someone wnat to write the great library info. I aint going to do.
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old September 13, 2002, 11:24   #13
centrifuge
Call to Power PBEMCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
centrifuge's Avatar
 
Local Time: 00:54
Local Date: November 1, 2010
Join Date: Apr 2002
Location: USA
Posts: 916
So tell me, how does it work? Do you have to move the settler to the land to be improved, and then use PW to improve it? If this is the case, there will still be plenty of PW haters who will ***** and moan...
centrifuge is offline  
Old September 13, 2002, 11:25   #14
Maquiladora
Call to Power II MultiplayerCTP2 Source Code ProjectCall to Power PBEMCall to Power Multiplayer
Emperor
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 7,665
Quote:
Originally posted by hexagonian
Could I have a copy of this for Cradle??????

Nah, nevermind
Scared me for a second there!

Should be interesting to see what tactics it throws up in terms of improvements. In Civ3 mines are very important early on, but building a mine early in CtP2 wouldnt be worth the effort of building a worker, then having it roam around only to get squished by a barb.
Maquiladora is offline  
Old September 13, 2002, 11:27   #15
centrifuge
Call to Power PBEMCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
centrifuge's Avatar
 
Local Time: 00:54
Local Date: November 1, 2010
Join Date: Apr 2002
Location: USA
Posts: 916
Wow, I didn't realize that this forum had built in censors (ie *****)
centrifuge is offline  
Old September 13, 2002, 11:31   #16
Maquiladora
Call to Power II MultiplayerCTP2 Source Code ProjectCall to Power PBEMCall to Power Multiplayer
Emperor
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 7,665
Yeah what a ****in piece of rats ass ****in bullshit

Anyway back on topic... I think most of these new Public Workers™ will be built late on in the game, milling about blocking roads making huge armies move in single file!
__________________
Call to Power 2: Apolyton Edition - download the latest version (7th June 2010)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Maquiladora is offline  
Old September 13, 2002, 14:12   #17
centrifuge
Call to Power PBEMCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
centrifuge's Avatar
 
Local Time: 00:54
Local Date: November 1, 2010
Join Date: Apr 2002
Location: USA
Posts: 916
Well, I just tried out the civsettler.slc, and I think that it works very good...PW alone is better, but for a Civ3 mod etc. it should work pretty good. I have just one suggestion, in order for it to be more similar to the feel of the Civ series, the settler/worker should not be allowed to move until the tile improvement is finished. I don't know how to do this so ahem, ahem, ...

By the way Dale, this may not be such a bad thing, all that it's doing is giving further proof that CTP2 is probably the best of all of the Civ-type games

Also this method though a possible downgrade from PW alone, is superior to the Civ1,2,3 settler/worker system, because you still need to save PW points, and the interface is much friendlier (ie. point and click on the type improvement that you want)
centrifuge is offline  
Old September 13, 2002, 15:18   #18
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 04:54
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
My code does not do what was suppose to: Send workers to the location whare a improvement was created and oce there create one of same type that he tried to create.
Dale may want to see it. But i wont loose more time in a feature that i dont want. I love PW.
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old September 13, 2002, 18:12   #19
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Pedrunn:

I took a quick look through your code.

Code:
HandleEvent(BeginTurn) 'WorkIsSoRetardThatWeMustRemindHim'


I'll see what's going on. This script would actually be handy to introduce Civers to CTP2. They play a few games with this script, then we convince them into a MOD (SAP2, Cradle, Med, WAW, GoodMod, etc) which doesn't have civsettler/worker.
Dale is offline  
Old September 13, 2002, 18:26   #20
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Okay, I'm going to commit myself today to get this worker system going. For the above reason.
Dale is offline  
Old September 13, 2002, 18:28   #21
child of Thor
Call to Power II Democracy GameCTP2 Source Code Project
Emperor
 
child of Thor's Avatar
 
Local Time: 07:54
Local Date: November 1, 2010
Join Date: Jan 2002
Location: UK
Posts: 3,272
you guys are crazy! just mad as hatter's, off with the fairies, nutz, looney. Unbelievable
__________________
'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

Bush's Republican=Neo-con for all intent and purpose. be afraid.
child of Thor is offline  
Old September 14, 2002, 19:02   #22
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
COT: Maybe, but I'm having fun.

UPDATE: I got the workers doing what they should now. They build a tile improvement and then become active again when it's built. Now just have to tell the AI how to use them.
Dale is offline  
Old September 14, 2002, 20:30   #23
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Civ Series Workers v0.3
It's all finished!

Civ Workers is completed for both Humans and AIs.

Rules:
- You must have a worker on the square to build a TI.
- Your worker will build the TI and reappear when completed.
- You can group workers with other units, but only through the grouping window (not through Group All...). If you do group, when you build a TI under the worker the stack will be ungrouped.
- The worker is a civilian, so if you attack one, the same rules/penalties apply as a settler.
- You can build workers.

AI changes:
- The AI doesn't have to have a worker on the square, however the AI must have a worker on hand within 4 squares to build a TI. (Simulates a move-then-TI anyways, so no advantage to AI).

Notes:
- I've setup this as a MOD (through ModSwapper) but it should be fairly easy to add into other MODs.
- Don't ask me to change this MOD, as I'm not going to. It's the only crappy Civ concept I'm adding to CTP2.

LONG LIVE PW!

Attached Files:
File Type: zip civworker.zip (385.4 KB, 217 views)
Dale is offline  
Old September 14, 2002, 20:37   #24
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
2 things

1. Is the Worker unit graphics from civ3 being used?

2.
Quote:
Your worker will build the TI and reappear when completed
Does the worker disappear completely aka invisible? If this is the case i think it would be better if it used the animation of the worker working (hiting pick axe against ground) rather than just tottaly disappearing



civ3 style worker
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old September 14, 2002, 20:48   #25
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Answers:

1. The sprite is the nomad settler from C:CTP/Cradle. If you want a different sprite, just rename it GU018.spr

2. Yeah, it "disappears" for a couple of turns. Do you know how hard it is to create an array that'll keep track of everything needed? Unfortunately, SLIC ain't C or C++. Also, the AI had a tendancy to keep moving the worker of the tile being worked. It was the easiest thing I could come up with that didn't eat mega-heaps of RAM. BTW, to kill the worker who's building the TI, just pillage the unfinished TI.

Let's just say I would've had to have made:

Quote:
More workarounds than you can shake a leemur poo at
Dale is offline  
Old September 17, 2002, 07:52   #26
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
So when is this getting a news item?
mapfi is offline  
Old September 25, 2002, 17:19   #27
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 08:54
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
This really does deserve a news thread. As much as it isnt important to me, many Sid fanatics will love this
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old September 25, 2002, 17:32   #28
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 09:54
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Yeah this needs a news item as well, but Locutus seems to be a little bit too busy. I hate these summery news items, there are too much of these Civ3 items in the news box. (OK that is also true for the MoO3 and RoN and Misc and About.)

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old September 25, 2002, 19:34   #29
Dale
Emperor
 
Dale's Avatar
 
Local Time: 17:54
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Yeah, where's my news item?
Dale is offline  
Old September 26, 2002, 01:22   #30
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 02:54
Local Date: November 1, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
Locutus had some personal issues this past week

Be patient young Grasshopper...
__________________
Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
...aisdhieort...dticcok...
hexagonian is offline  
 

Bookmarks

Thread Tools

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 03:54.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team