Page 1 of 2

PR 1.0 Beta Coop

Posted: 2013-07-01 07:00
by Spyker2041
I understand why it was left out for the beta but I really wanted to play coop on 1.0!




Re: PR 1.0 Beta Coop

Posted: 2013-07-01 08:26
by tutvys13
Damn show how to play co-op Because I can't of lag of pc :)

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 13:03
by SANGUE-RUIM
how did you get that working?

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 15:37
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?

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 16:24
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.

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 16:35
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...

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 16:46
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!

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 16:58
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...

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 17:07
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.

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 17:15
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.

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 17:42
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.

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 17:52
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

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 18:00
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!

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 18:05
by BobTheSilensious
Cheers Fastjack, followed your kit layout and got mine working too!

Thanks alot :-)

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 18:08
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

Re: PR 1.0 Beta Coop

Posted: 2013-07-01 18:30
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...

Re: PR 1.0 Beta Coop

Posted: 2013-07-02 07:12
by Spyker2041
Updated original post with new video.

Re: PR 1.0 Beta Coop

Posted: 2013-07-02 12:07
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

Re: PR 1.0 Beta Coop

Posted: 2013-07-02 19:46
by CrY3R
Now I'am curious :D

Image