Happy to get your reply! All set now !! The results are turning very good!! Thank you very much!
Bust I still have a question, I found the command bar has limited, the maximum amount can be displayed are 6 of abilities, if more then 6, there is not appear?
Nice, well done!
The additional abilities will be drawn on top of the resources, just like the hide button from the cheatmod in your screenshot. |
Dear Modder,
Good day everybody!
I want to add some extra P47 abilities that no need to use the commander, I try many times but failed, pls help me out.
Below is my four P47 abilities:
1. p47_recon_mp
2. p47_rocket_attack_mp
3. p47 machine gun attack the ground -- i don't know how to make this
4. p47 throw the inflame bombs ---- i don't know how to make this
I want to put these abilities appear in the command bar as below, please advise.
Global abilities can be added though the army categorie/tab. In Army_bag/abilities is a list that contains all global abilities for the selected faction. Change the requirement of the ability to make it visible. Currently the p47_recon_mp ability has the requirement of the player_upgrade "upgrade\aef\commander\ability\p47_recon" to become visible. Delete that requirement and it no longer requires the commander.
The "abilities\aef\modal_ability\commander_ability\usf_strafing_run" already contains the machinegun variant.
I recommend to clone the ability "abilities\german\modal_ability\commander_ability\stuka_incendiary_bombs". Then also clone the squad and entity from the air_strike_action in the action_list. At last you only need to change the model of the entity to the P47. Don't forget to link the new files to the ability.
Actually, I try another way to achieve the p47_rocket_attack_mp ability, I put this ability to Rifemen_squad_mp, but I don't know why the soldiers need to run to the attacked point to active this ability, that is too close!! pls advise why is that happen.
Set 'range' in the ability larger then 0
85 is often used for air strikes from infantry. |
This is the one: "environment\objects\defenses\wood\wooden_bunker\wooden_bunker".
It may not have been clear between the other quotes |
I'm glad I could help so far
And it's great to hear that you've learned a lot, that's really valuable.
I won't be able to write such a guide anytime soon, but I'll keep it in mind. |
It looks like there's a space in the stat_machine_name. I would also recommend the set retrigger to true to avoid any issues with the grenades ability. |
I put a top gunner in the M26 tank, but it is look funny, the cap is not opening, pls advise how to fix it, thank you very much.
Animator_set_state,
state_machine_name: grenade_hatch_state
do_action_state_name: fire
The grenade ability also uses this animation so I'm not sure what happens when they're both activated.
And the second question is why I can not find the upgrade details in the sbps of the sherman tank, pls advise where i can find the upgrade details of it
The US has vehicle crew, that means that only the ebps entity stays behind when the crew leaves the vehicle. The upgrades are located in ebps/upgrades_ext to keep the upgrades after re-crewing. |
Secondly, about the mortar pit, thank you for the detail reply, I need to spent some time to try this, it is a little bit difficult to me.
Emplacements are probably the most difficult objects to create. Maybe this will help, it contains the ebps and sbps files from the mortar pit: https://www.dropbox.com/s/qjeca3gc9q2a59b/Emplacements.zip?dl=0&file_subpath=%2FMortarpit
And yesterday, I try to find out how to make the wooden bunker by myself, but it is fail, I don't know which model is it,pls help me out, i sorry i have too many questions.
This is the one: "environment\objects\defenses\wood\wooden_bunker\wooden_bunker". |
Thank your for the wonderful reply , I just try again, it is work!!
Nice!
And I have two questions, hope can get your advice.
1. As your advice, the abp file can be created, so if possible to change the skin of the solders? I mean the custom skin.
It's not possible to add custom skins with the current modding tools. The .abp files can only reference to existing models and the current modding tools don't support new custom models/infantry skins.
2. I like this mortar pit, but i can not find this model, can you tell me how to make it?
The mortar pit is created with the same kind of files as the 25 pdr. The pit is the soviet mg nest "armies\soviet\structures\machinegunemplacement\machinegunemplacement" with the variable 'build' set to 0.6 (animator_set_variable), which makes the roof disappear. The gun is the mortar.
The mortar requires crew_ext to add the visible soldiers.
sync_target_name: Vehicle_Target
1st sync_action_name: attach_gunner and 2nd sync_action_name: attach_loader
|
It is very kind of you, this is the 3rd times you give me such detail reply, I just notice you are the Creater of the <<All Units mod>>, I am indeed honored to have your reply!!!
Happy to help
I just try, but still can not work, below is my set up, and I can not find the abp file of mortar_emplacement & mp_trench_02, pls advise.
Sorry I forgot one slightly important part ...
Some models don't have an .abp file by default. An .abp file combines objects, like a soldier to a weapon and the trench doesn't have that. Although it is possible to create an .abp with the exact same name as the model and the game will automatically use it.
The construction_item should point to (or a clone from) "ebps\races\german\buildings\defensive_structure\slit_trench_german_mp".
Then create this .abp and the model should change:
armies\soviet\structures\mortar_emplacement\mortar_emplacement.abp:
--3DSMax Toolset Generated: abp_functions.ms--
model =
{
"..\\..\\..\\..\\environment\\objects\\defenses\\trenches\\mp_trench_02\\mp_trench_02",
}
I hope this will help. |
I edited the "art\armies\soviet\structures\mortar_emplacement\mortar_emplacement.abp" to this:
--3DSMax Toolset Generated: abp_functions.ms--
model =
{
"..\\..\\..\\..\\environment\\objects\\defenses\\trenches\\mp_trench_02\\mp_trench_02",
}
The model requires the original mortar_emplacement.mua for the positions of the soldiers inside the trench. The modding tools don't allow us to create/edit .mua files. That's why I re-use this one, but it replaces the net variant. |