Q4Run is a modification for Quake4. Primarily it's based on trickjumping and combining tricks. The first idea behind this mod was to implement timers which makes it possible to finish a specific "run" map in a certain time and then improve it afterwards. Every run will be documented in a demo named after name of player and map and time. If you want you can share those demos with other players so they can watch your skill or can help you to improve it. Comparing to others' times you can try to beat them or be proud of yourself because of better records.

Report article RSS Feed Remove Weapons

This entity removes all weapons specified in its entity window.

Posted by Bliccer on Dec 28th, 2008
Basic Mapping/Technical.

We will start this tutorial with creating a trigger_multiple, placing a target_removeweapons entity in front of it and connect them with each other (select the trigger first, then the target and press ctrl+k):

removeweapon entity connected

As the title says, this small entity removes weapons when the player walks through the trigger. But before the entity effects something you have to type in several things into the entity window ("n"):

entity window\

You always have to create another key for each weapon (weapon0, weapon1, weapon2...) and then define its value with def_weaponx ("x" stands for 0-10). In the example above the player would lose a grenade launcher and the nailgun. The row of the weapons doesn't matter (it can also be def_weapon5 and then def_weapon3). Only be sure that you type in weapon0, weapon1, weapon2! For the weapon categories open the pak001.pk4, then go to the "def" directory and search for the player.def. Scroll down until you see "Player Entity Definition". Some lines downwards you'll find the weapon slots.

def_weapon0 blaster
def_weapon1 machinegun
def_weapon2 shotgun
def_weapon3 hyperblaster
def_weapon4 grenade launcher
def_weapon5 nailgun
def_weapon6 rocket launcher
def_weapon7 railgun
def_weapon8 lightninggun
def_weapon9 dark matter gun
def_weapon10 napalm gun
def_weapon11 portalgun

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Quake 4 Icon
Platforms
Windows, Linux
Game
Quake 4
Developed By
Bliccer
Contact
Send Message
Official Page
Q4run.benji-banned.ch
Release Date
Released Dec 2, 2007
Mod Watch
Track this mod
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
Q4Run (Quake 4)
Q4Run Quake 4 - Single & Multiplayer First Person Shooter
Related Games
Quake 4
Quake 4 Single & Multiplayer First Person Shooter