Can I use modified kits only for a single map?
-
Dukuu_npanop
- Posts: 91
- Joined: 2010-01-02 22:03
Can I use modified kits only for a single map?
Guys, is there a possibility to launch modified kits on a single map, just like launching custom models using mountarchive, writing in staticobjects and gameplayobjects, leaving original PR files intact? 
-
Moszeusz6Pl
- Retired PR Developer
- Posts: 939
- Joined: 2010-06-24 13:41
Re: Can I use modified kits only for a single map?
You must create another mod. To do so you must copy pr folder from Battlefield2/mods, and then change this files.

-
Dukuu_npanop
- Posts: 91
- Joined: 2010-01-02 22:03
Re: Can I use modified kits only for a single map?
It's very disappointing, but maybe there's some other way, because it is so simple to attach custom vehicles and stationary weapons to the map.Moszeusz6Pl wrote:You must create another mod. To do so you must copy pr folder from Battlefield2/mods, and then change this files.
-
BloodyDeed
- Retired PR Developer
- Posts: 4452
- Joined: 2008-05-07 17:43
Re: Can I use modified kits only for a single map?
There are ways, download Project Normandy or Falklands and look how it was done there.

-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: Can I use modified kits only for a single map?
It's no problem, just have the new client/server zipfiles called through client-/serverarchives.con.
Kits are a bit different. If you want custom request kits, you're going to have to make changes to the Python files, create a new faction, etc.
If you just want a different kit in the spawnscreen, it's much easier, but you can't use the default PR way of selecting factions per map. You'd need to use the vBF2 way of choosing factions/kits + copy some stuff from faction_inits.con into your map's init.con and go from there.
Kits are a bit different. If you want custom request kits, you're going to have to make changes to the Python files, create a new faction, etc.
If you just want a different kit in the spawnscreen, it's much easier, but you can't use the default PR way of selecting factions per map. You'd need to use the vBF2 way of choosing factions/kits + copy some stuff from faction_inits.con into your map's init.con and go from there.

-
Dukuu_npanop
- Posts: 91
- Joined: 2010-01-02 22:03
Re: Can I use modified kits only for a single map?
You see, I modified chinsurgent_riflemanat_sp.con, added a custom weapon and changed ObjectTemplate.geometry.kit setting, so I want to work that kit instead of a default one. I tried to modify init.con using vBF2 way, then I added kits folder to client/server.zipfiles using serverarchives, but the game uses default kits.[R-DEV]AfterDune wrote:It's no problem, just have the new client/server zipfiles called through client-/serverarchives.con.
Kits are a bit different. If you want custom request kits, you're going to have to make changes to the Python files, create a new faction, etc.
If you just want a different kit in the spawnscreen, it's much easier, but you can't use the default PR way of selecting factions per map. You'd need to use the vBF2 way of choosing factions/kits + copy some stuff from faction_inits.con into your map's init.con and go from there.
