Garry's Mod
Недостатньо оцінок
Tanki Online Boxes (Entities) - Spawn Point version
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Type: Entity
Addon Tags: Build, Fun, Roleplay
Розмір файлу
Додано
Оновлено
4.356 MB
29 верес. 2023 о 9:08
3 жовт. 2023 о 12:47

Підпишіться, аби завантажити
Tanki Online Boxes (Entities) - Spawn Point version

Опис
Introducing Tanki Online Boxes (Entities) - Spawn Point version

This version adds a spawnpoint entity for each box, the entities will spawn exactly where you put the spawnpoints for them.

Every map will save it's own config so you don't have to worry about respawning them everytime you start the server.

To remove the spawnpoint you have to use the spawnpointremover swep.

Controls:
  • Reload (R) - refresh spawnpoint list
  • Left click - select previous spawnpoint
  • Right click - select next spawnpoint
  • Middle mouse button - remove spawnpoint

The swep only works in multiplayer so don't select singleplayer when making a server!!!




Built in map support

For maps that want to integrate this system's spawnpoints into their map
  • Download this addon and extract it
  • Go to lua/TankiOnlineConfig
  • Open the .lua file and read the instructions
  • At the end of everything your map should contain the TankiOnlineConfig folder and the .lua file in it
  • Rename the .lua file to "tankionline_yourmapname.lua"




Cvars and commands:

TankiOnline_AddCry:
Add crystals to the selected player (example: TankiOnline_AddCry (player name here) (number of crystals here)


TankiOnline_SetCry:
Set crystals to the selected player (useful if you want to have 0 crystals) (Example: TankiOnline_SetCry (player name here) (number of crystals here)

TankiOnline_AllowEdit:
Allows the use of context menu on the entities (set to 1 by default)

TankiOnline_AllowPhys:
Allows physgun and gravitygun on entities
(set to 1 by default)

TankiOnline_CrystalsHUD:
Allows you to see the crystal hud, and how many crystals you have (set to 1 be default)

TankiOnline_CrystalsType:
Allows you to set the crystal type (to do this, go in the spawnmenu, and go to entities, tanki online, and right click on the icon of the crystals, and press, copy to clipboard, and copy the name to the console (example: TankiOnline_CrystalsType 10crystals2013

TankiOnline_GoldBoxDrop:
Makes it so that when you spawn a goldbox from the spawnmenu it will drop from the sky (set to 1 be default)

TankiOnline_GoldBoxType:
Allows you to set the goldbox type (to do this, go in the spawnmenu, and go to entities, tanki online, and right click on the icon of the crystals, and press, copy to clipboard, and copy the name to the console (example: TankiOnline_GoldBoxType 100crystalsgold2013

TankiOnline_OldSupplyBoxes:
Supply boxes will spawn with 2011 models (set to 0 by default)

TankiOnline_SaveCrystals:
Allows saving of crystals for players and loading on next server startup (set to 1 by default)

TankiOnline_SwepsCost:
Makes sweps locked in the spawnmenu until purchased with crystals (you can edit the price for each swep in garrysmod/data/tankionlineconfig.dat) (set to 0 by default)

TankiOnline_ResetCrystals:
Resets crystals for all players and resets the data file located in garrysmod/data

TankiOnline_ResetPurchasedSweps:
Resets purchased weapons for all players and resets the data file located in garrysmod/data

TankiOnline_CreateConfig:
Creates config for setting the price of all sweps in garrysmod/data


Check the required items, you need the old tanki boxes, if you dont have them, they will spawn as errors.

Don't subscribe to both versions of this addon they're not compatible.


Random Spawning version:
https://steamcommunity.com/sharedfiles/filedetails/?id=3020909786
Коментарів: 3
Uzi  [автор] 2 жовт. 2023 о 5:46 
This was the same problem I had with boost icons appearing above the player's head, I just couldn't find the texture files anywhere and I searched pretty much every place for it so I just used garage icons
Uzi  [автор] 2 жовт. 2023 о 5:46 
@lazzly The link got removed, sadly without the proper texture files for them I can't
a_k 30 верес. 2023 о 8:11 
can you add those decals that the boxes drop at?
i mean these {ПОСИЛАННЯ ВИЛУЧЕНО}