Меню сайта

[DS]: Half-Life Server
[DS]: Half-Life Server

[DS]: CS:S GunGame v34 Server
[DS]: CS:S GunGame v34 Server

[DS]: CS:S v34 Server
[DS]: CS:S v34 Server


add_newДобавить новость
Последние добавленные

Еще несколько лет назад выбор казино-онлайн был достаточно простым

Читать далее

Множество букмекерских контор позволяют всем людям реализовать свою мечту – зарабатывать на своем увлечении.

Читать далее

Сеть Burger King совместно с телеканалом Game Show и оператором «Синтерра Медиа» запустили CTRL PLAY


Читать далее

Уважаемые участники!
Команда проекта DS-Servers, от всей души поздравляет вас с Новым Годом!

Читать далее

The University of Southern California’s premier video games program USC Games will feature hands-on playable code for t....

Читать далее

В преддверии новогодних праздников компания DSN.Host запускает конкурс.

Читать далее

ZXC Mod cvarlist

Читать далее

Студия 11 Bit Studios, которую вы можете знать по This War of Mine


Читать далее

Если вам есть, что скрывать, то WhatsApp может оказаться не лучшим выбором для переписки. Оказывается, принадлежащий Faceboo


Читать далее

Плагин : EndMapCustom
Версия : 1.7.4
Автор : BIGs

Описание :

Читать далее

Компания 2K Games поделилась первыми официальными скриншотами


Читать далее

Представлен трейлер к запуску последнего сюжетного дополнения


Читать далее



all you need to space build
Добавил: The DSystem
2016-01-10 13:16:30
33 просмотра
  • all you need to space build Skin screenshot
  • all you need to space build Skin screenshot
  • all you need to space build Skin screenshot

Description: This is a utility library for designing Scripted Entities that Store, Share, Consume and Generate resources. If any plugins require it you will receive a message instructing you to seek out this addon.

It is mainly a tool for developing Scripted Entities which operate on resources. For example, you could create a Bread Machine that consumes Flour, Water, Yeast and Energy to produce units of Bread, which could either be stored in a container or consumed by the player if user-addon provides for it.

An example of what this can do is found in the Life Support Mod, where the 3 main resources of Air, Energy and Coolant are generated, stored, distributed and consumed for the purpose of survival in hostile environments. The best part is that it's extremely easy to use.

Here are the utility function definitions: RD_AddResource(ent, res, capacity) --Adds a named resource with the specified storage capacity to the ent

RD_ConsumeResource(ent, res, amount) --Consumes a named resource from the entity

RD_SupplyResource(ent, res, amount) --Replenishes a named resource on the entity by a specified amount

RD_CheckResource(ent, res) --Returns true if device uses named resource

RD_GetResourceAmount(ent, res) --Returns the amount of a named resource accessable to the entity

RD_GetUnitCapacity(ent, res) --Returns the maximum storage capacity of a specified entity, disregarding the network size(for named resource only)

RD_GetNetworkCapacity(ent, res) --Returns the maximum storage capacity of an entire network accessable to the entity(for named resource only)

Using the included Link Tool you can hook devices up and create networks of shared resources. Also included is a retractable Supply Connector for temporary connections such as fueling stations or modular forts.

I have included some test entities in the base pack, the "Bucket o' Crud", the "Tub o' Crud and Junk", and the "Barrel o' Stuff and Junk." These are accessable in the SEnts Spawn Menu, and serve no other purpose than perhaps as templates for you to study.

Please note that Life Support 1.6 will conflict with this mod. Life Support 1.7 was built with Resource Distribution as a foundation, and will thus be compatible.

New to Version 1.8c: -Added: Air and Coolant compressors now have "Overdrive" mode -Fixed: Sounds Looping w/ Overdrive -Fixed: Atmospheric Probe spamming console with "grav" -Added: full duplicator support -Added: Resource Cache -Fixed: Air and Heat Exchangers not consuming resources -Fixed: More weird behavior...

Overdrive Mode To activate this mode, either press "Use" again immediately after activation of the compressor, or use the "Overdrive" Wire Input(recommended.) This mode will boost the output and energy consumption, but will slowly wear down the system. Best used only in emergencies.

Duplicator Support Adv. Duplicator can now save links, including Wire connections.

Resource Cache Consolidated storage units, Small and Large containers for all 3 resource types(Air, Energy and Coolant.)


Copyright © 2012-2018. All Rights Reserved.
При копировании материала ссылка на источник обязательна
За материалы, размещенные пользователями, администрация сайта ответственности НЕ несет