Resource icon

whowards69s Units-Prospectors (improved) 2016-10-05

Updated 31.May 2015 Important bugfix

Since whoward did not update one of his mods since one year, the latest version you can download at picknmixmods.com is from Oct 2013.
But whoward did really great work in 2014 with his dll and added an Event, that fires when a unit is captured.

In his Prospectors mod is a note from him:
"If there was an onUnitCaptured() event, we could give the unit's gold to the capturing player, but there isn't, so it will just be lost"
Original mod: http://www.picknmixmods.com/mods/f9a...c8f25/mod.html

So I decided to complete this mod and added the event made by whoward69. It was a bit tricky, since the event does not return the capturing player, but I made it. So if the prospector is captured while having gold/ressource, this gold/ressource is not lost, except it is captured by barbarian. (during a Capturing the original unit is deleted and replaced by a new unit).

I also fixed a small "bug". After building a fossick twice at the same tile, a mine/quarry spawned. I fixed this by saving all places from fossicks, so a mine/quarry only spawns, if there was a mine/quarry previously.
And I made it multiplayer compatible.

In addition to that I added some multipliers to the Gold amount. The amount you can find now depends on:
1) Gamespeed
2) Your current Era
3) The distance to one of your towns!
The chance to find a ressource also increased with higher distance.
So that means, the further away your prospector is working, the more output you can get, but the higher the chance of being captured.

Known Bugs:
After the prospector finished his work, the garphic from the ressource he worked on will disappear. I solved this by removing the ressource completely and add it at next turn start again to the game. (if I add it without delay, the graphic do not come back).
If you know a better solution to this problem, please let me know.

Also I'm not sure, if the amounts of gold/chance for ressource are balanced in all combinations.
So please try it out and make suggestions to improve it.

Thread:
http://forums.civfanatics.com/showthread.php?p=13841748#post13841748

Note:

Whowards latest dll v66 is required for this mod:
http://www.picknmixmods.com/mods/d1b6328c-ff44-4b0d-aad7-c657f83610cd/mod.html
  • prospector_finished_3jy.jpeg
    prospector_finished_3jy.jpeg
    315.3 KB · Views: 112
  • prospector_robbed_Cn3.jpeg
    prospector_robbed_Cn3.jpeg
    315.8 KB · Views: 129
  • prospector_recaptured_34A.jpeg
    prospector_recaptured_34A.jpeg
    326.2 KB · Views: 109
Author
Serp
Downloads
407
Views
407
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Serp

Top Bottom