Login

russian armor

How to remove this dispatch ability "churchill_crocodile"?

7 May 2017, 04:33 AM
#1
avatar of Jxgg-Jimmy

Posts: 33

There should be no heavy armors in an infantry mod.

I removed all actions from this ability,but it does not work.

How to remove or disable it?

This one is different from other British dispatch abilities.:help:
7 May 2017, 10:26 AM
#2
avatar of Angrade (Ægion)
Senior Modmaker Badge

Posts: 766 | Subs: 2

There should be no heavy armors in an infantry mod.

I removed all actions from this ability,but it does not work.

How to remove or disable it?

This one is different from other British dispatch abilities.:help:


I believe the ability is called pepper_pot. Since the British are programmed differently you may just want to change the ability or you could just add an unobtainable requirement with usage and display in order to hide it.
8 May 2017, 10:29 AM
#3
avatar of Jxgg-Jimmy

Posts: 33



1-I believe the ability is called pepper_pot. Since the British are programmed differently you may just want to change the ability or you could just add an unobtainable requirement with usage and display in order to hide it.



Well,the ability is called "churchill_crocodile"(Deploy a Churchill Crocodile flamethrower tank.)

not "pepper_pot" (Heavy supporting artillery will fire at the target location.) I'm afraid.


2-I have no idea how to change the ability.Could you show me an example?


3-I trier to add these requirements,but nothing changed:

"required_contained_squad_type"
"squad_type": is2 (need a IS2 squad to active the ability?)


"required_race"
race: soviet (this ability is not of soviet's ability)


"required_population"


"required_structure"
"structure_name": refugee_female_mp (must have sovet refugee_female to active the ability?)

I'm not sure if they are unobtainable requirements.


4-I tried "display" , "usage" and "usage_and_display" on the same ability,but I don't see any change.What's the difference between them,may I ask?
8 May 2017, 11:25 AM
#4
avatar of Angrade (Ægion)
Senior Modmaker Badge

Posts: 766 | Subs: 2




Well,the ability is called "churchill_crocodile"(Deploy a Churchill Crocodile flamethrower tank.)

not "pepper_pot" (Heavy supporting artillery will fire at the target location.) I'm afraid.


2-I have no idea how to change the ability.Could you show me an example?


3-I trier to add these requirements,but nothing changed:

"required_contained_squad_type"
"squad_type": is2 (need a IS2 squad to active the ability?)


"required_race"
race: soviet (this ability is not of soviet's ability)


"required_population"


"required_structure"
"structure_name": refugee_female_mp (must have sovet refugee_female to active the ability?)

I'm not sure if they are unobtainable requirements.


4-I tried "display" , "usage" and "usage_and_display" on the same ability,but I don't see any change.What's the difference between them,may I ask?


Oops sorry about that, I was thinking another ability that had a really strange name. The ability is actually called breakthrough_operations
8 May 2017, 16:52 PM
#5
avatar of Kasarov
Senior Modmaker Badge

Posts: 422 | Subs: 2


"display" , "usage" and "usage_and_display" What's the difference between them,may I ask?


When the requirements aren't met, usage will simply gray out the ability and prevent you from using it. On the other hand, usage_and_display will not let you use the ability and will not even display the ability button/icon. The latter is mainly useful for keeping the command card clean for when a unit has a mutually exclusive upgrade that grants specific abilities. An example of such an ability that uses the usage_and_display is the OKW minesweeper toggle which only shows up after the Support Package upgrade.

I'm not sure what display would entail, other than not showing the button/icon. I don't know if the ability responds to the assigned hotkey if it's not visible, since I never tried it myself.
9 May 2017, 12:14 PM
#6
avatar of Angrade (Ægion)
Senior Modmaker Badge

Posts: 766 | Subs: 2


I'm not sure what display would entail, other than not showing the button/icon. I don't know if the ability responds to the assigned hotkey if it's not visible, since I never tried it myself.


I think I just realized how display works. It is meant to hide a researched upgrade such as Lieutenant dispatch. Since the upgrade is being used it just only hides the display.
10 May 2017, 09:43 AM
#7
avatar of Jxgg-Jimmy

Posts: 33



When the requirements aren't met, usage will simply gray out the ability and prevent you from using it. On the other hand, usage_and_display will not let you use the ability and will not even display the ability button/icon. The latter is mainly useful for keeping the command card clean for when a unit has a mutually exclusive upgrade that grants specific abilities. An example of such an ability that uses the usage_and_display is the OKW minesweeper toggle which only shows up after the Support Package upgrade.

I'm not sure what display would entail, other than not showing the button/icon. I don't know if the ability responds to the assigned hotkey if it's not visible, since I never tried it myself.



Again,I tried "display" and "usage_and_display" on a few abilities,I don't see any differences.

I appreciate your help.
14 May 2017, 10:27 AM
#8
avatar of Jxgg-Jimmy

Posts: 33



I think I just realized how display works. It is meant to hide a researched upgrade such as Lieutenant dispatch. Since the upgrade is being used it just only hides the display.



I tried this with "usage"

lieutenant_dispatched_upgrade_mp

though I don't know the difference,but it is helpful. :)
14 May 2017, 15:35 PM
#9
avatar of Angrade (Ægion)
Senior Modmaker Badge

Posts: 766 | Subs: 2

1 user is browsing this thread: 1 guest

Livestreams

unknown 1
Germany 937
unknown 11
Germany 1

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

1027 users are online: 1027 guests
0 post in the last 24h
10 posts in the last week
26 posts in the last month
Registered members: 49999
Welcome our newest member, Esco76747
Most online: 2043 users on 29 Oct 2023, 01:04 AM