[PYTHONCOMP] Scouts, Settlers and Workboats as Bonus Seekers

Fujisan

Warlord
Joined
Sep 9, 2003
Messages
130
Bonus Seekers Mod
v. 1.1

Update: 19/01/2008

v1.1 changes:

- BTS compatibility (I suppose it should work with any version of Civ4);
- resources, which have already revealed on the map, do not be marked any more;
- a short information about the coordinates of a bonus is displayed.


--------------------------------------
What is it?
--------------------------------------


This mod lets you know the tiles with unrevealed bonuses and helps to place your cities more ideal way.

When your Recon units, Settlers, and Workboats move along, the "build a mine" mark appears above the tiles nearby, on which there are bonuses you haven't discovered yet.

---------------------------------------
Installation
---------------------------------------


You can use it as a separate mod. For this, place the attached archive in the BtS Mods folder and unzip it. Load it from Civ main screen menu as Bonus Seeker Mod.

Have fun! :)


For modders:
If you combine BonusSeekers with another mod, you have to combine CvEventManager.py with one in your mod.

The following lines were added in it:
Code:
import BonusSeeker
bs = BonusSeeker.BonusSeeker()

	def onUnitBuilt(self, argsList):
		self.parent.onUnitBuilt(self, argsList)
		bs.onUnitSeek(argsList)

	def onUnitMove(self, argsList):
		self.parent.onUnitMove(self, argsList);
		bs.onUnitSeek(argsList)
 

Attachments

  • bs.jpg
    bs.jpg
    112.6 KB · Views: 483
  • BonusSeekerMod.zip
    BonusSeekerMod.zip
    10.2 KB · Views: 97
Hi There,

Looks very interesting !
One question though : at which place exactly do I need to paste the text you mention ? Is it important or can I copy it at the end of the file ?

Thanks for your help.
 
Hi There,
One question though : at which place exactly do I need to paste the text you mention ? Is it important or can I copy it at the end of the file ?

I simplified the installation routine. If you want to use it as a separate mod, download the attachment, place it in the BtS Mods folder and unzip. Load it from Civ main screen menu as Bonus Seeker Mod.

Cheers! :goodjob:
 
Back
Top Bottom