 |
Freeciv 'Cause civilization should be free!
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue Jul 13, 2010 1:17 pm Post subject: Convoys Mod for freeciv-1.14.2 |
|
|
I understand that freeciv-1.14.2 is already obsolete
and freeciv-2.2 seems to allow to make such things
but, may be, somebody found this mod useful
Added new unit flags
"FoodConvoy","ShieldConvoy" and "TradeConvoy"
If units with such flag receive the order "Pillage"
it, instead of the pillage, begins extract resource (food, shield or trade correspondingly)
from this tile and add resource to its homecity.
Only one unit on tile can extract resources
and must be no city worker that works on this tile
To help ai it may be good idea to give the same flags as normal caravan
for example
"TradeRoute", "HelpWonder", "IgZOC", "NonMil","FoodConvoy","ShieldConvoy"
(I does not test other configurations of flags)
File convoy_freeciv-1.14.2.patch.tar.gz is patch to freeciv-1.14.2
file convoy_freeciv-1.14.2.tar.gz contains the modified files
you can simply to copy this files to "freeciv" directory
(with freeciv-1.14.2 source)
This mod is tested only with xaw-client
and I compily it with flags
sh ./configure --disable-nls --disable-esd --disable-sdl-mixer --disable-winmm --disable-esdtest --disable-sdltest --enable-client=xaw
The network game and air convoy units is not tested
Sorry for my awful english
| Description: |
|
 Download |
| Filename: |
convoy_freeciv-1.14.2.tar.gz |
| Filesize: |
221.87 KB |
| Downloaded: |
14 Time(s) |
| Description: |
|
 Download |
| Filename: |
convoy_freeciv-1.14.2.patch.tar.gz |
| Filesize: |
33.76 KB |
| Downloaded: |
12 Time(s) |
|
|
| Back to top |
|
 |
barsukov1979
Joined: 29 Aug 2009 Posts: 2 Location: Saint-Petersburg, Russia
|
Posted: Tue Jul 13, 2010 1:30 pm Post subject: |
|
|
I am sorry I fogot to login
To make the playing of game with this mod more interesting
in this mod it is also added:
part of diplomacy from freeciv-2.1.6
(it work only with xaw-client)
and national combat bonuses
for example if file with nation contain the string
defense_city_wall_value_bonus=30
then defense value of units of this nation is increases by 3
(if it is defended inside city with city walls)
other possible strings:
attack_common_value_bonus=10
attack_common_percent_bonus=10
defense_common_value_bonus=10
defense_common_percent_bonus=20
defense_city_value_bonus=20
defense_city_percent_bonus=10
defense_city_wall_value_bonus=10
defense_city_wall_percent_bonus=10
value_bonus=10 means that it is added 1 to value
percent_bonus=10 means that values incrases by two times (by 100%)
common -- bonus is applied to all units of this nation
city -- only to units inside city
city_wall -- only to units inside city with city wall
Sorry for my awful english
|
|
| Back to top |
|
 |
barsukov1979
Joined: 29 Aug 2009 Posts: 2 Location: Saint-Petersburg, Russia
|
Posted: Thu Aug 05, 2010 11:47 am Post subject: |
|
|
new patch to file "unittool.c"
remove game crash when working convoy is destroyed
(patch must be applied to original unittool.c)
| Description: |
|
 Download |
| Filename: |
unittools.c.patch.tar.gz |
| Filesize: |
1 KB |
| Downloaded: |
6 Time(s) |
_________________ Sorry for may awful english |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|