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 > Civilization: Call To Power > CtP-Creation > Quick and Dirty Modding tool
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Madd_Mugsy is offline Madd_Mugsy
Settler
Vancouver, Canada
Feb 2001
time: 21:36
Lightbulb  Old Post 28-05-2004 12:26
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Quick and Dirty Modding tool Suffering from ads?

I just this thing really quick using Excel 2000. If you can work with a spreadsheet you can probably use this sucker I used a spreadsheet design because it let me edit and compare multiple units at once.

I just finished the SLIC upgrades for the new upgrade via fortify key command. The code looks like this:

code:
trigger 'UNIT_GREEK_FIRE_UNIT_CROSSBOW_Upgrade' when (unit.fortified && HasAdvance(g.player, ID_ADVANCE_CROSSBOW) && unit.type == UnitType("UNIT_GREEK_FIRE")) { SetString(0,ID_UNIT_GREEK_FIRE); SetString(1,ID_UNIT_CROSSBOW); onecost=200-120; if(onecost<=player.gold) { oldloc = unit.location; if(UnitsInCell(oldloc)>1) { SetOrder(1, 13); AddOrder(unit, oldloc); } SetOrder(1, 56); AddOrder(unit, oldloc); CreateUnit(player, UnitType("UNIT_CROSSBOW"), oldloc, 0); AddGold(player, -onecost); message(g.player,'msgUpgSucc'); } else { message(g.player,'msgUpgFail'); } }


... over and over and over again. But I wrote a VBA function to write it all for me this time It pulls from the spreadsheet and makes an "Upgrade_scr.slc" file (which you'll need to add an include line for). This should work for the AI too everytime it tries to fortify. You'll probably also want to allow all the units to fortify now too. If anyone knows how to access the sleep function instead, that would be much appreciated

I'm attaching the file to this post so you guys can play around with it. Also included are the strings file, the messagebox functions file and a sample upgrade script file. It only does units and advances for now. It also doesn't modify the gl_Str.txt file, although it does read in the unit/advance values from it.

I've got all the advances and units from my mod loaded into it right now, but a simple "read file" button click from the start sheet will erase it all. I'm leaving it there so you can see how I did stuff in the mod (like the upgrade paths and the text files).

Anyway, it's all totally undocumented and only quickly tested, so just ask any questions here and I'll answer as best I can. If someone wants to help me finish it and add the rest of the text files in, be my guest

L8r.

Last edited by Madd_Mugsy on 28-05-2004 at 21:58

Madd_Mugsy is offline Madd_Mugsy
Settler
Vancouver, Canada
Feb 2001
time: 21:36
Post  Old Post 28-05-2004 12:27
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

[deleted]

(why can't i actually delete my own posts? weird)

Last edited by Madd_Mugsy on 28-05-2004 at 21:55

Madd_Mugsy is offline Madd_Mugsy
Settler
Vancouver, Canada
Feb 2001
time: 21:36
  Old Post 28-05-2004 21:51
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Get a bigger avatar today!

[deleted]

Madd_Mugsy is offline Madd_Mugsy
Settler
Vancouver, Canada
Feb 2001
time: 21:36
Post  Old Post 28-05-2004 21:52
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton or Terrorists Win

[deleted]

Madd_Mugsy is offline Madd_Mugsy
Settler
Vancouver, Canada
Feb 2001
time: 21:36
Post  Old Post 28-05-2004 22:03
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Full PM-box? Change here!

okay here we go. for some reason i couldn't post the file.

Attachment: maddmod.zip
This has been downloaded 4 time(s).

Madd_Mugsy is offline Madd_Mugsy
Settler
Vancouver, Canada
Feb 2001
time: 21:36
Thumbs up  Old Post 04-06-2004 03:06
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

1 download Not much interest in this I guess.

Just tested last night, the new fortify-upgrade works in multiplayer, but does anyone know how to get at the sleep button click-event?

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:36
  Old Post 05-06-2004 00:48
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Suffering from ads?

I am very interested Madd_Mugsy, but I have had a very busy week and I must admit I am not sure how to use the VBA function.

I am the one who downloaded the file.

I won't have the time to make any test before the next week though.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:36.
Apolyton Time is 00:36.
    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.0352 seconds (87.68% PHP - 12.32% 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