Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
normal.qc
Go to the documentation of this file.
1#include "normal.qh"
2
3#ifdef SVQC
11#endif // SVQC
12#ifdef MENUQC
13METHOD(NormalNade, describe, string(NormalNade this))
14{
15 TC(NormalNade, this);
17 PAR(_("The (normal) %s explodes after a short delay, dealing damage to nearby players. "
18 "If other nade types are destroyed before they detonate, they instead explode similar to this, without doing their special effects."), COLORED_NAME(this));
19 PAR(_("Make sure you remember to throw it with %s, or else it will blow up in your hands!"), strcat("^3", _("drop weapon"), "^7"));
20 return PAGE_TEXT;
21}
22#endif // MENUQC
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define COLORED_NAME(this)
Definition color.qh:195
vector origin
float RadiusDamage(entity inflictor, entity attacker, float coredamage, float edgedamage, float rad, entity cantbe, entity mustbe, float forceintensity, int deathtype,.entity weaponentity, entity directhitentity)
Definition damage.qc:981
#define DMG_NOWEP
Definition damage.qh:104
void Damage_DamageInfo(vector org, float coredamage, float edgedamage, float rad, vector force, int deathtype, float bloodtype, entity dmgowner)
#define TC(T, sym)
Definition _all.inc:82
void nade_normal_boom(entity this)
Definition normal.qc:4
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
#define METHOD(cname, name, prototype)
Definition oo.qh:269
#define NULL
Definition post.qh:14
int projectiledeathtype
Definition common.qh:21
#define PAGE_TEXT
Definition string.qh:643
#define PAR(...)
Adds an individually translatable paragraph to PAGE_TEXT without having to deal with strcat and sprin...
Definition string.qh:649
#define PAGE_TEXT_INIT()
Definition string.qh:642
entity enemy
Definition sv_ctf.qh:153
float autocvar_g_nades_nade_edgedamage
Definition sv_nades.qh:20
float autocvar_g_nades_nade_radius
Definition sv_nades.qh:21
float autocvar_g_nades_nade_force
Definition sv_nades.qh:22
float autocvar_g_nades_nade_damage
Definition sv_nades.qh:19
entity realowner