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 > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Tentative Project - New Units
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 01-01-2001 04:27 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Tentative Project - New Units Support Apolyton, pre-order Civilization IV

Here I will explain only three of the new units to explain their special abilities or uses.

Name: Hot Air Balloon
Type: Aerial
Cost: 900
Support: 6
Attack: 15
Range: 0
Defense: 15
Armor: 1
Damage: 1
Vision: 3
Movement: 5
Fuel: 15
Abilities: Aerial - used for 19th century reconnaisance

Name: Provincial Governor
Type: Governor
Cost: 500
Support: 4
Attack: 0
Range: 0
Defense: 10
Armor: 1
Damage: 1
Vision: 2
Movement: 2
Fuel: --
Abilities: 25% reduction in production costs for all Defense units and Attack units in cities where Provincial Governors are sentried, BUT decreases those citie's happiness by 2 and by 4 after 20 turns a PG is present in those cities

Name: Modern Surveyor
Type: Surveyor
Cost: 820
Support: 6
Attack: 0
Range: 0
Defense: 10
Armor: 1
Damage: 1
Vision: 2
Movement: 2
Fuel: --
Abilities: establishes permnament national border from position where sentried for five consecutive turns of no disturbance

Let me know if the special abilities of the Provincial Governor and Modern Surveyor are impossible to implement or if they are too elaborate. Thanks for any input.

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 01-01-2001 07:45 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton or Terrorists Win

Must be the New Year's Eve fever!

Triumphus Romanus is offline Triumphus Romanus
Chieftain
Jacksonville, Florida
Nov 2000
time: 05:14
Post  Old Post 01-01-2001 10:58
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I definately like the Balloon and Provincial Governor,
cool ideas

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 02-01-2001 00:02 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization 2

Thanks for your input, Romanus, but do you know how I would be able to implement these new abilities? Would they be too elaborate to add in the game's text files?

You didn't mention the Modern Surveyor - should that be changed or dropped?

Chris B is offline Chris B
Warlord
Canton, CT
Oct 2000
time: 00:14
Post  Old Post 04-01-2001 04:34 Visit Chris B's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization 2

Shoudn't the baloon have ranged Strength????
Also, It should have low HP. All an infantryman would have to do would be to hit the top and watch the thing go spinning
-CB

Triumphus Romanus is offline Triumphus Romanus
Chieftain
Jacksonville, Florida
Nov 2000
time: 05:14
Post  Old Post 04-01-2001 06:32
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Get a bigger avatar today!

MrFun,
while I have tinkered with some of the basic txt files, trying to improve the AI, thats about all ive done. i havent done anything more hardcore than that. I would imagine actually adding a unit may not be that hard, but the abilities it has could be the challenge. Im sure WesW would be a good one to ask.
My main gripe is that tanks are too powerful. The tank should be toned down, or maybe an anti-tank unit added.
Once I start building tanks, its usually game over. Several 12 stacks and I can roll over the opposition.

Darkknight is offline Darkknight
Prince
in between Q, W, A and S
Nov 2000
time: 05:14
Post  Old Post 04-01-2001 07:46 Visit Darkknight's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Avatar Enlargement: We've got the solution

Basically the abilities that other units already in units.txt have are the only ones available you might be able to come close but the border expansion is almost definetly impossible atleast with just editing the text files. You might ask someone like Harlan about slic abiliteis in that area.
" Abilities: Aerial - used for 19th century reconnaisance " is that trying to get it to only be available between 1900 and 2000?



------------------
" mind over body "

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 04-01-2001 08:50 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton buy from Amazon

The Hot Air Balloon is nothing but a 19th century reconnaissance unit - it is not an attack unit and I did not intend for it to be a Ranged unit. And even with its defense at low of 15 (only 5 more than the Ancient Hoplite unit), other 19th century units will still destroy the Hot Air Balloon with no problems.

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 04-01-2001 08:51 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton or Terrorists Win

Damn - I know nothing about SLIC language, and I have barely any basic computer programming knowledge. So Wes - would you able to help me out with any insight?

JSnider is offline JSnider
Settler
Boiling Springs, PA
Dec 2000
time: 05:14
Post  Old Post 05-01-2001 01:10
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Browse Apolyton AD-FREE

A question, not a new unit but a mod to existing. Given that the AI doesn't really use carriers with aircraft has anyone considered changing the carrier to have a air wing on it when built and give a bombarb range and attack acordingly?? This if they (ai's) build it then they can really use it. would also dramatically increase support cost for the thing and raise cost a little. This would enable the AI to actually have a carrier that can do something besides sink. some warts on it but was wondering if a possibility

john snider

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:14
Post  Old Post 05-01-2001 02:21 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Civilization 2

MrFun,
If it's about SLIC, don't count on Wes or Harlan, they know very little about it. I'm afraid that so far I'm one of the few, maybe even the only person on Apolyton (not counting the Activioners of course) that knows what is and isn't possible in SLIC.

Your Modern Surveyor is totally impossible, at least with SLIC (and I don't think text-files can do it either). There's no way you can manipulate borders in SLIC, other then by building/destroying fortresses or cities.

The Provincial Governor is possible but requires a fair amount of work. What is needed is that you need to have all units that you want to be cheaper with a governer twice: these 'doubles' should be exactly identical except for the text-files name (though the in-game name should remain the same - so you need UNIT_WARRIOR and UNIT_WARRIOR2, but both should be called Warrior gl_str.txt)) and the production cost.

Then you need to use the SLIC function mod_CanCitBuildUnit and list all these units like this:

code:
int_f mod_CanCityBuildUnit(city_t theCity, int_t theUnit) { city_t tmpCity; unit_t tmpUnit; int_t i; int_t thisUnit; thisUnit = theUnit; tmpCity = theCity; cheapunits = 0; for (i = 0; i < GetUnitsAtLocation(tmpCity.location); i = i + 1) { GetUnitFromCell(tmpCity.location, i, tmpUnit); if (tmpUnit.type == UnitDB(UNIT_PROVINCIAL_GOVERNOR)) { cheapunits = 1; } } } if (cheapunits == 0) { // if a governor is present then... if (thisUnit == UnitDB(UNIT_WARRIOR)) { return 1; // ...you can build this } if (thisUnit == UnitDB(UNIT_WARRIOR2) { return 0; // ...you can't build this } if (thisUnit == UnitDB(UNIT_ARCHER)) { return 1; // ...you can build this } if (thisUnit == UnitDB(UNIT_ARCHER2) { return 0; // ...you can't build this } // etc. for all units that have two versions } elseif (cheapunits == 1) { // if no governor is present then... if (thisUnit == UnitDB(UNIT_WARRIOR)) { return 0; // ...you can't build this } if (thisUnit == UnitDB(UNIT_WARRIOR2) { return 1; // ...you can build this } if (thisUnit == UnitDB(UNIT_ARCHER)) { return 0; // ...you can't build this } if (thisUnit == UnitDB(UNIT_ARCHER2) { return 1; // ...you can build this } // etc. for all units that have two versions } return 1; // units with only one version can always be built }


And finally you'd also need to write a happiness-trigger which is slightly more complicated and I don't have time to write that now.

Hope this helps.
[This message has been edited by Locutus (edited January 04, 2001).]

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 05-01-2001 07:51 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Call to Power 2

I have to write this amount of SLIC data for EACH AND EVERY UNIT? Wow - I might just forget about the Provincial Governor or else make up a more simple ability.

As for Modern Surveyor - I will have to trash that too or else make a more simple ability. damn

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:14
Post  Old Post 05-01-2001 08:01 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton buy from Amazon

No, Mr Fun, if you had studied my code a little you would have seen that the code for a single unit only requires 6 lines of code and most of it can be done by the good old copy&paste method (the code includes the example code for a warrior and archer as an example, the rest of the code only needs to be written once and I already did that for you). I guess I should have formulated that better in my post. But it's still a fair amount of work, that's true (hey, welcome to the world of modmaking, my friend).
One thing I should point out though, is that I haven't actually tested this code so there might be some typos in it or other minor bugs.

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Post  Old Post 05-01-2001 08:21 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Increase the size of your Attachments

Hmmm . . . I will bookmark this post then and then refer to it if I decide to make the Provincial Governor's ability a possibility. Thanks for your help Locust - I appreciate it.

  < 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:
archivepost
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.0434 seconds (90.77% PHP - 9.23% MySQL) with 31 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