How to Mod PR Co-op Game Mode (Unsupported)
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59
Re: How to begin Modding your PR_SP
Invisible weapons happen if you don't have the kit spawners in the init.con IIRC.

-
PatrickLA_CA
- Posts: 2243
- Joined: 2009-07-14 09:31
Re: How to begin Modding your PR_SP
I can't tell you was that happening with the mp5 cause i don't know which kit has it so i've newer used and please tell me how to fix it!
-
RAW HOMICIDAL
- Posts: 350
- Joined: 2008-09-08 22:51
Re: How to begin Modding your PR_SP
normally when i get an invisible weapon, i just make sure i have the same load out in each of my SP_*****.con and my ******.con and it corrects the problem.
also some of the .cons have extensions like para_ or SP_para_ the pilots kit is the exception to this.
also some of the .cons have extensions like para_ or SP_para_ the pilots kit is the exception to this.

[CENTER]"Just let'm Bleed" - Homicidal PRSP Tester
Click Here [thread=55667]
[/thread] Click Here
[/thread] Click Here[/CENTER]
-
Drunkenup
- Posts: 786
- Joined: 2009-03-16 20:53
Re: How to begin Modding your PR_SP
'[R-CON]Outlawz wrote:Invisible weapons happen if you don't have the kit spawners in the init.con IIRC.
Wait, so how do I fix this? I have this problem with a Mk12 I imported from PR .8
-
Rakkyo
- Posts: 2
- Joined: 2009-08-19 23:32
Re: How to begin Modding your PR_SP
I modded the power of the Su-25's rockets and and increased its bomb-load, but the game CTDs while loading "Objects", even on maps that don't use the asset.
I restored the original objects_server.zip and made a minor change (1 extra hitpoint for the vodnik) as a test and it did the same thing.
Modifying weapon stats (increased binocular zoom for example) or kit loadout (gave Chinese grenadier officer binocs) also CTDs during loading.
Adding/removing assets from the same maps has worked fine, so I assume it's specific to the objects_server zip file.
Any ideas on what's wrong?
Quick edit here, I tried extracting and re-zipping a copy of the original objects_server.zip and it still crashes.
the re-zip is about 200kb larger, so something is different in the compression/encoding. I'm using a fresh install of Win-zip, so I dont know why it'd have problems...
I restored the original objects_server.zip and made a minor change (1 extra hitpoint for the vodnik) as a test and it did the same thing.
Modifying weapon stats (increased binocular zoom for example) or kit loadout (gave Chinese grenadier officer binocs) also CTDs during loading.
Adding/removing assets from the same maps has worked fine, so I assume it's specific to the objects_server zip file.
Any ideas on what's wrong?
Quick edit here, I tried extracting and re-zipping a copy of the original objects_server.zip and it still crashes.
the re-zip is about 200kb larger, so something is different in the compression/encoding. I'm using a fresh install of Win-zip, so I dont know why it'd have problems...
Last edited by Rakkyo on 2009-08-20 00:37, edited 1 time in total.
Reason: Update
Reason: Update
-
RAW HOMICIDAL
- Posts: 350
- Joined: 2008-09-08 22:51
Re: How to begin Modding your PR_SP
are you extracting the entire object server.zip each time you make an edit? and then re-zipping.

[CENTER]"Just let'm Bleed" - Homicidal PRSP Tester
Click Here [thread=55667]
[/thread] Click Here
[/thread] Click Here[/CENTER]
-
Rakkyo
- Posts: 2
- Joined: 2009-08-19 23:32
Re: How to begin Modding your PR_SP
Yeah, does that cause problems? It worked fine with the asset replacement but I suppose that's a less vital component, not to mention confined to only the one map.
Edit: Okay, I edited inside and updated it and it worked fine. Thanks, and sorry for the noob mistake.
Edit: Okay, I edited inside and updated it and it worked fine. Thanks, and sorry for the noob mistake.
Last edited by Rakkyo on 2009-08-20 08:23, edited 1 time in total.
Reason: Update
Reason: Update
-
PatrickLA_CA
- Posts: 2243
- Joined: 2009-07-14 09:31
Re: How to begin Modding your PR_SP
Well ANY SUGGESTIONS HOW TO FIX THE MP5 THING < IF I REPLACE THE PILOT'S EMTYHANDS WITH OTHER WEAPON IT'S OK BUT IT'S NOT REALISTIC A PILOT WITH M249 SAW OR M4!>
-
PatrickLA_CA
- Posts: 2243
- Joined: 2009-07-14 09:31
Re: How to begin Modding your PR_SP
invinsible weapon hapens with the silenced 92fs
-
E4$Y
- Posts: 136
- Joined: 2008-08-08 07:38
Re: How to begin Modding your PR_SP
Thank you RAW for a very great tutorial 
Now what i want to know of is: How can i change teams on maps? I mean like changing brits on Basrah to USMC? Can you help me with that?
Thanks in advance
Now what i want to know of is: How can i change teams on maps? I mean like changing brits on Basrah to USMC? Can you help me with that?
Thanks in advance
-
E4$Y
- Posts: 136
- Joined: 2008-08-08 07:38
Re: How to begin Modding your PR_SP
Well i found it out for myself 
Took me about 30 mins to figure it out though, but it was worth it
Took me about 30 mins to figure it out though, but it was worth it
-
RAW HOMICIDAL
- Posts: 350
- Joined: 2008-09-08 22:51
Re: How to begin Modding your PR_SP
Patrick Ill give you one free B, if you want to waste it on this let me know.
and upload your file and shoot me a PM. (actually ill give you further instructions on what files i want. ) just send me a PM
and upload your file and shoot me a PM. (actually ill give you further instructions on what files i want. ) just send me a PM

[CENTER]"Just let'm Bleed" - Homicidal PRSP Tester
Click Here [thread=55667]
[/thread] Click Here
[/thread] Click Here[/CENTER]
-
PatrickLA_CA
- Posts: 2243
- Joined: 2009-07-14 09:31
Re: How to begin Modding your PR_SP
Okay thanks fopr the help but what is PM and i dont extract the whole object_server.rarRAW HOMICIDAL wrote:Patrick Ill give you one free B, if you want to waste it on this let me know.
and upload your file and shoot me a PM. (actually ill give you further instructions on what files i want. ) just send me a PM
-
Double Doppler
- Posts: 74
- Joined: 2009-07-19 15:33
Re: How to begin Modding your PR_SP
Is there a possibilty of changing teams for each map (countries)?
-
Drunkenup
- Posts: 786
- Joined: 2009-03-16 20:53
Re: How to begin Modding your PR_SP
There might be a tutorial on how to do that on the BFSP forums.Double Doppler wrote:Is there a possibilty of changing teams for each map (countries)?
-
RAW HOMICIDAL
- Posts: 350
- Joined: 2008-09-08 22:51
Re: How to begin Modding your PR_SP
ill just do it from herePatrickLA_CA wrote:Okay thanks fopr the help but what is PM and i dont extract the whole object_server.rar
This is the us_pilot.con
Code: Select all
ObjectTemplate.create Kit us_pilot
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.NetworkableInfo KitInfo
ObjectTemplate.kitType Assault
ObjectTemplate.aiTemplate Assault
ObjectTemplate.geometry US_kits_3
ObjectTemplate.geometry.kit 9
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.physicsType Mesh
ObjectTemplate.cullRadiusScale 8
rem -------------------------------------
ObjectTemplate.addTemplate emptyhands
ObjectTemplate.addTemplate hgr_smoke_signal
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate ParachuteLauncher
rem -------------------------------------
ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.ammoSound S_Resupply
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair
ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS"
ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga"
ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound S_SprintBreath
ObjectTemplate.vehicleHud.injurySound S_Injury
ObjectTemplate.vehicleHud.vehicleType 7
Code: Select all
ObjectTemplate.create Kit us_pilot_ziptie
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.NetworkableInfo KitInfo
ObjectTemplate.kitType Assault
ObjectTemplate.aiTemplate Assault
ObjectTemplate.geometry US_kits_3
ObjectTemplate.geometry.kit 9
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.physicsType Mesh
ObjectTemplate.cullRadiusScale 8
rem -------------------------------------
ObjectTemplate.addTemplate emptyhands
ObjectTemplate.addTemplate hgr_smoke_signal
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate ParachuteLauncher
rem -------------------------------------
ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.ammoSound S_Resupply
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair
ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS"
ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga"
ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound S_SprintBreath
ObjectTemplate.vehicleHud.injurySound S_Injury
ObjectTemplate.vehicleHud.vehicleType 7
Code: Select all
ObjectTemplate.create Kit us_pilot_nvg
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.NetworkableInfo KitInfo
ObjectTemplate.kitType Assault
ObjectTemplate.aiTemplate Assault
ObjectTemplate.geometry US_kits_3
ObjectTemplate.geometry.kit 9
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.physicsType Mesh
ObjectTemplate.cullRadiusScale 8
rem -------------------------------------
ObjectTemplate.addTemplate emptyhands
ObjectTemplate.addTemplate hgr_smoke_signal
ObjectTemplate.addTemplate nvg
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate ParachuteLauncher
rem -------------------------------------
ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.ammoSound S_Resupply
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair
ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS"
ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga"
ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound S_SprintBreath
ObjectTemplate.vehicleHud.injurySound S_Injury
ObjectTemplate.vehicleHud.vehicleType 7
Code: Select all
ObjectTemplate.create Kit SP_us_pilot
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.NetworkableInfo KitInfo
ObjectTemplate.kitType Assault
ObjectTemplate.aiTemplate Assault
ObjectTemplate.geometry US_kits_3
ObjectTemplate.geometry.kit 9
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.physicsType Mesh
ObjectTemplate.cullRadiusScale 8
rem -------------------------------------
ObjectTemplate.addTemplate emptyhands
ObjectTemplate.addTemplate hgr_smoke_signal
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate ParachuteLauncher
rem -------------------------------------
ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.ammoSound S_Resupply
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair
ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS"
ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga"
ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound S_SprintBreath
ObjectTemplate.vehicleHud.injurySound S_Injury
ObjectTemplate.vehicleHud.vehicleType 7
a knife + pistol + Main Weapon + smoke etc.

[CENTER]"Just let'm Bleed" - Homicidal PRSP Tester
Click Here [thread=55667]
[/thread] Click Here
[/thread] Click Here[/CENTER]
-
RAW HOMICIDAL
- Posts: 350
- Joined: 2008-09-08 22:51
Re: How to begin Modding your PR_SP
Drunkenup wrote:There might be a tutorial on how to do that on the BFSP forums.
there is one in mine as well, if you read " altering starting weapon kits " it tells you what to do in there.

[CENTER]"Just let'm Bleed" - Homicidal PRSP Tester
Click Here [thread=55667]
[/thread] Click Here
[/thread] Click Here[/CENTER]
-
PatrickLA_CA
- Posts: 2243
- Joined: 2009-07-14 09:31
Re: How to begin Modding your PR_SP
kabar + 92fssilenced + mp5 + smoke + binoclaurs( if possible )RAW HOMICIDAL wrote:ill just do it from here
This is the us_pilot.conThis is the us_pilot_ziptie.conCode: Select all
ObjectTemplate.create Kit us_pilot ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.NetworkableInfo KitInfo ObjectTemplate.kitType Assault ObjectTemplate.aiTemplate Assault ObjectTemplate.geometry US_kits_3 ObjectTemplate.geometry.kit 9 ObjectTemplate.geometry.dropGeom 16 ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.dropHeadwear helmet ObjectTemplate.setCollisionMesh kitcol ObjectTemplate.physicsType Mesh ObjectTemplate.cullRadiusScale 8 rem ------------------------------------- ObjectTemplate.addTemplate emptyhands ObjectTemplate.addTemplate hgr_smoke_signal ObjectTemplate.addTemplate medikit_dressing ObjectTemplate.addTemplate ParachuteLauncher rem ------------------------------------- ObjectTemplate.createComponent AbilityHud ObjectTemplate.abilityHud.ammoSound S_Resupply ObjectTemplate.abilityHud.healingSound S_Heal ObjectTemplate.abilityHud.repairingSound S_Repair ObjectTemplate.createComponent VehicleHud ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS" ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga" ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga" ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga" ObjectTemplate.vehicleHud.pantingSound S_SprintBreath ObjectTemplate.vehicleHud.injurySound S_Injury ObjectTemplate.vehicleHud.vehicleType 7this is us_pilot_nvg.conCode: Select all
ObjectTemplate.create Kit us_pilot_ziptie ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.NetworkableInfo KitInfo ObjectTemplate.kitType Assault ObjectTemplate.aiTemplate Assault ObjectTemplate.geometry US_kits_3 ObjectTemplate.geometry.kit 9 ObjectTemplate.geometry.dropGeom 16 ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.dropHeadwear helmet ObjectTemplate.setCollisionMesh kitcol ObjectTemplate.physicsType Mesh ObjectTemplate.cullRadiusScale 8 rem ------------------------------------- ObjectTemplate.addTemplate emptyhands ObjectTemplate.addTemplate hgr_smoke_signal ObjectTemplate.addTemplate medikit_dressing ObjectTemplate.addTemplate ParachuteLauncher rem ------------------------------------- ObjectTemplate.createComponent AbilityHud ObjectTemplate.abilityHud.ammoSound S_Resupply ObjectTemplate.abilityHud.healingSound S_Heal ObjectTemplate.abilityHud.repairingSound S_Repair ObjectTemplate.createComponent VehicleHud ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS" ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga" ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga" ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga" ObjectTemplate.vehicleHud.pantingSound S_SprintBreath ObjectTemplate.vehicleHud.injurySound S_Injury ObjectTemplate.vehicleHud.vehicleType 7this is the SP_US_pilot.conCode: Select all
ObjectTemplate.create Kit us_pilot_nvg ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.NetworkableInfo KitInfo ObjectTemplate.kitType Assault ObjectTemplate.aiTemplate Assault ObjectTemplate.geometry US_kits_3 ObjectTemplate.geometry.kit 9 ObjectTemplate.geometry.dropGeom 16 ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.dropHeadwear helmet ObjectTemplate.setCollisionMesh kitcol ObjectTemplate.physicsType Mesh ObjectTemplate.cullRadiusScale 8 rem ------------------------------------- ObjectTemplate.addTemplate emptyhands ObjectTemplate.addTemplate hgr_smoke_signal ObjectTemplate.addTemplate nvg ObjectTemplate.addTemplate medikit_dressing ObjectTemplate.addTemplate ParachuteLauncher rem ------------------------------------- ObjectTemplate.createComponent AbilityHud ObjectTemplate.abilityHud.ammoSound S_Resupply ObjectTemplate.abilityHud.healingSound S_Heal ObjectTemplate.abilityHud.repairingSound S_Repair ObjectTemplate.createComponent VehicleHud ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS" ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga" ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga" ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga" ObjectTemplate.vehicleHud.pantingSound S_SprintBreath ObjectTemplate.vehicleHud.injurySound S_Injury ObjectTemplate.vehicleHud.vehicleType 7Now give me a some weapons that you would likeCode: Select all
ObjectTemplate.create Kit SP_us_pilot ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.NetworkableInfo KitInfo ObjectTemplate.kitType Assault ObjectTemplate.aiTemplate Assault ObjectTemplate.geometry US_kits_3 ObjectTemplate.geometry.kit 9 ObjectTemplate.geometry.dropGeom 16 ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.dropHeadwear helmet ObjectTemplate.setCollisionMesh kitcol ObjectTemplate.physicsType Mesh ObjectTemplate.cullRadiusScale 8 rem ------------------------------------- ObjectTemplate.addTemplate emptyhands ObjectTemplate.addTemplate hgr_smoke_signal ObjectTemplate.addTemplate medikit_dressing ObjectTemplate.addTemplate ParachuteLauncher rem ------------------------------------- ObjectTemplate.createComponent AbilityHud ObjectTemplate.abilityHud.ammoSound S_Resupply ObjectTemplate.abilityHud.healingSound S_Heal ObjectTemplate.abilityHud.repairingSound S_Repair ObjectTemplate.createComponent VehicleHud ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_PILOTUS" ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Pilot_outline.tga" ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Pilot.tga" ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga" ObjectTemplate.vehicleHud.pantingSound S_SprintBreath ObjectTemplate.vehicleHud.injurySound S_Injury ObjectTemplate.vehicleHud.vehicleType 7
a knife + pistol + Main Weapon + smoke etc.
Thanks in forward!
-
PatrickLA_CA
- Posts: 2243
- Joined: 2009-07-14 09:31
Re: How to begin Modding your PR_SP
Thanks RAW for the great tutorial i made the mp5 thing with changing all of the pilot files
-
RAW HOMICIDAL
- Posts: 350
- Joined: 2008-09-08 22:51
Re: How to begin Modding your PR_SP
so is everything working correctly now. no invisible weapons i presume?PatrickLA_CA wrote:Thanks RAW for the great tutorial i made the mp5 thing with changing all of the pilot files

[CENTER]"Just let'm Bleed" - Homicidal PRSP Tester
Click Here [thread=55667]
[/thread] Click Here
[/thread] Click Here[/CENTER]
