Page 10 of 21

Re: How to begin Modding your PR_SP

Posted: 2009-05-10 15:44
by RAW HOMICIDAL
hes right ROF is capt at 1800.

if you want the gun to fire faster, try adding a batch size code. just take one from a shotgun.

and if you change your mag size to "-1" you will have infinite ammo.

Re: How to begin Modding your PR_SP

Posted: 2009-05-12 04:59
by RAW HOMICIDAL
Use this line of code.

ObjectTemplate.fire.batchSize 12 <----this value is what your going to mess around with. but just so you know this "12" is how many rounds that come out each time you fire, but your mag will only show 1 round leaving the magazine. i dont know if this makes anysense but thats the way it works.

Just a side note, incase your really lost. toss that code into the weapons file anywhere that you see a cluster of "ObjectTemplate.fire."

Re: How to begin Modding your PR_SP

Posted: 2009-05-19 08:39
by MadMartigan
I just want to say this one of the greatest threads regarding PRSP, and is long overdue. Thanks!
I have been playing PR since v0.4 and have been hooked since. I just started trying to Mod PRSP with simple stuff from this guide and have found it very insightful....and yes remember to back-up your files if it doesn't work! :mrgreen:

Now for some help please. I like the game play of PRSP, but I have found that I like some weapons from other Mods( e.g. AIXtended). I was wondering if it was(how it is) possible to add weapons from AIX (e.g. Kimber 1911) to PRSP for USMC kits? I sure once it is broken down I could repeat the steps for other weapons I like.

Thanks again for a AWESOME guide! :-D

Re: How to begin Modding your PR_SP

Posted: 2009-05-20 02:23
by RAW HOMICIDAL
thats a good question, but..... I got some bad news.

This process can be a little lengthy.

I use to play Point of Existence, and i did the same thing i took some AIX weapons and converted them over to POE. Doing that is easy, but PR is different, because they use projectile templates and other things that im not aware of. I not sure what ive done wrong in the past but ive never been able to transfer weapons from other mods to PR.

basically instead of PR giving "guns" damage points they give "bullet types" damage. Which POE, AIX, and most other mods just give theyre "guns" a maximum and minimum damage point based on range from the shooter to the point of impact.

I think if i was really motivated enough, i might be able to do convert some weapons over. (im not going to lie ive never got any weapons to work in PR.)but to be honest after playing PR i find that most other mods weapons are just not modelled as nicely as PRs.

Also if you would like for me to show you how to exchange weapons from other mods like POE, AIX, OPK, and CQC i would be more than happy to. just ask and ill send you a PM with the information.
/\/\/\/\/\/\/\\/\/\/\/\/\/\//\/\/\/\/\/\/\
Maybe a Dev would be kind enough to explain. Because I would like to know. There are a couple of FH weapons I would like to import into PR.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Re: How to begin Modding your PR_SP

Posted: 2009-05-20 06:17
by ballard_44
RAW HOMICIDAL wrote: Maybe a Dev would be kind enough to explain. Because I would like to know. There are a couple of FH weapons I would like to import into PR.
Where are you failing in the process?

Have you made sure you 'ported' the HUD, the selection files/icons, textures, sounds, effects, etc?

It should always give you an error to work off of if its fubar.

Re: How to begin Modding your PR_SP

Posted: 2009-05-20 08:14
by Alex6714
Well the AIX weapons have the projectile defined in the file, where PR has standard ones set in other files. All you should need to do is delete the projectile code in the AIX weapon and replace

ObjectTemplate.projectileTemplate G36v_Projectile

with the PR one of the correct calibre for example.

Re: How to begin Modding your PR_SP

Posted: 2009-05-22 18:30
by victim913
I have tried searching about this but i get too many to search through all. I like how PR is set up but on a couple vehicles I would like to change the driver and gunner to be just one driver/gunner. The bots are excellent but in some vehicles I would like to drive and fire like vanilla. Everytime i try changing it, the way i have in jets or in other mods, ( taking out the gunner or driver or switching codes) the turret drops underneath the vehicle or the Hud and sights go inside the vehicle and i see right through it. Is there anyway i can accomplish this? thanks

Re: How to begin Modding your PR_SP

Posted: 2009-05-23 20:46
by single.shot (nor)
the C7 is friggin NICE! i mean, 900rpm 5.56 out of a 4x scope!

EDIT: not to double-post:

OK, so I encountered a problem...
i cloned the mec kits and gave them all iraqknife and insgr_ak74m (and scopes for the appropriate kits, and so on) however, when i try mounting them on any map i get a CTD no matter what it i do that i can think of.

i named them all

Code: Select all

mecng_(insert usual kit name, officer for instance)

Code: Select all

ObjectTemplate.create Kit mec_officer
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType Specops
ObjectTemplate.aiTemplate Specops
ObjectTemplate.geometry mec_kits
ObjectTemplate.geometry.kit 1
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.sethasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.dropHeadwear mec_helmet
ObjectTemplate.cullRadiusScale 8

rem -------------------------------------
ObjectTemplate.addTemplate iraqknife
ObjectTemplate.addTemplate RUPIS_Baghira
ObjectTemplate.addTemplate insgr_ak74mscope
ObjectTemplate.addTemplate f1grenade_q4
ObjectTemplate.addTemplate hgr_smoke_signalgreen_mec
ObjectTemplate.addTemplate hgr_smoke_signalyellow
ObjectTemplate.addTemplate SIMRAD
ObjectTemplate.addTemplate medikit_dressing_arab_3
rem ObjectTemplate.addTemplate hgr_incendiary
rem -------------------------------------

ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair
ObjectTemplate.abilityHud.ammoSound S_Resupply

ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName 		"HUD_TEXT_MENU_SPAWN_KIT_OFFICERMEC"
ObjectTemplate.vehicleHud.miniMapIcon		"Ingame\Kits\Icons\kit_Officer_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon		"Ingame\Kits\Icons\kit_Officer.tga"
ObjectTemplate.vehicleHud.spottedIcon 		"Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound		S_SprintBreath
ObjectTemplate.vehicleHud.injurySound		S_Injury
ObjectTemplate.vehicleHud.vehicleType 		7







ok, so thats the officer kit, but i dont get why they wont work...
the thing is that i want both mec with G3s AND AK74s

Re: How to begin Modding your PR_SP

Posted: 2009-05-27 06:32
by Outlawz7
ObjectTemplate.create Kit mec_officer
You forgot to rename this one.

Re: How to begin Modding your PR_SP

Posted: 2009-05-27 09:42
by single.shot (nor)
... and thats what we call a noob, you guys.

Re: How to begin Modding your PR_SP

Posted: 2009-05-27 10:26
by ballard_44
lol...there is really nothing worse than having something fail because of a slight misnaming.
Can be really hard to figure out.

Re: How to begin Modding your PR_SP

Posted: 2009-05-30 12:02
by Carlez_1
RAW, did you ever figure out how to tweak the area attack reload time?

Re: How to begin Modding your PR_SP

Posted: 2009-05-30 15:46
by RAW HOMICIDAL
Yeah, alter the "time to live" code. in the maps gameplayobject.con

look for a vehicle spawn, with JDAM team 1 or team 2, or mortar, or arty

How to add SP?

Posted: 2009-06-22 20:27
by Blordo
I noticed that in a bunch of maps there is only gpm_coop and no sp# folders. I saw a post earlier in this discussion that said there was no navmesh or something for SP for some of these maps. Isn't COOP basicallly the same thing as SP and can't the sp1-3 modes be added by just copying the gpm_coop folder and renaming them and then updating the .desc file in the info folder? Anyway, I have done this in other mods but can't seem to do it here...is there any trick to this?

Any help would be much appreciated.

Cheers!

Re: How to begin Modding your PR_SP

Posted: 2009-06-24 02:17
by mp5punk
homicidal i do not understand on how to change the blast of the IED i need to change mine for a movie i will be making can you help me?

Re: How to begin Modding your PR_SP

Posted: 2009-06-25 05:48
by RAW HOMICIDAL
are you talking about changing the blast effect or the blast power?

Re: How to add SP?

Posted: 2009-06-25 05:52
by RAW HOMICIDAL
Blordo wrote:I noticed that in a bunch of maps there is only gpm_coop and no sp# folders. I saw a post earlier in this discussion that said there was no navmesh or something for SP for some of these maps. Isn't COOP basicallly the same thing as SP and can't the sp1-3 modes be added by just copying the gpm_coop folder and renaming them and then updating the .desc file in the info folder? Anyway, I have done this in other mods but can't seem to do it here...is there any trick to this?

Any help would be much appreciated.

Cheers!

I tired my best to give you an explanation but evertime i type something up and read it over it just doesnt make any sense. maybe one of our mappers will have better luck.

sorry that i wasnt any help,

Re: How to begin Modding your PR_SP

Posted: 2009-06-25 10:03
by Hans Martin Slayer
COOP is basically the same as SP, it uses the same Gameplayobjects file.

Coop has just more options, e.g. you can choose the bot ratio, put up a maplist etc.

so we got rid of the SP gamemode a while ago as it's basically redundant.