Topic: Warsow RocketArena MOD alpha 1

hi, I created Warsow RocketArena MOD.

Archive: http://d3.jpn.org/warsow/warsow_ra_a4.zip
Patch: http://d3.jpn.org/warsow/warsow_0.21_arena_a4.patch

EDIT: I released version alpha2 (fixed bug that cannot connect master server).
EDIT2: Edited README a bit. No change on source code.
EDIT3: I released version alpha3 (added gametype ClanArena based on TDM).
EDIT3: I released version alpha4 (added Linux version).


Warsow RocketArena alpha 4


* Introduction

This is very *preliminary* version of Warsow RocketArena. This is my
first Warsow MOD smile. Currently, this mod has few RA features.

- Added new game type "ra" (RocketArena) based on duel.
- Added new game type "ca" (ClanArena) based on tdm.
- No fall damage. (You can change with g_allow_falldamage.)
- No self rocket jump damage.
- Initial weapons (all weapons with full weak ammo and a few strong
  ammo). (You can change with ra_initial_weak_*, ra_initial_strong_*.)
- Initial health 100, armor 100. (You can change with
  ra_initial_health and ra_initial_armor.)

Other features are not implemented at all. Also it support only Windows
and Linux i386 version.

I know that there is a lot of RA fan. But I don't have enough time
to satisfy them. I hope dev-team include RA and CA gametypes on
official release, and fix my dirty code tongue If there are things that I
can contribute, I want to help dev-team smile

btw, have fun smile

-- Guwashi


* How to run arena dedicated server (public server)

- Copy "arena" folder to warsow folder (e.g. "warsow_0.21_windows").
- Copy "basewsw" folder to warsow folder.
  Note: It will override dedicated_autoexec.cfg. Please backup first.
- Edit "basewsw/dedicated_autoexec.cfg" and
  "basewsw/cfgs/dedicated_arena.cfg" as you like.
- Change directory to "arena".
- Run "arena_server.bat" or "arena_server.sh".

File list must be as following.

warsow/arena/arena_client.bat
warsow/arena/arena_client.sh
warsow/arena/arena_server.bat
warsow/arena/arena_server.sh
warsow/arena/modules_021_ra_a4.pk3
warsow/basewsw/dedicated_autoexec.cfg
warsow/basewsw/cfgs/dedicated_arena.cfg


* How to run arena listen server (standalone play)

- Copy "arena" folder to "warsow_0.21_windows" folder.
- Run warsow.exe, select "MOD" in menu and select "arena".
  Or just run "warsow_0.21_windows/arena/arena_client.bat".
- Select "start server".
- Switch gametype to "ra" or "ca".
- Select "PLAY".


* How to join public server (for players)

- Copy "arena" folder to "warsow_0.21_windows" folder.
- Run "warsow_0.21_windows/arena/arena_client.bat".
- Select "join server".
- Switch gametype filter to "ra" or "ca".
- Find arena server.
  No running server? => Run listen server and play with BOT tongue
- Select "JOIN".


* Server CVARs

Set server cvars as following. Or just use
"warsow_0.21_windows/basewsw/cfgs/dedicated_arena.cfg".

set sv_defaultmap "wdm6" // wdm* for "ra" or wtest* for "ca"
set g_maplist ""
set g_maprotation "0"
set g_gametype "ra" // or "ca"
set g_scorelimit "0"
set g_timelimit "0"
set g_warmup_enabled "1"
set g_warmup_timelimit "0.01"
set g_match_extendedtime "0"
set g_maxteams "2"
set g_teams_maxplayers "8"
set g_teams_autolock "1"
set g_countdown_time "5"
set g_challengers_queue "1"
set g_allow_falldamage "0"
set g_teams_teamdamage "0"

Additional cvars are,

set ra_initial_weak_gb "0"
set ra_initial_weak_rg "25"
set ra_initial_weak_gl "15"
set ra_initial_weak_rl "25"
set ra_initial_weak_pg "75"
set ra_initial_weak_lg "120"
set ra_initial_weak_eb "10"
set ra_initial_strong_gb "10"
set ra_initial_strong_rg "5"
set ra_initial_strong_gl "5"
set ra_initial_strong_rl "5"
set ra_initial_strong_pg "25"
set ra_initial_strong_lg "40"
set ra_initial_strong_eb "5"
set ra_initial_health "100"
set ra_initial_armor "100"

My recommended settings are,

set ra_initial_weak_gb "0"
set ra_initial_weak_rg "25"
set ra_initial_weak_gl "30" // 15 X 2
set ra_initial_weak_rl "50" // 25 X 2
set ra_initial_weak_pg "75"
set ra_initial_weak_lg "120"
set ra_initial_weak_eb "10"
set ra_initial_strong_gb "10"
set ra_initial_strong_rg "0" // no strong RG
set ra_initial_strong_gl "0" // no strong GL
set ra_initial_strong_rl "0" // no strong RL
set ra_initial_strong_pg "25"
set ra_initial_strong_lg "0" // no strong LG
set ra_initial_strong_eb "2" // 5 -> 2
set ra_initial_health "100"
set ra_initial_armor "100"


* Source code

See warsow_0.21_arena_a4.patch.


* Compile

wget http://ftp.club-internet.fr/pub/games/n … _fixed.zip
mkdir -p warsow_0.21_sdk_fixed
cd warsow_0.21_sdk_fixed
unzip ../warsow_0.21_sdk_fixed.zip
wget http://d3.jpn.org/warsow/warsow_0.21_arena_a4.patch
patch -p1 < warsow_0.21_arena_a4.patch
cd source

# for Unix based OS (Linux, FreeBSD, ...)
make cgame game ui
mkdir -p arena
cp -p release/basewsw/*.so arena

# for Windows
Open "warsow_0.21_sdk_fixed\source\warsow_vc7.sln" or "warsow_vc8.sln"
with VC++, and build.
Copy "warsow_0.21_sdk_fixed\source\debugwin32\basewsw\*.dll" to arena
folder.

cd arena
zip modules_021_ra_a4.pk3 *.so *.dll

Copy "modules_021_ra_a4.pk3" to server's "arena" folder.


* ChangeLog

- 2006/11/21 alpha 3
  Added Linux i386 version.
- 2006/11/21 alpha 3
  Added ClanArena.
- 2006/11/13 alpha 2
  Fixed bug that cannot connect master server.
- 2006/11/12 alpha 1
  First public release.


* Feedback

- English
  http://www.warsow.net/forum/viewtopic.php?id=11694
- Japanese
  http://d3.jpn.org/blog/


Have fun smile

Last edited by Guwashi (2006-11-21 16:44)

Re: Warsow RocketArena MOD alpha 1

This is round-based? :]

Re: Warsow RocketArena MOD alpha 1

* How to join server

Double click arena_client.bat.

it shows all warsow servers in server browser.. is there a way to see only arena servers?

Re: Warsow RocketArena MOD alpha 1

MysTikal wrote:

This is round-based? :]

Not yet smile.
I created this mod with 2 days (this weekend).
It's based on duel gametype with scorelimit 1 and timelimit 0.

Last edited by Guwashi (2006-11-12 09:56)

Re: Warsow RocketArena MOD alpha 1

naymlis wrote:

it shows all warsow servers in server browser.. is there a way to see only arena servers?

Does gametype filter works?
Or you can create listen server with "start server" in menu.

6

Re: Warsow RocketArena MOD alpha 1

when i start wsw with the mod and set up a server with one bot and load the dedicated_arena.cfg and restart the server i play dm with fraglimit 1 hmm HELP

The Bas1c''- One - My hud
War§ow TDM - Have a Gun or Run

Re: Warsow RocketArena MOD alpha 1

Don't work for me ... can't see gametype arena
why? ;o

<3

Re: Warsow RocketArena MOD alpha 1

good begining guwashi smile

Micros wrote:

Don't work for me ... can't see gametype arena
why? ;o

c:\warsow\arena\
arena_client.bat
arena_server.bat
cgame_x86.dll
game_x86.dll
ui_x86.dll

c:\warsow\
dedicated_arena.cfg
warsow_0.21_arena_a1.patch
gnu.txt
README

Run warsow => mod => arena => start server => gametype arena => play

Last edited by Poulet (2006-11-12 13:38)

smile #jump-it smile

Re: Warsow RocketArena MOD alpha 1

ah okay thanks 8)
Nice mod, gg

<3

Re: Warsow RocketArena MOD alpha 1

Bas1c wrote:

when i start wsw with the mod and set up a server with one bot and load the dedicated_arena.cfg and restart the server i play dm with fraglimit 1 hmm HELP

How about g_gametype value? "arena"?

Did you run server with "+set fs_game arena" ?

wsw_server.exe +set fs_game arena

Re: Warsow RocketArena MOD alpha 1

OK, I put the commands in a autoexec to execute when the mod is launched and they do. I can get the mod fine (all weapons, armor, health) but there is still rocketdamage and falldamage.

Re: Warsow RocketArena MOD alpha 1

I released version alpha 2. I fixed bug that cannot connect master server.

http://d3.jpn.org/warsow/warsow_ra_a2.zip

Re: Warsow RocketArena MOD alpha 1

MysTikal wrote:

OK, I put the commands in a autoexec to execute when the mod is launched and they do. I can get the mod fine (all weapons, armor, health) but there is still rocketdamage and falldamage.

Maybe its gametype is DM with warmup smile

Please tell me your cfg file and run options. Here is my server's cfgs.

- warsow_0.21_windows/basewsw/dedicated_autoexec.cfg
  Note: must be on basewsw

// This config will be executed last at launching a dedicated server.
// It will never be written in from warsow.

// server settings - must be different for each server running on same machine
set sv_hostname "IwanKottyaNai [AutoDL]"
set port "44400"
set logconsole "wswconsole.log"
set logconsole_append "1" // don't destroy the old log when restarting server

// more server settings
set sv_public "1"
set sv_skilllevel "0" // 0 = easy, 1 = normal, 2 = hard
set password ""       // password required to enter the server
set rcon_password ""  // password to remotely control the server, keep secret
set sv_pure "1"       // if 1 client is forced to use same game modules and
                      // game data with the server
set sv_battleye "1"   // anti-cheat system, not supported by Linux clients!
    // 0 = disabled, 1 = optional, 2 = required (2 highly discouraged)
set masterservers "dpmaster.deathmask.net ghdigital.com excalibur.nvg.ntnu.no"
// set sv_pps "60"

// missing file uploading
set sv_uploads "1"              // setting this to 0 will disable sending of
                                // server upload offers or urls to clients
set sv_uploads_from_server "0"  // allow uploading directly from the server
set sv_uploads_baseurl "http://d3.jpn.org/warsow/basewsw"       // every pk3 download offer will have url that
    // is this string, plus slash and filename

// server side demos
set g_autorecord "1"            // record demos from all the matches
set g_autorecord_maxdemos "500"  // if there is more than this amount of
    // automatically recorded demos, the oldest ones will be deleted
set g_uploads_demos "1"         // if this is enabled and server uploading is
    // enabled, players can download demos from the server

// game settings
set g_numbots "0"
set g_allow_falldamage "1"
set g_instagib "0"

// callvotes settings
set g_vote_allowed "1"
set g_disable_vote_map "0"
set g_disable_vote_restart "0"
set g_disable_vote_kick "0"
set g_disable_vote_numbots "0"
set g_disable_vote_allow_falldamage "0"

// templates for different server types, enable only one
//exec cfgs/dedicated_allaround.cfg
//exec cfgs/dedicated_ffa.cfg
//exec cfgs/dedicated_duel.cfg
//exec cfgs/dedicated_duel_quad.cfg
//exec cfgs/dedicated_tdm.cfg
//exec cfgs/dedicated_ctf.cfg
//exec cfgs/dedicated_tdm_ctf.cfg
//exec cfgs/dedicated_midair.cfg
//exec cfgs/dedicated_ffa_instagib.cfg
//exec cfgs/dedicated_race.cfg
//exec cfgs/dedicated_duel_practice.cfg
exec cfgs/dedicated_arena.cfg

- warsow_0.21_windows/basewsw/cfgs/dedicated_arena.cfg
  Note: must be on basewsw

// Example config for midair only server
// Execute after common settings are set in dedicated_autoexec.cfg

// set sv_hostname "IwanKottyaNai RocketArena MOD"
set sv_hostname "d3.jpn.org/warsow/warsow_ra_a1.zip [RA MOD]"

// server settings
set sv_maxclients "8"      // room for one spectator

// map rotation
set sv_defaultmap "wdm5"
set g_maplist ""   // list of maps in automatic rotation
set g_maprotation "0"      // 0 = same map, 1 = in order, 2 = random, but not same twice in a row

// game settings
set g_gametype "arena"
set g_scorelimit "1"
set g_timelimit "0"
set g_warmup_enabled "1"
set g_warmup_timelimit "0.1"
set g_match_extendedtime "0"

// game settings - team
//set g_maxteams "2"
//set g_teams_maxplayers "1"
set g_teams_autolock "0"
//set g_teams_teamdamage "1"

// game settings - misc
set g_countdown_time "5"
set g_maxtimeouts "0" // -1 = unlimited
set g_challengers_queue "1"

// callvotes settings
set g_votable_gametypes ""
set g_disable_vote_gametype "0"
set g_disable_vote_nextmap "0"
set g_disable_vote_scorelimit "0"
set g_disable_vote_timelimit "0"
set g_disable_vote_warmup "0"
set g_disable_vote_warmup_timelimit "0" // you might want to disable this
set g_disable_vote_extended_time "0"
set g_disable_vote_maxteams "0"
set g_disable_vote_maxteamplayers "0"
set g_disable_vote_lock "0"
set g_disable_vote_unlock "0"
set g_disable_vote_allow_teamdamage "0"
set g_disable_vote_maxtimeouts "0"
set g_disable_vote_timeout "0"
set g_disable_vote_timein "0"
set g_disable_vote_challengers_queue "0" // you might want to disable this

// arena cvars
set ra_initial_weak_gb "0"
set ra_initial_weak_rg "25"
set ra_initial_weak_gl "15"
set ra_initial_weak_rl "25"
set ra_initial_weak_pg "75"
set ra_initial_weak_lg "120"
set ra_initial_weak_eb "10"
set ra_initial_strong_gb "10"
set ra_initial_strong_rg "5"
set ra_initial_strong_gl "5"
set ra_initial_strong_rl "5"
set ra_initial_strong_pg "25"
set ra_initial_strong_lg "40"
set ra_initial_strong_eb "5"
set ra_initial_health "100"
set ra_initial_armor "100"

- warsow_0.21_windows/arena/arena_server.bat

cd ..
wsw_server.exe +set fs_game arena

Re: Warsow RocketArena MOD alpha 1

at last big_smile

jal: In short, it won't happen (any wsw modification).
--> ff mod for wsw default

Re: Warsow RocketArena MOD alpha 1

Ahh. I see.

Re: Warsow RocketArena MOD alpha 1

really, this should get implemented in wswbase, it would be the best possible outcome...


but great job dude, we need ppl like u!!!
<3

17

Re: Warsow RocketArena MOD alpha 1

I think this is good as it's own mod, you don't want to make wswbase too bloated, imo.

I reject your reality and substitute my own!

Re: Warsow RocketArena MOD alpha 1

so i finally tried loading it up and wtf.. its duel only? should be teams...

Re: Warsow RocketArena MOD alpha 1

naymlis wrote:

so i finally tried loading it up and wtf.. its duel only? should be teams...

Yes. I didn't implement ClanArena yet. But I think it's not so difficult to create ClanArena.
I will try to create ClanArena in this week end smile

Re: Warsow RocketArena MOD alpha 1

I released version alpha 3. I added ClanArena based on TDM.
Have fun smile

http://d3.jpn.org/warsow/warsow_ra_a3.zip

Re: Warsow RocketArena MOD alpha 1

I hope dev-team include RA and CA gametypes on official release, and fix my dirty code tongue
If there are things that I can contribute, I want to help dev-team smile

Re: Warsow RocketArena MOD alpha 1

cool! I hope someone upload it to a server! ca roxx!

Re: Warsow RocketArena MOD alpha 1

djith, how abt a ca server???

Re: Warsow RocketArena MOD alpha 1

need a server!!

25

Re: Warsow RocketArena MOD alpha 1

We all need a server smile