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 > how can i modify the starting resources for human player in a scenario?
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
shun is offline shun
Settler
Los Angeles, CA, USA
Nov 2000
time: 05:13
Post  Old Post 20-11-2000 17:34
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
how can i modify the starting resources for human player in a scenario? Get a bigger avatar today!

hmm.. first of all, have to say thanks to those who are reading this message, since this is my first attempt to try to understand how to make a scenario. i've looked at the documentations on apolyton and still a bit confused. currently, i'm running the unpatched, original cd installed US version of the game, and i have not installed any mod/patch at all.
i was wondering if it was possible to add gold and PW to a starting player in a scenario: i've searched the board and add in the following line in the script.slc

trigger 'addmegoldman' when (g.player && g.year == 0){
addgold(g.player,1000000);
}

and when i try to run my scenario, it gave me the slic error--->noname is not a known function. if anyone slic/mod/ctp programmer can help, i really would appreciate it~~

Thanx~
Wing

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

Install the patch and hack and try again. It's really hopeless making scenario's without them. From the look of it, nothing's wrong with your SLIC code, so it must be in the way the files are set up. Hack and patch help solve these issues.

For setting PW to one million add this line between the addgold line and the '}':

code:
SetPW(g.player, 1000000);


For adding one million PW add these lines:

code:
SetPlayer(1, g.player); SetPW(player.1, player.1.publicworkslevel + 1000000);


I didn't test either of these so I might have left a bug somewhere, but I think it should work like this (the first thing is shorter and hence the chance of errors is smaller, try that first if you get to it ).

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