[en] - Modding Corner > Coding

Coding in Edain 4.00

<< < (23/23)

Tukolp:
Thanks for the help, but it not solwed my problem.

I instered objects to my #define RESOURCE_MODIFIER_OBJECT _FILTER in playertemplate.
+MordorSlaughterHouse_Extern  and +MordorSlaughterHouse and the AIbuilder has these two also.

I also inserted this to skirmishaidata.ini :

   EconomyBuilderMinFarmsOw ned = 4
   EconomyBuilderMinMoney = 400 ;300
   EconomyBuilderPerFarmVal ue = 70
   EconomyBuilderPerSecPrio rityIncreaseBase = 30.0
   EconomyBuilderMinTimeBet weenFarms_Rush = 15.0f;   

and this

AIEconomyAssigment  MordorSlaughterHouse ;FarmTemplate MordorSlaughterHouse_Ext ern MordorLager
TemplateName =  MordorSlaughterHouse ;MordorSlaughterHouse_Ext ern FarmTemplate
End   

But still no luck, the porters are building the base, but not a single farm.

If anyone knows how to solve this, how to allow the builder to build edain 4.4.1's slaughterhouses on FarmTemplates from maps please help me. This is the last thing I need to make them work.

FG15:

--- Zitat ---AIEconomyAssigment  MordorSlaughterHouse ;FarmTemplate MordorSlaughterHouse_Ext ern MordorLager
TemplateName =  MordorSlaughterHouse ;MordorSlaughterHouse_Ext ern FarmTemplate
End   

--- Ende Zitat ---

Guess that is the code which is due for the farms.
But you added the normal SlaughterHouse, but not the Extern one.

Tukolp:
I modifed them to this :

AIEconomyAssigment MordorSlaughterHouse_Ext ern
   TemplateName = MordorSlaughterHouse_Ext ern
End   

and my playertemplate :
#define RESOURCE_MODIFIER_OBJECT _FILTER ANY +MordorSlaughterHouse_Extern

Also the builder has the  _extren one

Still no farms :'(

Tukolp:
Changing this command solved my problem:
    DisableBaseBuilding        = No
    DisableEconomyBuilding    = No ;Yes <------
    DisableUnitBuilding        = No
    DisableScienceUpgrading = No
    DisableUnitUpgrading    = No
    DisableTacticalAI        = No
    DisableTeamBuilding        = No
    DisableWallBuilding        = Yes

One problem solven, and another came :D

Now the AI builds the slaughterhouses, but sometimes duplicates them, near each other. Why ?

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln