Can I use modified kits only for a single map?

Making or wanting help making your own asset? Check in here
Post Reply
Dukuu_npanop
Posts: 91
Joined: 2010-01-02 22:03

Can I use modified kits only for a single map?

Post 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? :confused:
Moszeusz6Pl
Retired PR Developer
Posts: 939
Joined: 2010-06-24 13:41

Re: Can I use modified kits only for a single map?

Post by Moszeusz6Pl »

You must create another mod. To do so you must copy pr folder from Battlefield2/mods, and then change this files.

Image
Dukuu_npanop
Posts: 91
Joined: 2010-01-02 22:03

Re: Can I use modified kits only for a single map?

Post 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.
BloodyDeed
Retired PR Developer
Posts: 4452
Joined: 2008-05-07 17:43

Re: Can I use modified kits only for a single map?

Post by BloodyDeed »

There are ways, download Project Normandy or Falklands and look how it was done there.
Image
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Can I use modified kits only for a single map?

Post 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.
Image
Dukuu_npanop
Posts: 91
Joined: 2010-01-02 22:03

Re: Can I use modified kits only for a single map?

Post 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.
Post Reply

Return to “PR:BF2 Community Modding”