ATTRIB(GameItem, m_name, string);
ATTRIB(GameItem, m_icon, string);
ATTRIB(GameItem, m_color, vector, '1 1 1');
- ATTRIB(GameItem, m_waypoint, string);
+ ATTRIB(GameItem, m_waypoint_text, string);
+ ATTRIB(GameItem, m_waypoint_icon, string);
ATTRIB(GameItem, m_waypointblink, int, 1);
#ifdef GAMEQC
ATTRIB(GameItem, m_glow, bool, false);
this.netname = "armor_small";
this.m_name = "5 Armor";
this.m_icon = "armor";
+ this.m_waypoint_icon = "waypoint_armor";
#ifdef SVQC
this.m_itemid = IT_ARMOR_SHARD;
this.m_respawntime = GET(g_pickup_respawntime_short);
this.netname = "armor_medium";
this.m_name = "25 Armor";
this.m_icon = "armor";
+ this.m_waypoint_icon = "waypoint_armor";
#ifdef SVQC
this.m_itemid = IT_ARMOR;
this.m_respawntime = GET(g_pickup_respawntime_medium);
this.m_name = "50 Armor";
this.m_icon = "armor";
this.m_color = '0 1 0';
- this.m_waypoint = _("Big armor");
+ this.m_waypoint_text = _("Big armor");
+ this.m_waypoint_icon = "waypoint_armor";
#ifdef SVQC
this.m_itemid = IT_ARMOR;
this.m_respawntime = GET(g_pickup_respawntime_long);
this.m_name = "100 Armor";
this.m_icon = "item_large_armor";
this.m_color = '0 1 0';
- this.m_waypoint = _("Mega armor");
+ this.m_waypoint_text = _("Mega armor");
+ this.m_waypoint_icon = "waypoint_armor_mega";
this.m_waypointblink = 2;
#ifdef SVQC
this.m_maxs = '16 16 70';
this.netname = "health_small";
this.m_name = "5 Health";
this.m_icon = "health";
+ this.m_waypoint_icon = "waypoint_health";
#ifdef SVQC
this.m_itemid = IT_5HP;
this.m_respawntime = GET(g_pickup_respawntime_short);
this.netname = "health_medium";
this.m_name = "25 Health";
this.m_icon = "health";
+ this.m_waypoint_icon = "waypoint_health";
#ifdef SVQC
this.m_itemid = IT_25HP;
this.m_respawntime = GET(g_pickup_respawntime_short);
this.m_name = "50 Health";
this.m_icon = "health";
this.m_color = '1 0 0';
- this.m_waypoint = _("Big health");
+ this.m_waypoint_text = _("Big health");
+ this.m_waypoint_icon = "waypoint_health";
#ifdef SVQC
this.m_itemid = IT_25HP;
this.m_respawntime = GET(g_pickup_respawntime_medium);
this.m_name = "100 Health";
this.m_icon = "item_mega_health";
this.m_color = '1 0 0';
- this.m_waypoint = _("Mega health");
+ this.m_waypoint_text = _("Mega health");
+ this.m_waypoint_icon = "waypoint_health_mega";
this.m_waypointblink = 2;
#ifdef SVQC
this.m_maxs = '16 16 70';
this.m_name = "Jetpack";
this.m_icon = "jetpack";
this.m_color = '0.5 0.5 0.5';
- this.m_waypoint = _("Jetpack");
+ this.m_waypoint_text = _("Jetpack");
+ this.m_waypoint_icon = "waypoint_jetpack";
this.m_waypointblink = 2;
#ifdef SVQC
this.m_botvalue = 3000;
this.m_name = "Fuel regenerator";
this.m_icon = "fuelregen";
this.m_color = '1 0.5 0';
- this.m_waypoint = _("Fuel regen");
+ this.m_waypoint_text = _("Fuel regen");
+ this.m_waypoint_icon = "waypoint_fuel_regen";
this.m_waypointblink = 2;
#ifdef SVQC
this.m_botvalue = 3000;
this.m_name = "Strength Powerup";
this.m_icon = "strength";
this.m_color = '0 0 1';
- this.m_waypoint = _("Strength");
+ this.m_waypoint_text = _("Strength");
+ this.m_waypoint_icon = "waypoint_strength";
this.m_waypointblink = 2;
this.m_itemid = IT_STRENGTH;
#ifdef SVQC
this.m_name = "Shield";
this.m_icon = "shield";
this.m_color = '1 0 1';
- this.m_waypoint = _("Shield");
+ this.m_waypoint_text = _("Shield");
+ this.m_waypoint_icon = "waypoint_shield";
this.m_waypointblink = 2;
this.m_itemid = IT_INVINCIBLE;
#ifdef SVQC
this.m_name = "Extra life";
this.m_icon = "item_mega_health";
this.m_color = '1 0 0';
- this.m_waypoint = _("Extra life");
+ this.m_waypoint_text = _("Extra life");
+ this.m_waypoint_icon = "waypoint_health_mega";
this.m_waypointblink = 2;
this.m_itemid = IT_NAILS;
}
this.m_name = "Invisibility";
this.m_icon = "strength";
this.m_color = '0 0 1';
- this.m_waypoint = _("Invisibility");
+ this.m_waypoint_text = _("Invisibility");
+ this.m_waypoint_icon = "waypoint_invisibility";
this.m_waypointblink = 2;
this.m_itemid = IT_STRENGTH;
#ifdef SVQC
this.m_name = "Speed";
this.m_icon = "shield";
this.m_color = '1 0 1';
- this.m_waypoint = _("Speed");
+ this.m_waypoint_text = _("Speed");
+ this.m_waypoint_icon = "waypoint_speed";
this.m_waypointblink = 2;
this.m_itemid = IT_INVINCIBLE;
#ifdef SVQC
return "Spam"; // no need to translate this debug string
if (s == WP_RaceStartFinish.netname) return (race_checkpointtime || race_mycheckpointtime) ? _("Finish") : _("Start");
if (s == WP_Weapon.netname) return Weapons_from(this.wp_extra).m_name;
- if (s == WP_Item.netname) return Items_from(this.wp_extra).m_waypoint;
+ if (s == WP_Item.netname) return Items_from(this.wp_extra).m_waypoint_text;
if (s == WP_Monster.netname) return get_monsterinfo(this.wp_extra).monster_name;
if (MUTATOR_CALLHOOK(WP_Format, this, s))
{
{
// TODO: needs icons! //if (s == WP_RaceStartFinish.netname) return (race_checkpointtime || race_mycheckpointtime) ? _("Finish") : _("Start");
if (s == WP_Weapon.netname) return Weapons_from(this.wp_extra).model2;
- if (s == WP_Item.netname) return Items_from(this.wp_extra).m_icon;
+ if (s == WP_Item.netname) return Items_from(this.wp_extra).m_waypoint_icon;
if (s == WP_Vehicle.netname) return Vehicles_from(this.wp_extra).m_icon;
//if (s == WP_Monster.netname) return get_monsterinfo(this.wp_extra).m_icon;
if (MUTATOR_CALLHOOK(WP_Format, this, s))