View Full Version : [PYTHONCOMP] Scouts, Settlers and Workboats as Bonus Seekers


Fujisan
Dec 18, 2006, 07:09 AM
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:
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)

Dom Pedro II
Dec 18, 2006, 01:44 PM
This is a very interesting idea, thank you :) I like that it only tells you that something is there but not what it is.

Chiyu
Dec 19, 2006, 07:57 PM
I must say this looks very nice! I'll try it out in a couple of minutes :).

Fujisan
Jan 19, 2008, 02:47 AM
New version uploaded! :king:

Dabeuz
Jan 19, 2008, 03:50 AM
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.

Fujisan
Jan 20, 2008, 04:34 AM
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: