Dathus' Core (E2 Functions)
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«Dathus' Core (E2 Functions)» — материал мастерской Garry’s Mod. Аддоны, карты, персонажи и инструменты для песочницы. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
A group of Expression 2 (Wiremod) functions. The addon is still being developed, some functions are not working anymore, and will be fixed, Send a bug report if you find any lua errors generated by this addon.
Version: 1.3.1
Github Repository
You can download, Send a contribution or add a new Issue at https://github.com/ZionDevelopers/DathusCore
Expression 2 functions
Entity:teleport(Vector) -- Teleport Entity to a Position on Gmod Map
Entity:playerUniqueId() -- Return the Player Unique ID
Entity:applyPlayerForce(Vector) -- Like ApplyForce but with Player
Entity:hasNoCollideAll() -- Check if Prop Has NO-Collide All and return 1 or 0 (True or False)
Entity:setCollideAll() -- Set NO-Collide All on a Prop
Entity:removeNoCollideAll() -- Remove the NO-Collide All from the Prop
Entity:setOwner(Entity) -- ReSet the Owner of the Prop (ADMIN ONLY)
Entity:ignite(Number) -- Put a Entity on Fire
Entity:extinguish() -- Remove the Fire of the Entity
Entity:setHealth(Number) -- Set Player's Health (ADMIN ONLY)
Entity:takeDamage(Number) -- Do Damage on Prop (NOT WORK WITH PLAYERS)
Entity:set(String, String) -- Set A Property on a Entity (Like Color) (ADMIN ONLY)
Entity:set(String, Number) -- Set A Property on a Entity (Like Color) (ADMIN ONLY)
Entity:animate(Number) -- Animate a Prop (Sequence) (Only with Props)
Entity:animate(String) -- Animate a Prop (Sequence) (Only with Props)
Entity:animate(Number, Number) -- Animate a Prop (Sequence) (Only with Props)
Entity:animate(String, Number) -- Animate a Prop (Sequence) (Only with Props)
Entity:getAnimation() -- Get the Current Prop's Animation
Entity:getAnimationByName(String) -- Get The Animation Number by Aninamtion Name (Like Fire)
Entity:egpHUDSetPlayer(Entity) -- Set a Player to See an EGP HUD (You should run it once)
Functions With AntiSpam (2 Seconds Delay) Protection
Teleport, TakeDamage
Functions With Prop Protection
Teleport, ApplyPlayerForce, SetCollideAll, RemoveNoCollideAll, Ignite, Extinguish, TakeDamage, Animate, egpHUDSetPlayer.
E2 Code Demonstration: http://pastebin.com/MSV6tUJr
All functions developed by me, I took a good time to make it.
*You can only use Other Player's Props or Players that have you on his Prop Protection List.
Mirror
Download from Github
License
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Errors Report Only on Github Issue Tracker
Requirement
You need Wiremod to use this add-on, it can be downloaded on Wiremod's Github
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.