Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mods in quake4 + searching servers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
pontusen
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2006
Posts: 96

PostPosted: Mon Feb 06, 2006 8:17 pm    Post subject: mods in quake4 + searching servers Reply with quote

so, finally got quake4 running, now i wanted to add the mod q4max, but has no clue as to how?

and secondly : my latest installment of gentoo had a nice proggie that searched for servers for chosen games, can't remember the name, tho, anyone have a clue?

thx in advance
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Feb 06, 2006 8:59 pm    Post subject: Reply with quote

Here's an ebuild for q4max.

/usr/local/portage/games-fps/quake4-max/quake4-max-0.71.ebuild

Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator games

MY_PN="q4max"
MY_PV=$(delete_all_version_separators)

DESCRIPTION="Competition mod for Quake 4"
HOMEPAGE="http://www.q4max.com/"

SRC_URI="http://www.quake4.fi/files/${MY_PN}${MY_PV}.zip"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RESTRICT="nomirror nostrip"

DEPEND="games-fps/quake4-bin
   app-arch/unzip"

S=${WORKDIR}
dir=${GAMES_PREFIX_OPT}/quake4
MOD=${MY_PN}

src_install() {
   insinto "${dir}"
   doins -r * || die "doins failed"

   games_make_wrapper ${PN} "quake4 +set fs_game ${MOD}"
   make_desktop_entry ${PN} "Quake IV - Max" "/usr/share/pixmaps/quake4.bmp"

   prepgamesdirs
}
Back to top
View user's profile Send private message
pontusen
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2006
Posts: 96

PostPosted: Tue Feb 07, 2006 7:47 pm    Post subject: Reply with quote

great, thanks for that reply. although my q4max restarts every time trying to connect to a server, i'll stick with q4.

now, is there anyone who knows where to get a good server-finder?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Feb 07, 2006 8:18 pm    Post subject: Reply with quote

The q4max error regarding restarting Quake is:
Quote:
The server is running a different mod (-battle). Restarting..

From q4max hompage:
Quote:
On a side note, we realize that we are in competition with the X-Battle mod team, and understand that it would be more beneficial for the community to unite into one mod team. We initially attempted to do exactly that: however, after significant talks and many compromises on our part, we were still unable to come to a fair agreement and have thus decided to remain a separate team.

So, it seems that Quake 4 goes into a loop when asked to join an X-Battle server without having the X-Battle mod installed :(
Back to top
View user's profile Send private message
pontusen
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2006
Posts: 96

PostPosted: Tue Feb 07, 2006 8:24 pm    Post subject: Reply with quote

aah, okey.

you wouldn't have a spare ebuild for x-battle? :twisted:
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Feb 07, 2006 8:52 pm    Post subject: Reply with quote

Here's an ebuild for X-Battle, the rival competition mod to q4max.

/usr/local/portage/games-fps/quake4-battle/quake4-battle-0.12a.ebuild

Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator games

MY_PV=$(delete_all_version_separators)

DESCRIPTION="Competition mod for Quake 4"
HOMEPAGE="http://www.xbattle.de/"
SRC_URI="mirror://filefront/Quake_4/Mods/Mini-Mods/xbmv${MY_PV}.zip"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RESTRICT="nomirror nostrip"

DEPEND="games-fps/quake4-bin
   app-arch/unzip"

S=${WORKDIR}
dir=${GAMES_PREFIX_OPT}/quake4
MOD="battle"

src_install() {
   insinto "${dir}"
   doins -r * || die "doins failed"

   games_make_wrapper ${PN} "quake4 +set fs_game ${MOD}"
   make_desktop_entry ${PN} "Quake IV - X-Battle" "/usr/share/pixmaps/quake4.bmp"

   prepgamesdirs
}


See how easy it is to create ebuilds :wink:

Edit: Switched to mirror://filefront/


Last edited by PaulBredbury on Wed Mar 15, 2006 2:56 am; edited 1 time in total
Back to top
View user's profile Send private message
alligator421
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 191

PostPosted: Fri Feb 10, 2006 5:27 pm    Post subject: Reply with quote

Even easier : Just drop and unzip your favorite mod tarball in your ~/.quake4 folder.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum