Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Tower Upgrade Tiers

Featured Replies

  • Administrator

Players can upgrade a tower they own twice by looking at it and opening a small menu. Each tier increases range or fire rate and changes the tower's colour so teammates can see which towers are strong. Selling refunds half of everything spent.

Tower Upgrade Tiers (olds.ro workshop idea IDEA-906B12E980D548F2) Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.

An add-on for the olds.ro Tower Defence core (LIB-2275): a player can upgrade a tower they own twice, or sell it.

  • Look at your tower (get_user_aiming, within 128 units) and say /tdup (or bind the command tdup). Only the tower's owner (var_owner) gets the menu; others are told so.
  • 1. Upgrade: tier 1 costs olds_tdup_cost1, tier 2 olds_tdup_cost2; refused without enough money. Tier 1 multiplies range and fire rate by 1.25, tier 2 by 1.5. The tower glows blue at tier 1 and gold at tier 2 (kRenderFxGlowShell, var_rendercolor), so teammates see strong towers.
  • 2. Sell: refunds olds_tdup_refund (half) of everything spent: the core's tower price (olds_td_towercost) plus the upgrades bought. The tower is removed. (The core still counts it among the owner's towers.)

How it works with the core: the core keeps its own tower mark in var_iuser4, so the tier is kept in var_iuser3. The core fires every 0.5 s within 700 units; after each of its thinks this add-on shortens the next think by the tier's multiplier (more shots) and fires the same beam and damage itself at an NPC the core could not reach, between 700 units and the tier's range. olds_tdup_base_rate / _base_range / _damage must match the core (0.5, 700, 20).

Cvars (configs/plugins/olds_tdup.cfg): olds_tdup_cost1 600, olds_tdup_cost2 1200, olds_tdup_refund 0.5, olds_tdup_base_rate 0.5, olds_tdup_base_range 700, olds_tdup_damage 20. Admin: amx_tdup_status (ADMIN_RCON).

Install: compile scripting/olds_tdup.sma with amxxpc 1.10, add olds_tdup.amxx to plugins.ini after the Tower Defence core, copy data/lang/olds_tdup.txt. Needs ReAPI, engine, fakemeta, hamsandwich. No downloads (the core's model).

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_tdup.sma, test/td_stub.sma

Idea: daemon · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (IDEA-906B12E980D548F2).

Tower Upgrade Tiers
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.1 KBUpdated 6 hours ago
Sign in to download
Pawn (AMX Mod X) · 335 lines
/*
 * Tower Upgrade Tiers (olds.ro workshop idea IDEA-906B12E980D548F2)
 * Copyright (C) 2026 daemon (olds.ro)
 *
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 335 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.