#include "powerup.qh"
REGISTER_ITEM(Jetpack, Powerup) {
- this.m_model = "models/items/g_jetpack.md3";
+ this.m_model = "g_jetpack.md3";
this.m_name = "Jet pack";
this.m_icon = "jetpack";
+ this.m_color = '0.5 0.5 0.5';
+ this.m_waypoint = _("Jet Pack");
+ this.m_waypointblink = 2;
#ifdef SVQC
this.m_botvalue = BOT_PICKUP_RATING_LOW;
this.m_itemid = IT_JETPACK;
}
REGISTER_ITEM(JetpackRegen, Pickup) {
- this.m_model = "models/items/g_fuelregen.md3";
+ this.m_model = "g_fuelregen.md3";
this.m_name = "Fuel regenerator";
this.m_icon = "fuelregen";
+ this.m_color = '1 0.5 0';
+ this.m_waypoint = _("Fuel regen");
+ this.m_waypointblink = 2;
#ifdef SVQC
this.m_botvalue = BOT_PICKUP_RATING_LOW;
this.m_itemflags = FL_POWERUP;
.int m_itemid;
#endif
REGISTER_ITEM(Strength, Powerup) {
- this.m_model = "g_strength.md3";
- this.m_sound = "misc/powerup.wav";
- this.m_name = "Strength Powerup";
- this.m_icon = "strength";
- this.m_itemid = IT_STRENGTH;
- this.m_model = "models/items/g_strength.md3";
++ this.m_model = "g_strength.md3";
+ this.m_sound = "misc/powerup.wav";
+ this.m_name = "Strength Powerup";
+ this.m_icon = "strength";
+ this.m_color = '0 0 1';
+ this.m_waypoint = _("Strength");
+ this.m_waypointblink = 2;
+ this.m_itemid = IT_STRENGTH;
}
REGISTER_ITEM(Shield, Powerup) {
- this.m_model = "g_invincible.md3";
- this.m_sound = "misc/powerup_shield.wav";
- this.m_name = "Shield";
- this.m_icon = "shield";
- this.m_itemid = IT_INVINCIBLE;
- this.m_model = "models/items/g_invincible.md3";
++ this.m_model = "g_invincible.md3";
+ this.m_sound = "misc/powerup_shield.wav";
+ this.m_name = "Shield";
+ this.m_icon = "shield";
+ this.m_color = '1 0 1';
+ this.m_waypoint = _("Shield");
+ this.m_waypointblink = 2;
+ this.m_itemid = IT_INVINCIBLE;
}