Thread Tools
Old May 23, 2002, 15:08   #1
centrifuge
Call to Power PBEMCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
centrifuge's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Apr 2002
Location: USA
Posts: 916
Converting units to PW
The idea is a unit, that after a certain event is turned into PW points. I know that this may sound strange, but do any of you modders think it is possible? If so, what do you think the best path for implementing it into a scenario/mod would be?
centrifuge is offline  
Old May 23, 2002, 18:11   #2
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 03:11
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Sure it's possible. All that's required is to kill the unit (KillUnit(tmpUnit);) and add PW points (pw = player[5].publicworkslevel; SetPW(tmpPlayer, (pw + bonus);). If you want to make the amount of PW you get dependant on the cost of the unit, use UnitDB(tmpUnit.type).ShieldCost.
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old May 24, 2002, 00:15   #3
centrifuge
Call to Power PBEMCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
centrifuge's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Apr 2002
Location: USA
Posts: 916
Thanks Locutus. Sometimes I feel like I may be biting off more than I can chew, but thanks to SLIC studs like yourself, I'm learning more and more about this stuff everyday
centrifuge is offline  
Old May 24, 2002, 03:52   #4
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 01:11
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
why public works you can mod it to gold as well just use the
givegold(player, amount);
command
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc 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 21:11.


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