Questions about modding commander abilities
Posts: 33
Hi
I am having some issues with modding commander abilities.
1-I tried to add "railway_artillery" and"zeroing_artillery" into the German commander "joint_operation",and remove the ability "assaul field officer" from it.I cloned commander\joint_operation,and edit "commander abilities" ,I tried many times but nothing happened!
2_For infantry mod,I want to remove "observation_valentine" and "sexton_dispatch" abilities from the "britsh_artillery_commander".But I can't find any ability list from which I can remove it .Where is the army's ability list?
3_I managed to make "halftrack_sdkfz_251_mp " have the upgrads: "retreat_point_unlock_upgrade" and "medic_healing_mp",but when medic healing upgraded,not one medic spawns , where is the problem ?
[/size]
Posts: 485 | Subs: 1
to make custom commander, people use to add a custom button in one of the building and when you click that, it adds to the player the wanted commander abilities.
Posts: 817 | Subs: 5
3. The 'ebps' of the halftrack needs a 'repair_station_ext' which includes the medics. I recommend to look into existing buildings with medics, like the Forward Assembly or the Soviet HQ.
Posts: 632 | Subs: 1
1. Commander abilities can be modded, but not using the "commander" and "commander_ability" categories in the AE - these are locked. Modifiying commander abilities is explained here: https://www.coh2.org/topic/57379/modding-commander-abilities
2. British commanders are implemented differently. To replace an ability, clone it while keeping the name and change what it does.
3. Medics don't work well with mobile units. I recommend adding a healing aura like on the USF ambulance instead.
Posts: 33
i don't think that commander can be modded.
to make custom commander, people use to add a custom button in one of the building and when you click that, it adds to the player the wanted commander abilities.
It seems german hq base building only make it take effect for "german "abilities,but not for west german(OKW) abilities.Is there a way to add OKW commander ability "rocket_barrage" and "zeroing_artillery" to this german(Wehrmacht) base building?
Posts: 33
Please use the search function before asking questions - some of them have been asked before.
1. Commander abilities can be modded, but not using the "commander" and "commander_ability" categories in the AE - these are locked. Modifiying commander abilities is explained here: https://www.coh2.org/topic/57379/modding-commander-abilities
2. British commanders are implemented differently. To replace an ability, clone it while keeping the name and change what it does.
3. Medics don't work well with mobile units. I recommend adding a healing aura like on the USF ambulance instead.
to add railway_gun_artillery to this commander "joint_operation",I tried this:
1-army\german,clone"german"
2-attrib\abilities\german\...\railway_gun_artillery(clone),it already has two "required_player_upgrade" items.
3-upgrade\german\commander\ability\railway_artillery_support (can not find "railway_gun_artillery" )
add "required_player_upgrade" to requirements, set "reason" to "usage_and_display"
but still it does't work.
sorry,I dont't know how to insert local images
Posts: 33
1 and 2. The commander abilities can be found in the category 'army' and then in the commander_ability list. You can add and remove the abilities when you clone the army.
3. The 'ebps' of the halftrack needs a 'repair_station_ext' which includes the medics. I recommend to look into existing buildings with medics, like the Forward Assembly or the Soviet HQ.
1-Thank you for your help
2-I had add 'repair_station_ext' (copy from OKW base truck),but it still doesn't work
Posts: 817 | Subs: 5
I had add 'repair_station_ext' (copy from OKW base truck),but it still doesn't work
Did you activate the extension? You need to call the action "activate_extension" in your upgrade.
Posts: 632 | Subs: 1
3-upgrade\german\commander\ability\railway_artillery_support (can not find "railway_gun_artillery" )
add "required_player_upgrade" to requirements, set "reason" to "usage_and_display"
but still it does't work.
You need to modify the ability's requirements. Do not touch the upgrade.
The ability is called "abilities\german\modal_ability\commander_ability\railway_gun_artillery".
Its requirements look like this:
required_resource: 12CP
required_player_upgrade: "attributes\upgrade\blizzard_active", is_present: False
required_player_upgrade: "attributes\upgrade\german\commander\ability\railway_artillery_support"
All of these requirements need to be fulfilled for the ability to be available. You need to modify them to look like this:
required_resource: 12CP
required_player_upgrade: "attributes\upgrade\blizzard_active", is_present: False
required_any_in_list
-required_player_upgrade: "attributes\upgrade\german\commander\ability\railway_artillery_support"
-required_all_in_list
--required_player_upgrade: "attributes\upgrade\german\commander\passive\pak_43_emplacement"
--required_player_upgrade: "attributes\upgrade\german\commander\ability\assault_field_officer"
Posts: 33
Did you activate the extension? You need to call the action "activate_extension" in your upgrade.
ebps\extensions\action_apply_ex\actions\
add "activate_extension_action",is that right?
but again, not one medic spawns
Posts: 33
2-Is there a way to add OKW commander ability "zeroing_artillery" to this german(Wehrmacht) commander "joint_operation"? I have tried so many times.
3-since british commander ability list not in army category,I can't remove "sexton_dispatch" abilities from the "britsh_artillery_commander".so,I set the ui position to -1,(do not display),
but can this stop AI player using this commander ability? I'm not sure.
4-about commander abilities ui position, it's hard to figure out.these ui position values: 30 40 70
80 120 130... what do they mean?
Posts: 632 | Subs: 1
3. You can remove all actions from the ability, so it doesn't do anything.
4. The abilities are ordered by these values, with the lowest one apperaring on the left.
Posts: 33
2. It works in the same way as for Railway Artillery, just with the zeroing artillery upgrade instead of the railway artillery support upgrade. And you also need to add it to the army's ability list, of course!
3. You can remove all actions from the ability, so it doesn't do anything.
4. The abilities are ordered by these values, with the lowest one apperaring on the left.
OK.These are very helpful,and the ambulance_heal ability is also very useful for halftrack 251
Thank you!
Posts: 57
1. Go to the commander tab (under inventory).
2. Find a commander ability in an army list you want to replace; in my case this was ambush_camouflage.
3. Find a commander ability in the list you want to replace the power with (light_artillery_support).
4. Find this power in the abilities tab under the commander ability folder and clone it (light_support_artillery).
5. Delete upgrade reference to commander ability in requirements.
6. Add new requirements making sure to change usage to usage and display.
7. Change to a new requirement on the upgrade tab of the editor (you can get there by goto reference)
Example:
Encirclement, Storm Tactics and Jaeger infantry doctrine all have ambush camouflage (which is being added as a default upgrade so must be replaced)
Encirclement and Storm Tactics will receive light artillery barrage but the third commander already has this ability and will receive railway artillery instead.
The replaced list item #6 for JID becomes:
required in any list
1. required player upgrade : attributes\upgrade\german\commander\ability\railway_artillery_support
2. required player upgrade :attributes\upgrade\german\commander\passive\jaeger_command_squad_mp
The replacement for the other doctrines
required any in list
1. required all in list :
required player upgrade: stuka bombing run upgrade
required player upgrade: howitzer 105 emplacement
2. required all in list :
required player upgrade:crush the pocket
3. required player upgrade: light_artillery_support
Livestreams
15 | |||||
872 | |||||
56 | |||||
20 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.597215.735+12
- 3.34957.860+14
- 4.1101614.642+2
- 5.305114.728+1
- 6.916405.693-2
- 7.273108.717+24
- 8.721440.621+3
- 9.1041674.607-2
- 10.17146.788+1
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
8 posts in the last week
37 posts in the last month
Welcome our newest member, Transue
Most online: 2043 users on 29 Oct 2023, 01:04 AM