Page 1 of 1
Can I use modified kits only for a single map?
Posted: 2012-06-14 09:03
by Dukuu_npanop
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?

Re: Can I use modified kits only for a single map?
Posted: 2012-06-14 09:43
by Moszeusz6Pl
You must create another mod. To do so you must copy pr folder from Battlefield2/mods, and then change this files.
Re: Can I use modified kits only for a single map?
Posted: 2012-06-14 09:48
by Dukuu_npanop
Moszeusz6Pl wrote:You must create another mod. To do so you must copy pr folder from Battlefield2/mods, and then change this files.
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.
Re: Can I use modified kits only for a single map?
Posted: 2012-06-14 09:56
by BloodyDeed
There are ways, download Project Normandy or Falklands and look how it was done there.
Re: Can I use modified kits only for a single map?
Posted: 2012-06-14 10:30
by AfterDune
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.
Re: Can I use modified kits only for a single map?
Posted: 2012-06-14 13:31
by Dukuu_npanop
[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.
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.