Server Mods‎ > ‎

Rifle Mod


Rifle Mod is an Alien Swarm server-only mod that forces players to play with assault rifles only, harder aliens, more ammo, smarter bots. However rifle only restriction can be disabled and a number of modifications can be turned on during briefing, see commands. Can be installed on a dedicated server or on a regular game. 

Download Server Files

server.7z extracts and replaces server.dll at swarm/bin

Alien Swarm Rifle Mod

Download Source Code

https://sites.google.com/site/swarmaddons/server-mods/rifle-mod/riflemod_patch.7z?attredirects=0&d=1

Installation Instructions

1. Download the regular Alien Swarm Dedicated server
2. Download Riflemod's server.dll file. See links above
3. Copy with replacement Riflemod's server.dll to swarm/bin
4. Make sure you have sv_allow_lobby_connect_only 0 set in your swarm/cfg/server.cfg to prevent often server crashes
5. Start the dedicated server

You can also host a Riflemod server from the game directly. All you need is to do steps 2, 3 listed above and start the game as usual. But backup the files you're replacing to be able to revert later. Usually Alien Swarm folder is located here:
C:\Program Files (x86)\Steam\SteamApps\common\alien swarm\

Feedback

Features

- Forced assault rifle as a primary weapon
- Players now don't die but lose consciousness, conscious player can revive a teammate by holding E (USE) key
- Forced ammo satchel as a secondary weapon. But player is allowed to choose any sentry gun as a secondary weapon 
- Choosable extra item(adrenaline, freeze grenades etc)
- Increased ammo satchel clip size to 16
- Flamer doesn't ignite aliens but causes damage
- Slow health regeneration. +5hp every 5 sec.
- Increased health and speed of aliens but decreased damage
- Bots are automatically added to fill free slots
- Drop-in. If you add bots and play with them the newly connected player will be able to play by taking one of the bots. 
- Bots are smarter. They take less damage then players and reload very fast, they don't die from parasites' infestation, can follow you through tons of aliens. But bots are still stuck if Mortar bug shoots. You need to quickly eliminate Mortar bug. 
- Aliens attack sentry guns and can destroy them
- Biomass can be ignited by an explosion from a grenade

Server Console Variables

// These cvars control health scale of aliens for each difficulty:
asw_alien_health_scale_easy 0.1
asw_alien_health_scale_normal 1.5
asw_alien_health_scale_hard 2.6     // equal to Brutal Alien HP
asw_alien_health_scale_insane 3.1
asw_alien_health_scale_brutal 3.8

rm_welcome_message "Welcome to Rifle Mod"
The message that is displayed to each player after they join the server. The list of console commands is hardcoded to display.

rm_destroy_empty_weapon 1
If 1 empty weapon such as freeze grenades gets destroyed. If 0 the weapon stays. Was used for timed 3rd item regeneration. Default 1

rm_health_regen_interval 5
Interval between health regeneration. Default 5

rm_health_regen_amount 5
Amount of health regenerating. Default 5

Client Console Commands

asw_afk
this command allows you to leave the current marine if you need to go afk, the bot will control your marine

asw_DropExtra 
this command allows you to drop your 3rd item(extra). Bind it to some key using "bind t asw_dropextra"

rm_alienspeed 1.3
Available to leader only during briefing screen. Scales aliens' speed. Values from 0.1 to 3 are excepted. Default is 1

rm_bots 0
Available to leader only during briefing screen. Disables or enables automatic bots adding at the round start. Default is 1

rm_carnage 2
Available to leader only during briefing screen. Scales the amount of aliens(drones only). Correct values from 1 to 15. Type rm_carnage 3 during briefing in console to activate this mode with x3 multiplier. This mode needs to be reactivated if map was restarted or changed 

rm_challenge 0 
Available to leader only during briefing screen. Activates a challenge which is a modification of game rules, like Rifle Mod, ASBI or Ch1ckensCoop. 0 - Regular Alien Swarm game rules, 1 - Rifle Mod Classic rules, 2 - "Level One Challenge"

rm_heavy 2
Available to leader only during briefing screen. Scales aliens' health. Values from 0.1 to 15 are excepted. Default is 1

rm_hpregen 0 
Available to leader only during briefing screen. Disables or enables health regeneration. Default is 1

rm_refill_secondary 0
Available to leader only during briefing screen. When player picks up ammo secondary ammo(grenades for rifles) is also refilled. 0 disables this behavior and makes game more hardcore. Default is 1

rm_revive 0
Available to leader only during briefing screen. If 0 disables reviving, 1 enables reviving. Default is 1

rm_weapon 5 
Available to leader only during briefing screen. Sets the default weapon for weapon restricted mode(Rifle Mod), values from 0 to 20 are accepted. The default value is 0 which is Assault Rifle

rm_weapons 0
 
Available to leader only during briefing screen. Allows to use all weapons in Rifle Mod. Excepts values 0 - Enable all weapons, 1 - Only rifles, 2 - Level One weapons only. Default is 1

Changelog

2014.03.03
- rm_weapons 2 command allows weapons: Rifle, Vindicator, Autogun, Pistols, Sentry, Ammo, Heal
- rm_hpregen 0 command disables health regeneration. 
- rm_bots 0 command disables automatic bots adding at the round start
- rm_weapon 5 command Sets the default weapon for weapon restricted mode(Rifle Mod), values from 0 to 20 are accepted. The default value is 0 which is Assault Rifle
- rm_challenge 0 Activates a challenge which is a modification of game rules, like Rifle Mod, ASBI or Ch1ckensCoop. 0 - Regular Alien Swarm game rules, 1 - Rifle Mod Classic rules, 2 - "Level One Challenge"
2014.02.13
- Print a message that marine is incapacitated
- Fix aliens' incorrect spawn on railings when rm_carnage is used. Mostly noticeable on Cargo Elevator mission
2014.02.06
- Fixed flamer doesn't ignite aliens when all weapons are allowed
- Added rm_vevive command to turn reviving on and off
- Fixed ammo count for all weapons allowed mode
2014.02.04
- Added revive ability. Players now don't die but lose consciousness, conscious player can revive a teammate by holding E (USE) key
- Added a bunch of new commands. rm_weapons, rm_alienspeed, rm_heavy etc
- Added spectator ability. If the server is full you can join it by typing connect server_ip:port in console 
2014.01.14
- Biomass can now be ignited by an explosion from a grenade
- Flamer is not given to medics on Residential map
- Extra item(3rd item) is removed when it has 0 ammo
- Added rm_destroy_empty_weapon cvar
2013.12.28
- Removed infinite ammo
- Removed extra item regeneration
- Added when picking-up ammo for rifle you also pick-up grenades for rifle
- Added ammo_satchel weapon by default, you can still change it to sentry
- Added frags counter
- Added rm_carnage mode for leader only
- Decreased bots' hull size to be able to pass through aliens
- Increased ammo satchel clip size to 16
- Ammo satchel clip size is scaled with rm_carnage multiplier
Previous versions:
- Add bots by default
- Bots must follow the leader
- Fix messages
- Infinite flamer ammo
- Fix medkit bug
- Decrease drone's uber hull size
- asw_dropextra