FlashXAron
Warlord
- Joined
- Sep 24, 2010
- Messages
- 144
Okay, searching for that code line but wasn't able to find it !
Anyone so nice and share it, best would be an SQL code, as I want to use it in the gameplay.sql file from YNAMP mod.
After removing the strategic resources need for vanilla units , the AI already behaves better, but as long as it has enough outdated units, which it isn't able to upgrade, because AI never returns units back to its homeland to do that, it didn't built new ones. So AI is still broken, as he always moves some armies far away from his homeland and because when they arrive they are most of the time already outdated ... special when you play normal or faster paced games ! Even in Epic games it happens too often ...
so that would help a lot !
Thanks ...
PS: if someone is interested here the code to remove strategic resources from vanilla units :
-- Vanilla Units no longer require strategic resources, because this destroys the AI !
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_SWORDSMAN' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_MUSKETMAN' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_KNIGHT' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_TANK' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_BOMBARD' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_MODERN_ARMOR' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_FIGHTER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_JET_FIGHTER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_BOMBER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_JET_BOMBER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_IRONCLAD' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_BATTLESHIP' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_AIRCRAFT_CARRIER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_NUCLEAR_SUBMARINE' ;
Anyone so nice and share it, best would be an SQL code, as I want to use it in the gameplay.sql file from YNAMP mod.
After removing the strategic resources need for vanilla units , the AI already behaves better, but as long as it has enough outdated units, which it isn't able to upgrade, because AI never returns units back to its homeland to do that, it didn't built new ones. So AI is still broken, as he always moves some armies far away from his homeland and because when they arrive they are most of the time already outdated ... special when you play normal or faster paced games ! Even in Epic games it happens too often ...
so that would help a lot !
Thanks ...
PS: if someone is interested here the code to remove strategic resources from vanilla units :
-- Vanilla Units no longer require strategic resources, because this destroys the AI !
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_SWORDSMAN' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_MUSKETMAN' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_KNIGHT' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_TANK' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_BOMBARD' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_MODERN_ARMOR' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_FIGHTER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_JET_FIGHTER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_BOMBER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_JET_BOMBER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_IRONCLAD' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_BATTLESHIP' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_AIRCRAFT_CARRIER' ;
UPDATE Units SET StrategicResource=NULL WHERE UnitType='UNIT_NUCLEAR_SUBMARINE' ;