How to requesting kits for custom faction
-
tomylana
- Posts: 29
- Joined: 2012-08-07 15:08
How to requesting kits for custom faction
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.
-
AlonTavor
- PR:BF2 Developer
- Posts: 2991
- Joined: 2009-08-10 18:58
Re: How to requesting kits for custom faction
Have you added your crates/APCs to the python configs?
check realityconfig_private.py:
-KIT_SUPPLY_OBJECTS
-KIT_SUPPLY_OBJECTS_VEHICLES
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
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?AlonTavor wrote:Have you added your crates/APCs to the python configs?
check realityconfig_private.py:
-KIT_SUPPLY_OBJECTS
-KIT_SUPPLY_OBJECTS_VEHICLES
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.
-
AlonTavor
- PR:BF2 Developer
- Posts: 2991
- Joined: 2009-08-10 18:58
Re: How to requesting kits for custom faction
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
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)
I'm testing on local (SP)
-
AlonTavor
- PR:BF2 Developer
- Posts: 2991
- Joined: 2009-08-10 18:58
Re: How to requesting kits for custom faction
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
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
OK, wait.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
