|
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here |
|
Thread Tools | Display Modes |
2021-08-11, 13:10 | #1 |
Join Date: Aug 2021
Posts: 8
China
|
How to repair Heavy vehicle(such as APC) with wrench?
I know in original PR this will be impossible.The manual told me that only repair drop can heal APC.But I'm a total Singleplayer lover and I was fancinated by the impressive atmosphere PR brought to me.So I really hope someone can told me how to modify it.
Here are the questions I want to ask: 1.How to make the Heavy vehicle repairable with wrench?Where to modify? 2.I also want Bots can respond the request sent out by radio like I request a medical support.Also,bot will respond other bots's request too. I used to replace a rifleman's klappspaten to wrench but the bot can't respond the radio request.I think it may related to the aibehavior.ai? I also find a wrench.ai file in objects_weapons_server.zip.I changed some code in it but it didn't work.I really tried all of solutions I can come up with but none of them were available. I'm a new PR player and I will be appreciated for your help to me. |
2021-08-13, 13:38 | #2 | |
Retired PR Developer
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
It should be materials.
pr/content/common_server.zip, material/materialmanagersettings.con Wrench material is 84, to fix vehicles look up vehicle materials, APCs are 4000-4004 I think. Quote:
| |
|
||
2021-08-14, 04:50 | #3 |
Join Date: Aug 2021
Posts: 8
China
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
Thanks for your reply,sir.I have done what you said,and tested it in asad_khal.I used the Rocket Launcher to hit the APC,but the wrench was still not working.No repairing sound and icon.
|
2021-08-14, 04:57 | #4 |
Join Date: Aug 2021
Posts: 8
China
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
Thanks for your reply,sir.I have done what you said,and tested it in asad_khal.I used the Rocket Launcher to hit the APC,but the wrench seemed to be still not working.No repairing sound and icon.
|
2021-08-14, 07:52 | #5 |
PR:BF2 Lead Developer
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
I think, you need to do this for the defaultMaterial. For APC and tanks this is 172
|
Mineral: TIL that Wire-guided missiles actually use wire
|
|
2021-08-14, 11:51 | #6 |
Join Date: Aug 2021
Posts: 8
China
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
|
2021-08-14, 13:26 | #7 |
PR:BF2 Lead Developer
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
Same the other materials above in materialManagerSettings.con
Code:
MaterialManager.createCell 84 172 MaterialManager.damageMod 0 |
Mineral: TIL that Wire-guided missiles actually use wire
|
|
2021-08-14, 13:53 | #8 | |
Join Date: Aug 2021
Posts: 8
China
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
Quote:
By the way,is there any methods to make the bots respond my repairing request in radio like requesting medic? | |
2021-08-15, 00:05 | #10 |
Join Date: Aug 2021
Posts: 8
China
|
Re: How to repair Heavy vehicle(such as APC) with wrench?
|
|
|