Pages: [1]
  Print  
Author Topic: CPMA  (Read 26647 times)
Leopold
Nub


Cakes 1
Posts: 23


« on: March 06, 2007, 10:28:53 AM »

Hello!

I managed to get CPMA 1.40 running with OpenArena 0.70 -current. The
basic trick was to add a $OPENARENA/models/players/xaero directory and
a $OPENARENA/sound/players/xaero directory (i simply copied sarge and
renamed sarge.obj to xaero.obj) and repack.

However :
1) The rail (trail, not the gun itself) texture is missing so shooting looks
a little weird.
2) Some sounds (YA pickup) are replaced by CPMA's own ones so don't
be suprised;)

Some of the above may of course be solved with fiddling with the CPMA
settings.


Regards.
Leopold


1) can be worked around by copying  $OPENARENA/gfx/misc/lightning3.jpg
to $OPENARENA/gfx/misc/railcorethin_mono.jpg, repack and selecting
"straight core" from the "Setup/Game options/rail style" menu in CPMA.
« Last Edit: March 06, 2007, 12:31:07 PM by Leopold » Logged
meshomorph
Nub


Cakes -1
Posts: 17


« Reply #1 on: March 06, 2007, 02:28:01 PM »

challenge promode arena, right?

i had a look at the website, but it wasn't very informative about what it was actually for. is this the game they use for the cyberathlete games?

Logged
Leopold
Nub


Cakes 1
Posts: 23


« Reply #2 on: March 06, 2007, 03:03:06 PM »

Yep, CPMA is used on most Tournaments etc. i've seen, it has some cool features:
The ability to record Mulitview demos
4 Gameplays, the most important :
a) VQ3: Vanilla Quake 3, (fixed) physics and everything like you know it
b) CPM: advanced physics, Bunny Hopping, Double Jumps, Ramp jumps, Air control
and a little different health/damage system, instant weapon switching (very fast)
Cool bots that can strafe, time items, switch weapons etc.
and more features.
Check it out!

I would say that supporting it out of the box would be a great step for OpenArena.
Logged
God_in_black
THIS ONE POST HERE SHOULD DO IT.


Cakes 0
Posts: 1


« Reply #3 on: July 08, 2007, 05:47:01 PM »

hm. Would you mind explaining that a little bit more detailed? What files do i have to change, etcpp
I didn't get it running till now Sad
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #4 on: July 08, 2007, 06:35:32 PM »

Cool bots that can strafe, time items, switch weapons etc.

Our bots switch weapons, strafe, time items, etc...

Quote
I would say that supporting it out of the box would be a great step for OpenArena.

Make an original model, name it Xaero, release it under the GNU GPLv2, submit it. Smiley
« Last Edit: July 08, 2007, 08:35:06 PM by dmn_clown » Logged

Leopold
Nub


Cakes 1
Posts: 23


« Reply #5 on: July 09, 2007, 05:01:52 AM »

Ok, since it seems to be unclear what steps have to be taken
to make CPMA work with OpenArena, i'll try again;)

This guide is for OpenArena-0.70 and CPMA-1.40.

First of all, you need to download CPMA-1.40 and the mappack, it is
needed for CPMA to run.
CPMA-1.40: http://www.challenge-tv.com/index.php?mode=filedetail&file=106
CPMA-Mappack: http://www.challenge-tv.com/index.php?mode=filedetail&file=185

Extract cpma140-nomaps.zip in your OpenArena-folder.
Extract cpma-mappack-full.zip in OpenArena's baseoa.
Create 3 directories.
baseoa/models/players/xaero
baseoa/sound/player/xaero
baseoa/gfx/misc/

Extract the OpenArena-pak-files somewhere.
Copy (extract-dir)/gfx/misc/lightning3.jpg to baseoa/gfx/misc/railcorethin_mono.jpg
Copy the contents of (extract-dir)/models/players/sarge to baseoa/models/players/xaero
Copy the contents of (extract-dir)/sound/player/sarge to baseoa/sound/player/xaero
Go to baseoa/models/players/sarge and mv grism.obj to xaero.obj (i doubt if this is needed)
Start OpenArena and select CPMA from the modes-menu
Select "straight core" from the "Setup/Game options/rail style" menu in CPMA
Set your Player model to "sarge"

This should get you going.
(The RG-stuff is untested, but should work)
Don't forget to read the fine documentation that comes with CPMA for tweaking.
Caveats:
Brightskins look weird because they are for Quake3-skins.
The standard OpenArena bots will not work properly on higher skill settings ( > 5) because they
are different from the original id-bots. Most notably they will overuse the MG and/or stand still.
From the 3 CPMA-bots only rat will work out of the box, the others will only work after
fiddeling inside the cpma-paks (They try to load nonexisting skins IIRC), but this bot will
eat you alive;)


So if you are only after a bot for duelling, search for spiterbot, that mod works out of the box IIRC.



Logged
Leopold
Nub


Cakes 1
Posts: 23


« Reply #6 on: July 10, 2007, 07:39:30 AM »

Cool bots that can strafe, time items, switch weapons etc.

Our bots switch weapons, strafe, time items, etc...

Quote
I would say that supporting it out of the box would be a great step for OpenArena.

Make an original model, name it Xaero, release it under the GNU GPLv2, submit it. Smiley

The OpenArena bots are fine. However those are different beasts. They'll eat
id/OpenArena nightmare bots for breakfast.

Logged
Kojiro_S
Lesser Nub


Cakes 2
Posts: 143


Har har har...


WWW
« Reply #7 on: July 10, 2007, 10:00:23 AM »

No offense, but OA's nightmare level is two times harder than Q3's, and that's not just my opinion.
Logged


*ROOOAAAR*
Leopold
Nub


Cakes 1
Posts: 23


« Reply #8 on: July 10, 2007, 02:44:45 PM »

No offense, but OA's nightmare level is two times harder than Q3's, and that's not just my opinion.
Yes.
As i said, OpenArena's bots are fine, but CPMA bots have several advantages.
They have prediction code for the RL, very good ears and timing. And
they are very fast and good at jumping, for example they manage to jump
from the stairs to MH on aggressor.
I let them play 4 games, rat set to 100, OpenArena to nightmare (5),
physics set to VQ3 (normal OpenArena physics):

leopold@quake:~> cat stats
dm3ish:
Player          Kll Dth Sui Time FPH Eff    DG    DR  Score
-----------------------------------------------------------
100.rat          25   4   9   10  95  80  4380  2614     16
Dark               4  25  2    10  11    7  2614  4380      2

cpm24
Player          Kll Dth Sui Time FPH Eff    DG    DR  Score
-----------------------------------------------------------
100.rat          33   3   0   10 197  91  6482  3392     33
Sergei             3  33   2   10   5   2    3392  6482      1

aggressor
Player          Kll Dth Sui Time FPH Eff    DG    DR  Score
-----------------------------------------------------------
100.rat          29   6   1   10 167  82  5633  2230     28
Major             6  29   2   10   29  14  2230  5633      5

oa_dm6
Player          Kll Dth Sui Time FPH Eff    DG    DR  Score
-----------------------------------------------------------
100.rat          33    2   0   10 203  94  6908  2774     34
Merman          2  33   0   10   11    5  2774  6908      2

This is not that important anyway, i just mentioned the bots because
they are the main reason for me to get CPMA working with OpenArena,
the bots, brightskins and CPM physics which are close to QW and
make the cool "tribute to Quake I" maps even more cool;)

So don't get all this wrong, i am not into promoting CPMA or into
some sort of pissing contest about bots. I think the OpenArena bots
are fine as they are, it makes no sense to confront a newbie
with Ueberbots.

Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #9 on: July 10, 2007, 03:30:54 PM »

I wasn't trying to start a pissing contest about bots, though those stats are interesting.

Out of curiosity, of the 6 kills major had how many were with the railgun?
Logged

Leopold
Nub


Cakes 1
Posts: 23


« Reply #10 on: July 10, 2007, 03:48:16 PM »

I wasn't trying to start a pissing contest about bots, though those stats are interesting.

Out of curiosity, of the 6 kills major had how many were with the railgun?

See the gif:
( Ok, 100% RG for 100.rat is a little lucky, average is more like 75%-85%, depends)
The most import thing are the item stats, they make the game.
And of course the insane RL aim. The RL numbers go down when the
CPMA bots fight each other so this not some sort of bot-cheat;)
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #11 on: July 10, 2007, 04:49:31 PM »

Hmm, I actually would have expected major to be a bit more accurate with the railgun on nightmare, and I do agree with you our bots are fine, though maybe nightmare needs to be tweaked a few notches up.
Logged

Leopold
Nub


Cakes 1
Posts: 23


« Reply #12 on: July 11, 2007, 02:29:34 AM »

Hmm, I actually would have expected major to be a bit more accurate with the railgun on nightmare, and I do agree with you our bots are fine, though maybe nightmare needs to be tweaked a few notches up.
After letting them do several matches, average RG aim of OpenArena bots seems to be around 50 %.
So yes, this got go up to ca. 75%, same for MG.
Btw. spiterbot is even worse. He's brutal.
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #13 on: July 11, 2007, 10:26:32 AM »

Are you running this with chats turned off?  The default behavior is for the bots to pause while they say something, this may give the CPMA bots an advantage, basically making your stats sort of rigged Smiley
Logged

Leopold
Nub


Cakes 1
Posts: 23


« Reply #14 on: July 11, 2007, 11:55:13 AM »

Are you running this with chats turned off?  The default behavior is for the bots to pause while they say something, this may give the CPMA bots an advantage, basically making your stats sort of rigged Smiley
Just to verify, i ran a match witch bot_nochat 1, no difference (major reaching 72 % RG on this one, still lost 8 : 22).
No, CPMA bots win because they move faster, are somewhat smart and collect items more consequently.
The gif below may make it more clear, its from 100.rat vs. Merman on oa_dm6.
Look at the item stats.
You may want to download CPMA and read cpma/docs/Bots.txt, it gives a little insight.
The best thing to do however is to go to the hassle of installing CPMA and see for yourself;)
Or try spiterbot, easier to install but meaner.
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #15 on: July 11, 2007, 01:24:50 PM »

but she improved, which is what I am getting at.
Logged

Leopold
Nub


Cakes 1
Posts: 23


« Reply #16 on: July 11, 2007, 02:19:50 PM »

but she improved, which is what I am getting at.
Yes, looks like she survives more often.  Cool. Maybe saluting/cheering
takes time too?
I did 2 more games, one 3 : 21 for major, RG 54%, the other
7 : 23 with RG 30%.  One would have to let them frag all day to get
decent stats about accuracy.

Logged
logistic
Nub


Cakes -2
Posts: 13


« Reply #17 on: March 12, 2010, 11:39:36 AM »

Ok, since it seems to be unclear what steps have to be taken
to make CPMA work with OpenArena, i'll try again;)

This guide is for OpenArena-0.70 and CPMA-1.40.

First of all, you need to download CPMA-1.40 and the mappack, it is
needed for CPMA to run.
CPMA-1.40: http://www.challenge-tv.com/index.php?mode=filedetail&file=106
CPMA-Mappack: http://www.challenge-tv.com/index.php?mode=filedetail&file=185

Extract cpma140-nomaps.zip in your OpenArena-folder.
Extract cpma-mappack-full.zip in OpenArena's baseoa.
Create 3 directories.
baseoa/models/players/xaero
baseoa/sound/player/xaero
baseoa/gfx/misc/

Extract the OpenArena-pak-files somewhere.
Copy (extract-dir)/gfx/misc/lightning3.jpg to baseoa/gfx/misc/railcorethin_mono.jpg
Copy the contents of (extract-dir)/models/players/sarge to baseoa/models/players/xaero
Copy the contents of (extract-dir)/sound/player/sarge to baseoa/sound/player/xaero
Go to baseoa/models/players/sarge and mv grism.obj to xaero.obj (i doubt if this is needed)
Start OpenArena and select CPMA from the modes-menu
Select "straight core" from the "Setup/Game options/rail style" menu in CPMA
Set your Player model to "sarge"

This should get you going.
(The RG-stuff is untested, but should work)
Don't forget to read the fine documentation that comes with CPMA for tweaking.
Caveats:
Brightskins look weird because they are for Quake3-skins.
The standard OpenArena bots will not work properly on higher skill settings ( > 5) because they
are different from the original id-bots. Most notably they will overuse the MG and/or stand still.
From the 3 CPMA-bots only rat will work out of the box, the others will only work after
fiddeling inside the cpma-paks (They try to load nonexisting skins IIRC), but this bot will
eat you alive;)


So if you are only after a bot for duelling, search for spiterbot, that mod works out of the box IIRC.




idk where the /baseoa/sound/player is, i dont see it. i have a sound folder, but no player folder inside of it
Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #18 on: March 12, 2010, 01:58:17 PM »

Create it, then. It's that simple.

The pak-sound actually has sound/player dir... IIRC. If not, then it was passed to the model pk3.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
logistic
Nub


Cakes -2
Posts: 13


« Reply #19 on: March 12, 2010, 02:35:25 PM »

Create it, then. It's that simple.

The pak-sound actually has sound/player dir... IIRC. If not, then it was passed to the model pk3.
but it says "Copy the contents of (extract-dir)/sound/player/sarge to baseoa/sound/player/xaero" but how can i put the sarge sound in the other one when there is no sarge sound to begin with?
Logged
Neon_Knight
In the year 3000
***

Cakes 49
Posts: 3775


Trickster God.


« Reply #20 on: March 12, 2010, 03:13:47 PM »

Extract the sound from pak0.pk3, (tip: pk3 files are just zip files) and place it where it goes.
Logged


"Detailed" is nice, but if it gets in the way of clarity, it ceases being a nice addition and becomes a problem. - TVT
Want to contribute? Read this.
logistic
Nub


Cakes -2
Posts: 13


« Reply #21 on: March 12, 2010, 03:36:11 PM »

Extract the sound from pak0.pk3, (tip: pk3 files are just zip files) and place it where it goes.
where would pak0 be loacated?

EDIT: nvm, found it

ok i fixed the problem where the guy now appers at the main menu, but now it wont join matches, even private ones. the moment i put a bot in the map, it wont load the map.

also, when i try to load a demo, or on some quake maps online, it spits this message at me: client/server game mismatch:baseq3-1/
« Last Edit: March 12, 2010, 04:21:38 PM by logistic » Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #22 on: March 12, 2010, 07:17:46 PM »

Don't try playing Q3 demos with OA.

The other sounds a bit messy, maybe CPMA's own botcode is the problem. I don't know, I don't have it.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Pages: [1]
  Print  
 
Jump to: