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 > Please Post SLIC commands/functions,triggers and such that all may draw from the use
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
Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:00
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Please Post SLIC commands/functions,triggers and such that all may draw from the use Remove this text

I will start with a few I use..please anyone post what they are and what they accomplish!

Thanks

Grandpa Troll

Here is my first:

This allows in this case 16 pw per citizen built per turn...once you have built a granary in a city:

code:
trigger 'AddSILOPW' when(g.player) { SetPlayer(1, g.player); i=0; while (i < player.1.cities) { SetCityByIndex(1, player.1, i); if (CityHasBuilding(city, "IMPROVE_SILO")) { SetPW(player.1, player.1.publicworkslevel + 16 * city.population); } i = i + 1; } }

Attachment: bear_eating_picnic_md_wht.gif
This has been downloaded 57 time(s).

Last edited by Grandpa Troll on 13-04-2004 at 03:45

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:04
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Increase the size of your Attachments

This allows 51 settlers to start a game with..I have additionally excluded settlers from units.txt and usually start with maybe 10+ civilizations on an extra gigantic size map...


code:
trigger 'MakeCities' when (city.built) { AddPops(city.1,1); } trigger 'LOQ_MoreSettlers' when (g.player > 0) { if (g.year == 0) { i = 0; SetUnitByIndex(1, g.player, 0); while (i < 50) { CreateUnit(g.player, UnitType("UNIT_SETTLER"), unit.1.location, 1); i = i + 1; } } else { DisableTrigger('LOQ_MoreSettlers'); } }

Last edited by Grandpa Troll on 13-04-2004 at 03:45

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:05
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Got spare money?

This allows each city built 4 tanks once you discover tank advance

code:
trigger 'SpawnTank' when (player.1 && discovery.type == 55) { // 55 = tank warfare i = 0; while (i < player.1.cities) { // loop through all cities SetCityByIndex(1, player.1, i); CreateUnit(player.1, UnitType("UNIT_TANK"), city.location, 0); // create a tank i = i + 1; CreateUnit(player.1, UnitType("UNIT_TANK"), city.location, 0); // create a tank CreateUnit(player.1, UnitType("UNIT_TANK"), city.location, 0); // create a tank CreateUnit(player.1, UnitType("UNIT_TANK"), city.location, 0); // create a tank } }

Last edited by Grandpa Troll on 13-04-2004 at 03:46

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:06
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

This allows 4 Marines in each city built once you discover Mass Production

code:
trigger 'SpawnMarines' when (player.1 && discovery.type == 59) { // 59 = Mass Production i = 0; while (i < player.1.cities) { // loop through all cities SetCityByIndex(1, player.1, i); CreateUnit(player.1, UnitType("UNIT_MARINES"), city.location, 0); // create a marine i = i + 1; CreateUnit(player.1, UnitType("UNIT_MARINES"), city.location, 0); // create a marine CreateUnit(player.1, UnitType("UNIT_MARINES"), city.location, 0); // create a marine CreateUnit(player.1, UnitType("UNIT_MARINES"), city.location, 0); // create a marine } }

Last edited by Grandpa Troll on 13-04-2004 at 03:46

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:09
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Put an end to popups!

If anyone has any additional to add, please do, as it helps those of us whom need to learn, see an application and allow this hodgepodge of information to permeate our thick skulls!!

(or at least mine!! )


This is all I currently have, would be grateful for more!!

Peace

Grandpa "Da-Grateful" Troll

I want to thank JBYTHEWAY & LOCUTUS for all their help!!

W/O I couldnt have any of these!!

Peace

Grandpa Troll

Attachment: coolfriendbroke.gif
This has been downloaded 57 time(s).

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 13-04-2004 03:18 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

You might want to put those in [code]...[/code] tags so that you get the indentation - it makes them much easier to read .

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:27
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
Originally posted by J Bytheway
You might want to put those in [code]...[/code] tags so that you get the indentation - it makes them much easier to read .


Ok..help me oh great Sifu!!

You mean [ the slic..then at end another ]


I am a rock..and will do what is necessary!!

Peace

GT

Attachment: man_head_spinning_md_wht.gif
This has been downloaded 57 time(s).

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 13-04-2004 03:30 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
Originally posted by Grandpa Troll
You mean [ the slic..then at end another ]


No, I mean [code] ... Some SLIC here ... [/code].

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:35
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton

OK..I just edited my posts, is this correct?


Ok..everyone..tell Grandpa Troll..on 3


ONE........TWO......THREE!!!!

Attachment: you moron.jpg
This has been downloaded 57 time(s).

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 13-04-2004 03:38 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

Not quite... You need the square brakets and slash...

code:
Then it should look like this

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:35
  Old Post 13-04-2004 03:53
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Put an end to popups!

...and to think...I was once lost and now am found..was blind..but now can "C"

I am a Good Boy!!


(Pant)


I have now leanred a little more..by using practical application....




Peace

Grandpa "Good-boy" Troll

a.k.a. not the only dawg who can learn new tricks!!

Attachment: good boy01.jpg
This has been downloaded 55 time(s).

blackgryffin is offline blackgryffin
Warlord

Sep 2003
time: 05:35
  Old Post 11-07-2004 23:12 Visit blackgryffin's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

hi evreyone !

i'm looking for change one thing in the ctp files but i'm a bit lost ...

i'd like make the ability to give, demand and exchange a city i find this option interesting for a multiplayer game ... i saw few lines into some txt and flc files but it's inacive in the game ... can someone tell me how to proceed or better which files i have to rewrite please ?
it would be really great !!!

thanx


Last edited by blackgryffin on 13-07-2004 at 17:38

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 17-07-2004 18:40 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by blackgryffin
i'd like make the ability to give, demand and exchange a city i find this option interesting for a multiplayer game ... i saw few lines into some txt and flc files but it's inacive in the game ... can someone tell me how to proceed or better which files i have to rewrite please ?
it would be really great !!!


This thread is not really the right place to ask this question, but I can tell you that this feature would be difficult or impossible to implement - it might just be possib;e to do with a lot of complex SLIC, but it would be very messy...

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