How to requesting kits for custom faction

Making or wanting help making your own asset? Check in here
Post Reply
tomylana
Posts: 29
Joined: 2012-08-07 15:08

How to requesting kits for custom faction

Post by tomylana »

I've learned how python works to spawning kits using rcon spwaners and setup initial kits for custom faction, but I still confused how to custom faction soldier requesting kits from their own vehicles or supply crate? It looks like there no reference between faction and vehicles. Maybe I miss for something, but it so interesting for me.


Feel free to check out our Discord
and also our facebook group
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: How to requesting kits for custom faction

Post by AlonTavor »

Have you added your crates/APCs to the python configs?
check realityconfig_private.py:
-KIT_SUPPLY_OBJECTS
-KIT_SUPPLY_OBJECTS_VEHICLES
tomylana
Posts: 29
Joined: 2012-08-07 15:08

Re: How to requesting kits for custom faction

Post by tomylana »

AlonTavor wrote:Have you added your crates/APCs to the python configs?
check realityconfig_private.py:
-KIT_SUPPLY_OBJECTS
-KIT_SUPPLY_OBJECTS_VEHICLES
Ahh, so I've to touch the python script for that? I mean, is that no problem if I want to play online like usual?

But it make sense, alright I'll check it. A couple of years ago, I'm running a server and those lines is like familiar for me. Thanks for your answer.


Feel free to check out our Discord
and also our facebook group
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: How to requesting kits for custom faction

Post by AlonTavor »

Python isn't used by clients so you can change it freely. Its completely server side (or if you create local)
tomylana
Posts: 29
Joined: 2012-08-07 15:08

Re: How to requesting kits for custom faction

Post by tomylana »

Hi AlonTavor, I was edited python config as you said (realityconfig_local.py). I added new line for new faction include vehicles but nothing happen ingame even "unavailable to your forces right now" doesn't appear. So am I miss another something?

I'm testing on local (SP)


Feel free to check out our Discord
and also our facebook group
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: How to requesting kits for custom faction

Post by AlonTavor »

You should join discord for quicker help


1. Show me the python file you changed.
2. If nothing happened when you requested kit then something errored, always enable rcon debug so you can see the errors
tomylana
Posts: 29
Joined: 2012-08-07 15:08

Re: How to requesting kits for custom faction

Post by tomylana »

AlonTavor wrote:You should join discord for quicker help


1. Show me the python file you changed.
2. If nothing happened when you requested kit then something errored, always enable rcon debug so you can see the errors
OK, wait.


Feel free to check out our Discord
and also our facebook group
Post Reply

Return to “PR:BF2 Community Modding”