Pages: [1]
  Print  
Author Topic: Server with selected weapons  (Read 7582 times)
Kamyczk
Ok i've posted twice!


Cakes 0
Posts: 2


:)


« on: January 25, 2010, 08:54:25 AM »

Hello, I haven't got an answer, so...

Is it possible to make a server with selected weapons (for example I want to create place with gauntlet, railgun and rocket only)? If yes - how? If no - can I somehow set up start values for armor, bullets etc.? Known commands from Q3 aren't working (or I'm doing it wrong Wink). And - is there any replacement for g_rockets which brings me possibility to determine what weapon can be used during the game, not only rockets?

Thanks in advance.
Logged
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #1 on: January 25, 2010, 09:53:43 AM »

From this thread, you can do things like:

Code:
// weapons

seta disable_item_armor_shard "0"
seta disable_item_armor_combat "0"
seta disable_item_armor_body "0"
seta disable_item_health_small "0"
seta disable_item_health "0"
seta disable_item_health_large "0"
seta disable_item_health_mega "0"
seta disable_weapon_gauntlet "0"
seta disable_weapon_shotgun "0"
seta disable_weapon_machinegun "0"
seta disable_weapon_grenadelauncher "0"
seta disable_weapon_rocketlauncher "0"
seta disable_weapon_lightning "0"
seta disable_weapon_railgun "0"
seta disable_weapon_plasmagun "0"
seta disable_weapon_bfg "1"
seta disable_weapon_grapplinghook "0"
seta disable_ammo_shells "0"
seta disable_ammo_bullets "0"
seta disable_ammo_grenades "0"
seta disable_ammo_cells "0"
seta disable_ammo_lightning "0"
seta disable_ammo_rockets "0"
seta disable_ammo_slugs "0"
seta disable_ammo_bfg "1"
seta disable_holdable_teleporter "1"
seta disable_holdable_medkit "1"
seta disable_item_quad "1"
seta disable_item_enviro "0"
seta disable_item_haste "0"
seta disable_item_invis "0"
seta disable_item_regen "0"
seta disable_item_flight "0"
seta disable_team_CTF_redflag "0"
seta disable_team_CTF_blueflag "0"


// missionpack

seta disable_holdable_kamikaze "0"
seta disable_holdable_portal "0"
seta disable_holdable_invulnerability "0"
seta disable_ammo_nails "0"
seta disable_ammo_mines "0"
seta disable_ammo_belt "0"
seta disable_item_scout "0"
seta disable_item_guard "0"
seta disable_item_doubler "0"
seta disable_item_ammoregen "0"
seta disable_team_CTF_neutralflag "0"
seta disable_item_redcube "0"
seta disable_item_bluecube "0"
seta disable_weapon_nailgun "0"
seta disable_weapon_prox_launcher "1"
seta disable_weapon_chaingun "1"
When set to 1, it will simply remove these items from the map, nothing else.

Changing the quantity of Ammo is only possible if you edit the map with gtk/netradiant, then build it again, then make it available to players, which is a pain in the arse and not worth the effort IMO, so you may forget about it.

There is also a variable, I don't know if it's available in actual version or in future 0.8.5, which allows you to have unlimited ammo : the ammos don't respawn and stay on the map, then you "charge" them by staying a few seconds over the item. I don't know which cvar does that, maybe something like persistant ammo.

About g_rockets, it has been discussed some game mods could be made with "a single weapon which has to be chosen with unlimited ammo", though it is not implementend and may not be in near future.

Welcome here and good luck with setting up your server Wink
Logged

Todo: Walk the cat.
HelloKitty!
Lesser Nub


Cakes 12
Posts: 115



« Reply #2 on: January 25, 2010, 11:15:09 AM »

WOW!

So it is possible to disable the grenade launcher in FFA matches?

OMG, this would be heaven! Somebody quickly do this!
Logged
RMF
Member


Cakes 12
Posts: 694



« Reply #3 on: January 25, 2010, 03:13:19 PM »

Didn't know it was that easy! Pff actually all those hundreds or thousands of variables should be put together, in nice categories, and with a proper search function.

(for example I want to create place with gauntlet, railgun and rocket only)
Btw where have i seen that before? Wink Yes Evil|Insta+rj. But they use a mod for that, think xbattle but i can be wrong.
Logged
Kamyczk
Ok i've posted twice!


Cakes 0
Posts: 2


:)


« Reply #4 on: January 27, 2010, 07:01:20 AM »

I have used chosen mod to create a dynamic server. It works, thanks.
Logged
vindimy
Bigger member


Cakes 15
Posts: 161


lolwut?


WWW
« Reply #5 on: February 04, 2010, 11:41:47 AM »

Didn't know it was that easy! Pff actually all those hundreds or thousands of variables should be put together, in nice categories, and with a proper search function.

I'm working on this. See http://openarena.ws/board/index.php?topic=3064.0 No server variables yet, though.
Logged

Pages: [1]
  Print  
 
Jump to: