Jump to content


bilbothehobbit

Member Since 25 Dec 2019
Offline Last Active Sep 02 2023 07:40 PM

Posts I've Made

In Topic: Changing Building Size

18 January 2022 - 08:30 AM

add

Scale = [A number that indicates how much you want the object to grow]

to the code of the building you want to enlarge. 

for example, Scale = 1.7 will make the building be 1.7 times larger.


In Topic: Why can't heroes use their own special abilities?

23 November 2021 - 10:34 AM

I have no experience in CaHs, but I can answer your second question

go to skirmishaidata.ini located in data\ini\default

search with control+f for HeroBuildOrder and add your hero to the list for whatever faction you want him to be


In Topic: Why can't heroes use their own special abilities?

22 November 2021 - 01:50 PM

You'll need to add to the object's code something like this:

 

 
Behavior = AISpecialPowerUpdate <A fitting name>
    CommandButtonName = <The Ability Command Button's name>
    SpecialPowerAIType = <An ENum, , look at similar powers for reference.>
    SpecialPowerRadius = <a number, look at similar powers for reference.>
End
 
For example, for Aragorn's Athelas power:
 
Behavior = AISpecialPowerUpdate AragornElendilAI
    CommandButtonName = Command_SpecialAbilityElendil
    SpecialPowerAIType = AI_SPECIAL_POWER_BASIC_SELF_BUFF
    SpecialPowerRadius = 200;
End
 
Hope I helped you.

In Topic: What exactly does Leadership affect?

24 September 2021 - 07:42 AM

The ARMOR modifier is additive, but other modifiers, like SPEED, for example, are Multiplicitive. I believe that all of the modifiers are written at the start of attributemodifier.ini


In Topic: Buffing (or DeBuffing) when reaches low health

08 April 2021 - 01:07 PM

thanks :)