PR 1.0 Beta Coop

Making or wanting help making your own asset? Check in here
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

PR 1.0 Beta Coop

Post by Spyker2041 »

I understand why it was left out for the beta but I really wanted to play coop on 1.0!



Last edited by Spyker2041 on 2013-07-02 22:27, edited 2 times in total.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
tutvys13
Posts: 43
Joined: 2013-03-23 19:42

Re: PR 1.0 Beta Coop

Post by tutvys13 »

Damn show how to play co-op Because I can't of lag of pc :)
SANGUE-RUIM
Posts: 1390
Joined: 2009-04-26 12:37

Re: PR 1.0 Beta Coop

Post by SANGUE-RUIM »

how did you get that working?
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: PR 1.0 Beta Coop

Post by Spyker2041 »

I am trying to get SP medikits to work, I noticed there is medikit_sp in the beta files.

I have edited all medic kits to use medikit_sp instead of medikit and then changed the itemindex of medikit_sp to 4 so that it is in the exact same slot as the mp medikit it is replacing. Which in my mind should work fine but dedi server crashes at 15/16% if I do this.

Anyone got any ideas?
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: PR 1.0 Beta Coop

Post by Spyker2041 »

Baathist wrote:Just wait till pr 1.0 is out,i didnt download the beta cuz i cant play online.so am waiting the full release
Where is the fun in that...

Setting up a dedicated server running coop and playing with friends when coop wasn`t included in the beta was fun and I learnt new things along the way.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
BobTheSilensious
Posts: 49
Joined: 2009-07-04 15:50

Re: PR 1.0 Beta Coop

Post by BobTheSilensious »

Spyker2041 wrote:I am trying to get SP medikits to work, I noticed there is medikit_sp in the beta files.

I have edited all medic kits to use medikit_sp instead of medikit and then changed the itemindex of medikit_sp to 4 so that it is in the exact same slot as the mp medikit it is replacing. Which in my mind should work fine but dedi server crashes at 15/16% if I do this.
Hello Spyker, make sure that every weapons/items don't share the same ItemIndex. Also, bots seems to dislike having their special items in the wrong places, they should be in the same slot as in BF2 vanilla e.g. Medicbag/Ammokit = 5... And finally, things like field dressing tend to crash the game if they are assigned to bots.

But I guess you already know that by now :-?


I'll do some testing on my own, if I can replicate this...
Last edited by BobTheSilensious on 2013-07-01 16:42, edited 1 time in total.
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: PR 1.0 Beta Coop

Post by Fastjack »

And finally, things like field dressing tend to crash the game if they are assigned to bots.
Dont use for bots any bandages or whatever with itemindex 9!
BobTheSilensious
Posts: 49
Joined: 2009-07-04 15:50

Re: PR 1.0 Beta Coop

Post by BobTheSilensious »

Fastjack wrote:Dont use for bots any bandages or whatever with itemindex 9!
Yep, otherwise they literally spin out of control :D Those crazy bots...
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: PR 1.0 Beta Coop

Post by Spyker2041 »

BobTheSilensious wrote:Hello Spyker, make sure that every weapons/items don't share the same ItemIndex. Also, bots seems to dislike having their special items in the wrong places, they should be in the same slot as in BF2 vanilla e.g. Medicbag/Ammokit = 5... And finally, things like field dressing tend to crash the game if they are assigned to bots.

But I guess you already know that by now :-?

I'll do some testing on my own, if I can replicate this...
Fastjack wrote:Dont use for bots any bandages or whatever with itemindex 9!
Afaik these are guidelines, not obeying these rules won't cause the game to crash, only for bots to not use the medikit and spin around in circles respectively.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: PR 1.0 Beta Coop

Post by Fastjack »

Spyker,

The smoke grenades of the gb_medic_sp kit are on itemindex 4. That's the reason why your server crashed at 14%.
Give the epipen itemindex 6 ,Medikit get the itemindex of 5 and field dressings a itemindex of 8.

That must work

Edit:
The itemindex 9 is for parachutes. I believe (not sure) that is a part of the hardcodded bf2 ai and have todo with the crashs. Its like with the hardcodded part with the mines.
I had these problems too as i experimented with PRV. Same problem and i solved it like i described above.
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: PR 1.0 Beta Coop

Post by Spyker2041 »

Fastjack wrote:Spyker,

The smoke grenades of the gb_medic_sp kit are on itemindex 4. That's the reason why your server crashed at 14%.
Give the epipen itemindex 6 ,Medikit get the itemindex of 5 and field dressings a itemindex of 8.

That must work

Edit:
The itemindex 9 is for parachutes. I believe (not sure) that is a part of the hardcodded bf2 ai and have todo with the crashs. Its like with the hardcodded part with the mines.
I had these problems too as i experimented with PRV. Same problem and i solved it like i described above.

I am using the kits from the 1.0 beta MP in the video and now so there are no _sp kits. I have removed all weapon itemindex edits I did and have ONLY edited the medic kits now. I have replaced medikit with medikit_sp (so it is itemindex 5) and replaced smoke grenades with their _idx4 versions.

Code: Select all

rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate resuscitate
ObjectTemplate.addTemplate usrif_m4iron
ObjectTemplate.addTemplate medikit_sp
ObjectTemplate.addTemplate hgr_smoke_idx4
ObjectTemplate.addTemplate epipen
ObjectTemplate.addTemplate medikit_dressing_6
rem -------------------------------------
So this is how all my medic kits look. I had the exact same field dressings in the videos in the OP so it is not them that is crashing the server.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: PR 1.0 Beta Coop

Post by Fastjack »

Ok, i haven't installed the beta but i think they dont changed everything.
I am using the kits from the 1.0 beta MP
Exactly. MP isn't coop (bot ai)

If i look in the tweaks of the last PR version 0.98, the epipen have a itemindex of 5 and your medikit_sp have the same itemindex. But maybe i'm wrong so what itemindex have your medikit and your epipen atm. ?

Edit: BF vanilla have the defi (epipen) on idx 6. That is was Bob already mentioned
Last edited by Fastjack on 2013-07-01 17:57, edited 1 time in total.
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: PR 1.0 Beta Coop

Post by Spyker2041 »

Fastjack wrote:Ok, i haven't installed the beta but i think they dont changed everything.

Exactly. MP isn't coop (bot ai)

If i look in the tweaks of the last PR version 0.98, the epipen have a itemindex of 5 and your medikit_sp have the same itemindex. But maybe i'm wrong so what itemindex have your medikit and your epipen atm. ?

Edit: BF vanilla have the defi (epipen) on idx 6. That is was Bob already mentioned
God i am a moron, epipen is itemindex 5 so there is a conflict. Thanks for making me see that!
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
BobTheSilensious
Posts: 49
Joined: 2009-07-04 15:50

Re: PR 1.0 Beta Coop

Post by BobTheSilensious »

Cheers Fastjack, followed your kit layout and got mine working too!

Thanks alot :-)
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: PR 1.0 Beta Coop

Post by Fastjack »

Ok that is solved. That have nothing todo with moron. That's BF modding. Mistakes happens.
But i have doubts about your field dressings. They have idx9 and i had only problems with dressings on idx9.
Not any problems at maploading but i got crashes after playing a while.
So keep that in mind if you getting later some ingame crashes.
Maybe that help you later.

But keep on working with your nice coop stuff.

Edit:
Cheers to you all too
BobTheSilensious
Posts: 49
Joined: 2009-07-04 15:50

Re: PR 1.0 Beta Coop

Post by BobTheSilensious »

But i have doubts about your field dressings. They have idx9 and i had only problems with dressings on idx9.
Not any problems at maploading but i got crashes after playing a while.
Indeed, while they don't crash instantly, bots that somehow select field dressings index 9 will freeze on place or run in circle until they crash the server. I just plain delete dressings from regular kit and keep them in limited/special kits, avoid lots of troubles. Well, until they revived themselves with a limited kit lying around...

EDIT: nvm, index 8 worked just fine, been a while since I played/modded co-op...
Last edited by BobTheSilensious on 2013-07-01 19:03, edited 5 times in total.
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: PR 1.0 Beta Coop

Post by Spyker2041 »

Updated original post with new video.
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
PoisonBill
Posts: 682
Joined: 2010-10-11 14:25

Re: PR 1.0 Beta Coop

Post by PoisonBill »

BobTheSilensious wrote:Yep, otherwise they literally spin out of control :D Those crazy bots...
6, 7, 8, .... 9 (nope) :)

QI XL I13 - Intelligence - YouTube

@Alan Davies
Image
CrY3R
Posts: 39
Joined: 2012-03-30 21:45

Re: PR 1.0 Beta Coop

Post by CrY3R »

Now I'am curious :D

Image
Image
Post Reply

Return to “PR:BF2 Community Modding”