[MOD/FIX] restart air patrol/interceptor animation after game load

12monkeys

Prince
Joined
Nov 24, 2003
Messages
440
Location
Germany, Europe
:) :) :) obsolete with Civ 4 Patch 1.61 :) :) :)

--------------------------------------------------
Name : Reinit Interceptor Mission
Version : v1.1 (for Civ4 1.52) and v1.0 (for Civ4 1.09)
Date : 24.12.05 ( merry christmas guys )
Author : 12monkeys (@civfanatics + @apolyton)
--------------------------------------------------

Features :
This mod fixes the problem, that air intercepters are not animated (circling fighters and jet-fighters over cites) after a save game is loaded.
After loading a saved game, the mod is executed once when you finish the first turn. Then all fighers and jet-fighters which are on air patrol are garrisoned and send to air patrol again. The effect is, that the animation is restartet.
By pressing a hot key (Alt-I in v1.0 and Shift-I in v1.1) you can execute the reinit manually at any time.

Requirements :
- ReinitInterceptorMission-v1.1 works with Civ4 patch 1.52.
- ReinitInterceptorMission-v1.0 works with Civ4 patch 1.09.

Installation :
copy the files from the ZIP into their corresponding folders in the "My Documents\My Games\Civilization 4" folder. Installation at own risk!. If you alread yhave the ReinitInterceptorMission v1.0 installed, you can overwrite it with the new files over.
If you have already a modified versions of a file, you can manually merged them by looking for the comments "12monkeys - Re-Init Interceptor Mission "

Issues :
- no issues known

Ideas for future realeases :
- none

release notes :
v1.1 :
- hotkey changed from Alt-I to Shift-I (Alt-I is already used for hiding the interface)
- adapted and tested for Civ4 patch 1.52.

v1.0 :
- initial release for Civ4 patch 1.09
 

Attachments

What a great mod! I've already added it to my mod collection. Nice implimentation! I love seeing my little fighters on patrol...feels more secure. :p
 
As I noticed there is no problem with AI fighters, because the AI reinits the airpatrol each turn. I guess that the AI computes each turn the necessity of an air patrol, so that the reinit is a sideeffect.
 
Just put it in the root of the customassets/python folder? Not one of the subfolders?
 
You can put it any in folder you like, as far as it is a folder within CustomeAssets\Python. It doesn't matter, as far as I know.
 
dunno,, I loaded a save game and the Intercept function was not loaded up..
I had 3 cities with fighters in Intercept mode on the save..
Not sure what happened... I put files in the folder per instruction :confused:
 
ACEofHeart said:
dunno,, I loaded a save game and the Intercept function was not loaded up..
I had 3 cities with fighters in Intercept mode on the save..
Not sure what happened... I put files in the folder per instruction :confused:

Well, hard to analyze from here. To what folder did you copied the files?
 
I only went to Main Screen and Loaded a save,,, I did not restart .. maybe that's why it didn't work... It's working now ... thanks for responding.. :)
 
Thank you for updating your mod quickly. I had hoped that civ4 v1.52 wouldn't need this mod anymore, but apparently this bug-like behaviour of the interception mission is still not fixed.
 
There is a similar problem with units being fortified, but not from loading a saved game. I identified this in this bug thread.

Essentially after upgrading existing units, they lose their fortified graphical stance, even though they behave like fortified units. This problem affects the AI as well. There's been many times where I have attacked a unit that was fortified, but didn't show it graphically.

This isn't a big deal, but how easily can you modifiy this mod to refresh fortified units?
 
_alphaBeta_ said:
There is a similar problem with units being fortified, but not from loading a saved game. I identified this in this bug thread.

Essentially after upgrading existing units, they lose their fortified graphical stance, even though they behave like fortified units. This problem affects the AI as well. There's been many times where I have attacked a unit that was fortified, but didn't show it graphically.

This isn't a big deal, but how easily can you modifiy this mod to refresh fortified units?


I noticed that problem as well. It should be nor problem to apply the same solution on that problem. Maybe, I will have a look on it after the next patch.
 
Rabbit said:
There's one thing about it though. If I understand correctly, they way you fixed the intercept bug is by simply having all the units re-intialize the mission. If you do the same with fortified, they're going to loose the fortification bonus. Which is not going to be good if you're attacked in the next few turns.

If you wake up a fortified unit and fortify it again without using movement points, then it keeps the same fortification bonus.
 
Roland Johansen said:
If you wake up a fortified unit and fortify it again without using movement points, then it keeps the same fortification bonus.
-ahh that's good to know, having nothing to do with this particular thread but something I was wondering here being new to the game as it seems when selecting a fortified unit wakes it, regardless of moving it.
/Too early in the game for this mod, its bookmarked though, thanks.


peace,
 
I think Warlords has reintroduced this failure of aircraft to maintain their air patrol (intercept mission). Is it possible this will work under Warlords? If not, can someone update it?
 
Back
Top Bottom