MartinoCasa
15 years ago
Hello,

1. Is there a way to make AI unable to make Superweapons?
2. And also the Special general promotions, like the Artillery barrage?

3. I was wondering if there are any tutorials for learning how to use map.ini, is there one?

kind regards,
Mart.
Sponsor
Azerom
  • Azerom
  • 61.25% (Friendly)
  • Private
15 years ago
1. No Superweapon Script 

2.new script->Map->Modify->Adjust the tech tree for a specific object type

In the dropdown menu select China->System->ChinaArtilleryBarageShell

Then "becomes Buildable [No]

Put script in your Civillian folder and now China cannot use Artillery Barrage. Rinse and Repeat for the other factions/powers.

3. Search these fourms, they are a fountain of information. To use the map.ini just copy it into the respected map folder and restart zero hour. every time you edit the .ini you need to restart zero hour so it loads with the map.
Annihilationzh
15 years ago
2. Disabling tank's battlemaster won't disable his battlemaster paradrop. The same is true of the artillery barrage.

AI is not an area I am experienced in, but I expect this should work in a map.ini

AIData
  SideInfo China
    ResourceGatherersEasy     = 2
    ResourceGatherersNormal   = 2
    ResourceGatherersHard     = 2     
    BaseDefenseStructure1     = ChinaGattlingCannon  

    SkillSet1
      Science = SCIENCE_NukeLauncher
      Science = SCIENCE_ArtilleryTraining
      Science = SCIENCE_ClusterMines
      Science = SCIENCE_Frenzy1
      Science = SCIENCE_Frenzy2
      Science = SCIENCE_Frenzy3
      Science = SCIENCE_EMPPulse
    End

    SkillSet2
      Science = SCIENCE_RedGuardTraining
      Science = SCIENCE_NukeLauncher
      Science = SCIENCE_Frenzy1
      Science = SCIENCE_Frenzy2
      Science = SCIENCE_Frenzy3
      Science = SCIENCE_ChinaCarpetBomb
      Science = SCIENCE_EMPPulse
    End
  End
  SideInfo ChinaTankGeneral
    ResourceGatherersEasy     = 2
    ResourceGatherersNormal   = 2
    ResourceGatherersHard     = 2     
    BaseDefenseStructure1     = Tank_ChinaGattlingCannon  

    SkillSet1
      Science = SCIENCE_BattlemasterTraining
      Science = SCIENCE_TankParadrop1
      Science = SCIENCE_TankParadrop2
      Science = SCIENCE_TankParadrop3
      Science = SCIENCE_Frenzy1
      Science = SCIENCE_ChinaCarpetBomb
      Science = SCIENCE_EMPPulse
    End

    SkillSet2
      Science = SCIENCE_BattlemasterTraining
      Science = SCIENCE_TankParadrop1
      Science = SCIENCE_TankParadrop2
      Science = SCIENCE_TankParadrop3
      Science = SCIENCE_Frenzy1
      Science = SCIENCE_ChinaCarpetBomb
      Science = SCIENCE_EMPPulse
    End
  End


  SideInfo ChinaInfantryGeneral
    ResourceGatherersEasy     = 2
    ResourceGatherersNormal   = 2
    ResourceGatherersHard     = 2     
    BaseDefenseStructure1     = Infa_ChinaGattlingCannon  

    SkillSet1
      Science = Infa_SCIENCE_RedGuardTraining
      Science = Infa_SCIENCE_InfantryParadrop1
      Science = Infa_SCIENCE_InfantryParadrop2
      Science = Infa_SCIENCE_InfantryParadrop3
      Science = Early_SCIENCE_Frenzy1
      Science = SCIENCE_ChinaCarpetBomb
      Science = SCIENCE_EMPPulse
    End

    SkillSet2
      Science = Infa_SCIENCE_RedGuardTraining
      Science = Infa_SCIENCE_InfantryParadrop1
      Science = Infa_SCIENCE_InfantryParadrop2
      Science = Infa_SCIENCE_InfantryParadrop3
      Science = SCIENCE_ClusterMines
      Science = SCIENCE_ChinaCarpetBomb
      Science = SCIENCE_EMPPulse
    End
  End


  SideInfo ChinaNukeGeneral
    ResourceGatherersEasy     = 2
    ResourceGatherersNormal   = 2
    ResourceGatherersHard     = 2     
    BaseDefenseStructure1     = Nuke_ChinaGattlingCannon  

    SkillSet1
      Science = SCIENCE_RedGuardTraining
      Science = SCIENCE_ClusterMines
      Science = SCIENCE_ArtilleryTraining
      Science = SCIENCE_Frenzy1
      Science = SCIENCE_Frenzy2
      Science = SCIENCE_Frenzy3
      Science = SCIENCE_EMPPulse
    End

    SkillSet2
      Science = SCIENCE_RedGuardTraining
      Science = SCIENCE_ClusterMines
      Science = SCIENCE_Frenzy1
      Science = SCIENCE_Frenzy2
      Science = SCIENCE_Frenzy3
      Science = SCIENCE_ChinaCarpetBomb
      Science = SCIENCE_EMPPulse
    End
  End
End

If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
MartinoCasa
15 years ago
Thanks a lot ^^ it works great!
I'm soon gonna post the new map, its a total new concept(i think) 😉
Anyway thanks.