Getting Started
It’s pretty easy to get started with creating your own schema with Helix. It requires a bit of bootstrapping if you’re starting from scratch, but you should quickly be on your way to developing your schema after following one of the below sections in this guide.
Installing the framework
Before you start working on your schema, you’ll need to install Helix onto your server. The exact instructions will vary based on your server provider, or if you’re hosting the server yourself.
You’ll need to download the framework from GitHub into a folder called helix . This folder goes into your server’s gamemodes folder at garrysmod/gamemodes/helix . That’s it! The framework is now installed onto your server. Of course, you’ll need to restart your server after installing the framework and a schema.
MySQL usage
By default, Helix will use SQLite (which is built into Garry’s Mod) to store player/character data. This requires no configuration and will work «out of the box» after installing and will be fine for most server owners. However, you might want to connect your database to your website or use multiple servers with one database — this will require the usage of an external database accessible elsewhere. This will require the use of a MySQL server. Some server providers will provide you with a MySQL database for free to use with your server.
Installing
Helix uses the MySQLOO library to connect to MySQL databases. You’ll need to follow the instructions for installing that library onto your server before continuing. In a nutshell, you need to make sure gmsv_mysqloo_win32.dll or gmsv_mysqloo_linux.dll (depending on your server’s operating system) is in the garrysmod/lua/bin folder.
In older versions of MySQLOO, you previously required a .dll called libmysql.dll to place in your root server folder, where srcds / srcds_linux was stored. Newer versions of MySQLOO no longer require this.
Configuring
Now that you’ve installed MySQLOO, you need to tell Helix that you want to connect to an external MySQL database instead of using SQLite. This requires creating a helix.yml configuration file in the garrysmod/gamemodes/helix folder. There is an example one already made for you called helix.example.yml that you can copy and rename to helix.yml .
The first thing you’ll need to change is the adapter entry so that it says mysqloo . Next is to change the other entries to match your database’s connection information. Here is an example of what your helix.yml should look like:
The hostname field can either be a domain name (like myexampledatabase.com ) or an IP address ( 123.123.123.123 ). If you don’t know what the port field should be, simply leave it as the default 3306 ; this is the default port for MySQL database connections. The database field is the name of the database that you’ve created for Helix. Note that it does not need to be helix , it can be whatever you’d like.
Another important thing to note about this configuration file is that you must indent with two spaces only. database should not have any spacing before it, and all other entries must have two spaces before them. Failing to ensure this will make the configuration file fail to load.
Starting with the HL2 RP schema (Basic)
This section is for using the existing HL2 RP schema as a base for your own schema. It contains a good amount of example code if you need a stronger foundation than just a skeleton.
First, you’ll need to download the schema from GitHub. Make sure that you download the contents of the repository into a folder called ixhl2rp and place it into your garrysmod/gamemodes folder. That’s all you’ll need to do to get the schema installed, other than setting your gamemode to ixhl2rp in the server’s command line.
Starting with the skeleton (Basic)
If you don’t want excess code you might not use, or prefer to build from an almost-empty foundation that covers the basic bootstrapping, then the skeleton schema is for you. The skeleton schema contains a lot of comments explaining why code is laid out in a certain way, and some other helpful tips/explanations. Make sure you give it a read!
You’ll need to download the schema from GitHub into the folder name of your choice — just make sure it’s all lowercase with no spaces. Our example for the sake of brevity will be myschema . Place the folder into garrysmod/gamemodes .
Next up is to modify the gamemode info so that Garry’s Mod will properly recognize it. Rename skeleton.txt in your schema folder to your folder’s name. In our example we would rename skeleton.txt to myschema.txt . Next, you’ll need to modify the contents of myschema.txt and replace the existing information with your own — making sure to replace the «skeleton» at the top of the file to your folder’s name. In our case we would replace it with «myschema» . Once you’ve renamed the file, you’re all good to go!
Converting from Clockwork (Intermediate)
If you are looking to switch to Helix from Clockwork, you can follow the conversion guide.
Источник
Как настроить helix gmod
| 2,603 | уникальных посетителей |
| 62 | добавили в избранное |
В самом начале вам нужно скачать режим ( Игровой gamemode ) Для ролевой игры. Ну и в этом руководстве будет gaymode HELIX и схема HL2 ROLEPLAY ( Хотя если хотите, делайте что хотите, хоть усритесь )
Так вот, переходим по ссылкам на официальные репозитории небулос.клауд и качаем нужные нам файлы
Переходим по ссылкам и качаем одной кнопкой «DOWNLOAD ZIP»
Далее необходимо отправить папки из архивов в папку вашего гмода по пути
steamapps\common\GarrysMod\garrysmod\gamemodes
И переименуйте их вот таким вот образом
ВСЕ, ВЫ УЖЕ МОЖЕТЕ ЗАПУСКАТЬ СВОЙ ЛУЧШИЙ ХЛ2 РОЛЕВАЯ ИГРА СЕРВЕР
ЗАХОДИТЕ В ИГРУ, МЕНЯЕТЕ РЕЖИМ НА HL2RP И ЗАПУСКАЕТЕ ПИРИНГОВУЮ СЕТЬ НА 2+ ИГРОКОВ И ПРИГЛАШАЕТЕ ДРУЗЕЙ. ПОЗДРАВЛЯЮ.
Ну, да, маловато будет.
Пора скачивать плагины, но где? Возвращаемся на гитхаб, в репозиторий с плагинами
Смотрите, читаете, качаете ( Вам нужно знать english язык, без него никак ) В описании плагинов обычно написано что как и почему работает. Так что выбираете нужное и кидаете папки, или файлы в вашу схему hl2rp по пути
gamemodes\ixhl2rp\plugins
Если плагинов в этом репозитории вам мало, можете посетить официальный дискорд-сервер HELIX, вот ссылка ( Все еще нужно знание английского language )
DISCORD INVITE [discord.gg]
Посмотрите канал #releases, там много интересного и неплохого контента, БЕСПЛАТНО
А если у вас есть деньги, то можете в канале #jobs попросить что-то ПЛАТНО
Я вижу, ты все еще недоволен своим сервером, открою секрет.
Нет не открою, но стоит посмотреть по подпапкам в папке shema, если ты хочешь добавить или изменить что-то незначительное, например фракцию или предметы. То же иногда сработает и plugins. Просто копируй, переименовывай и редактируй.
Так же рекомендую посмотреть данные гайды от кого-то там по установке, если что-то неясно
Это самый короткий гайд который я мог написать, тут почти ничего нет, но если вам нехватило информации отсюда, то вот вам ссылка на официальный сайт хеликса ( АНГЛИЙСКИЙ ЯЗЫК ) Там можно много чего посмотреть интересного.
Источник
Как настроить helix gmod
Helix is a framework for roleplay gamemodes in Garry’s Mod, based off of NutScript 1.1. Helix provides a stable, feature-filled, open-source, and DRM-free base so you can focus more on the things you want: making gameplay.
Visit the getting started guide in the documentation for an in-depth guide.
If you know what you’re doing, a quick start for bootstrapping your own schema is forking/copying the skeleton schema at https://github.com/nebulouscloud/helix-skeleton. The skeleton contains all the important elements you need to have a functioning schema so you can get to coding right away.
You can also use our HL2 RP schema at https://github.com/nebulouscloud/helix-hl2rp as a base to work off of if you need something more fleshed out.
If you’d like to enhance your gamemode, you can use any of the freely provided plugins available at the Helix Plugin Center. It is also encouraged to submit your own plugins for others to find and use at https://github.com/nebulouscloud/helix-plugins
Up-to-date documentation can be found at https://docs.gethelix.co. This is automatically updated when commits are pushed to the master branch.
If you’d like to ask some questions or integrate with the community, you can always join our Discord server. We highly encourage you to search through the documentation before posting a question — the docs contain a good deal of information about how the various systems in Helix work, and it might explain what you’re looking for.
If you’re planning on contributing to the documentation, you’ll probably want to preview your changes before you commit. The documentation can be built using LDoc — note that we use a forked version to add some functionality. You’ll need LuaRocks installed in order to get started.
You may not see the syntax highlighting work on your local copy — you’ll need to copy the files in docs/js and docs/css over into the docs/html folder after it’s done building.
Feel free to submit a pull request with any fixes/changes that you might find beneficial. Currently, there are no solid contributing guidelines other than keeping your code consistent with the rest of the framework.
Helix is a fork of NutScript 1.1 by Chessnut and rebel1324.
About
A Garry’s Mod roleplaying framework developed by nebulous for the people. Helix IS open-source — the code can be used as you wish.
Источник
Как настроить helix gmod
| 47 | уникальных посетителей |
| 5 | добавили в избранное |
Accomplice: One who assists the crime’s principal actor; supplementary transgressors.
Administer: To carry out the effectuation of; to apply as a remedy (medical).
Airwatch: Combine airborne assets.
Amputate: To remove from the civil body (medical).
Anti-Citizen: A confirmed opponent of the state, often malcontent.
Apply: To hasten an operation; to issue, bring into operation (medical).
Assemble: To come together, group.
Augmentation force: Operational reinforcements (military).
Autonomous: Engaging independently from Dispatch.
Biotic: Biological lifeform – typically vortigaunts, among other Xen fauna.
Blackout: Loss of contact (radio or visual).
Block: Sub-division of a region; a single building.
Cauterize: To permanently seal off by any means, often by damage (medical).
Capital: Highest in importance.
Checkpoint: A place, where (suspicious) people are stopped for inspection.
Citizenship: The status qualifying someone as a citizen with rights and responsibilities.
Clamp: To impose stricter control; to intensify repression.
Clean up: Formal closure of engagement; to free from waste (bodies/weapons).
Coagulate: To disperse from a concentrated state to a dispersed one, harden; clot.
Cohesion: Maintenance of operational integrity.
Confirm: To resolve potentially conflicting information.
Contact: Visual observation; exchange of fire.
Contain: To halt the spread or development of; to control.
Containment field: Dynamic force-field that restricts access to specific personnel.
Converge: To come together from different directions.
Corporeal: Consisting of material objects (law).
Debride: To precisely excise contaminated cells from an infection point (medical).
Detach: To remove from a group (ex: protection-team) or an assignment (often to reassign).
Deploy: To begin engagement.
Deservicement: Removal from service without citizenship amnesty.
Diagnose: To distinguish or identify; to discover the nature of (medical).
Dislocate: To displace an object from an assumed position.
Displace: To displace oneself from an assumed position.
Dissect: To examine, analyse minutely; to discover the cause of.
Discouragement device: Hoppermine.
Document: To record the details of (often in a datafile).
Drop: Deployment of aerial unit(s).
Duty: To execute a compulsory requirement.
Exogen: Exotic lifeform – typically antlions, among their related species.
Expired: No longer in use; terminated.
Expose: To reveal; to deprive of cover.
Expunge: To kill immediately, completely; to obliterate.
Extractor: Grenade of any kind (fragmentation, smoke, etc.).
Harden: To reinforce/fortify a position, become less vulnerable.
Hardpoint: A purpose-built fortified structure that is often armed.
Immediate: Without delay, disregarding potentially detrimental engagement protocols.
Incursion: A sudden anti-citizen offense; tactical breakthrough.
Infection: An external invasion of pathogenic threats, resultative in growing damage (medical).
Infestation: A threatening invasion of extreme quantities, parasite-like.
Inject: To move in; to force into something (medical).
Inoculate: To introduce processes that immunize the body (medical).
Inquire: To seek information by communication with outside sources.
Intercede: To intervene and resolve as an arbitrator/mediator.
Intercept: To stop the progress or intended course of.
Interlock: To connect together, become whole (in reference to team formation).
Interpose: Something that is located between two parties; to insert between, disrupt.
Isolate: To separate; to cause to be apart.
Laceration: Leakage of prohibited information, often resulting in witness sterilization(s).
Lock: To hold position.
Malcompliance: “Anti-compliance” – acts that are in defiance of compliance.
Malignant: Virulent or threatening to socio-stability – inclined to cause harm.
Midnight: An engagement protocol demanding complete silence and secrecy.
Miscount: Unrecorded or unfit individual – “not supposed to be here”.
Necrotic: Relating to death/corpses (necro-); any form of a zombie.
Non-citizen: A person sentenced for amputation; one without citizenship manifestation.
Non-compliance: Failure or refusal to comply.
Operate: To produce a desirable, proper effect (medical).
Outbreak: A sudden, violent occurrence threatening the civil body.
Overwatch: Combine anthropoid assets (non-synth) and all of their team configurations.
Pacify: To subdue or quell (a riot); to incapacitate non-lethally (an individual).
Parasite: Headcrabs and barnacles, among other biologically parasitic creatures.
Parasitic: Parasite-like – sharing the traits of parasites.
Political conscript: An enslaved vortigaunt.
Preserve: To sustain nominal socio-stability; to adhere.
Pressure: To intensify in force, influence something into breaking/giving up.
Probe: An expeditionary investigation of an unknown region/event.
Prosecute: To initiate or conduct a criminal case against (potentially including inquiry).
Ripcord: Get out quickly (as in a parachute cord) (not to be used in CP comms).
Recall: Removal from engagement with potential reassignment (military).
Recycle: To recondition (by severe punishment and/or memory replacement) (military).
Reinforce: To strengthen with additional personnel or equipment (military).
Respond: To react to an occurrence/stimulus in order to remedy it (medical).
Restrict: To deny access, prevent bypass.
Restrictor: Any static object that restricts access; antlion thumpers.
Request: A citizen-made assistance call.
Sacrifice: To fulfil absolute commitment to life-threatening engagements; permit no retreat.
Search: To examine for the purpose of discovering evidence of a crime.
Sector: The area that a particular unit is assigned to defend (military).
Shield: To engage in defensive, protective battle tactics.
Skyshield: Gunship.
Sociocide: The destruction of society.
Stabilize: To restore normalcy.
Sterilize: To delete or remove compromising or damaging entities from.
Sterilizer: Deployable floor turret.
Suspend: To cease.
Sword: To engage in offensive, aggressive battle tactics.
TAC: Total Access Communication – the communication batches of Overwatch forces.
Tag: To label or identify; to confirm as “marked” (deceased).
TAG: Tactical Assault Gear – any and all equipment purposed for armed combat.
TAG units: Civil Protection members with 30%+ RP & in possession of a firearm.
Terminal: Of highest intensity, most severe.
Unrest/Unrest Structure: An active social disturbance that often involves demonstrations or rioting.
Vacate: Abandon (remove oneself from a location or assignment).
Verdict: Any legal judgment or decision; trial conclusion (law); ammunition, bullet(s).
Virome: Causal subject or occurrence (medical).
Virome: The genomes of all the viruses that inhabit a particular organism or environment.
Viral: Rapidly-spreading, invasive and contagious – as a virus (medical).
Viscerator: Manhack (medical (from eviscerate: to weaken)).
Viscon: Visual confirmation.
Witness Sterilization: Amputation of people having experienced an event first-hand.
Winder: Dropship.
Workforce: All the people working or available to work; the citizen class of Combine society.
Wrap up: To settle the final details of (informal).
Zero: To close in upon; concentrate firepower on an exact target location (military).
ADW: Assault with a Deadly Weapon
APB: All Points Bulletin
BOL: Be on the Lookout
CP: Civil Protection; Checkpoint
CPT: Civil Protection Team(s)
DB: Dead Body
ETA: Estimated Time of Arrival
HVT: Helix Vector Tango (High-Value Target)
RVL: Revitalization
OC: Off-Course
UPI: Unidentified Person of Interest
Void: To disengage from all other tasks and begin a complete purge of an area of operations at all costs.
Flint: To inject rapidly in small, offensive teams.
Flash: To engage with overwhelming numbers, speed, and force.
Expirate: To completely uproot and eliminate the cause of a problem as thoroughly as possible.
Angle: To assume a tactical position.
Quell: To suppress and contain.
Engage: To enter combat with or make contact with.
Escort: To accompany someone or something for protective purposes.
Key: An important location within the general vicinity, usually one most vital to Combine forces in the area.
Migrate: To relocate in a methodical, procedural manner.
Flush: A brief surface-level screening/search of a location for signs of anti-civil activity.
Continue: Proceed with any ongoing assignments.
Breach: To brute-force entrance to a zone or block at one concentrated point.
Neutralize: Synonymous with ‘quell’.
10-0 — Caution
10-2 — Elaborate
10-3 — Stop transmitting
10-4 — Message received; understood
10-5 — Repeat message
10-6 – Busy
10-7 — Off-duty
10-8 — On-duty
10-12 — Standby
10-14 — Passive
10-15 — Prisoner
10-17 – Respond to request
10-19 — Returning to High-Priority Region
10-19R — Returning to HPR-1 for RVL of any kind
10-20 — Location
10-22 — Disregard
10-25 — Visual
10-26 — Prosecuting
10-30 — Socio-incursion
10-32 — Armed personnel
10-41 — Committed to patrol
10-42 — Ending patrol commission
10-43 — Information on current PTs
10-52 — Medical assistance required
10-59 — Escort
10-65 — Standing by
10-76 — Enroute
10-78 — Armed assistance
10-91d — Citizen
10-96 — Mentally imperfect individual
10-96P — Physically imperfect individual
10-97 — Arrived at request/reported area/ location
10-99 — Officer under threat
10-103 — Disturbance
10-103M — Disturbance by mentally unfit
10-104 — Suicide
10-107 — Suspicious person
10-108 — Deserviced/deservicement
11-6 — Vulnerable (intoxicated, unconscious etc.)
11-42 — Wrap up (finish assignment)
11-44 — Cleanup crew (conscripted biotics)
11-99 — Officer needs immediate assistance
Code 1 — Respond at will (Walk)
Code 2 — Urgent response/Prioritize Issue (Walk as soon as current task is complete)
Code 3 — Emergency response (Run immediately to situation)
Code 4 — No further assistance required
Code 7 — Start ration distribution
Code 8 — Stop ration distribution
Code 12 — Standard directives
Code 15 — Status, location, and PT assignment
Code 100 — Situation stable
34S — Shots fired
52E — Explosions heard
187 — Suspect prosecution discretionary (contain or amputate at will)
404 — Riot in-progress
415b — Investigating disturbance
647 — Non-citizen/Minor offender
647E — Anti-citizen/Major offender
ANTI-CIVIL ACTIVITY LEVEL SIX | RE-EDUCATION
15 MOVEMENT TRANSGRESSION | Any form of movement that exceeds general walking. (Running, parkour)
14 VERBAL INDISCRETION | Causing a public disturbance or disruption. This can include being intoxicated, yelling, etc.
19 CIVIL INTRUSION | Intentionally invading the space of another and refusing to leave when asked, being intentionally disruptive through this.
21 NON-SANCTIONED DISPOSAL | Improperly disposing of one’s possessions, be them waste or otherwise, in a location other than a sanctioned disposal bin.
27 ATTEMPTED CRIME | Attempting to commit a non-terminal verdict and failing. *********
37 NON-SANCTIONED GAMBLING | Partaking in the act of unauthorized gambling of tokens or goods.
415 CIVIC DISUNITY | An individual behaves in such a manner that dissuades inter-citizen social harmony by performing gestures of violence such as slapping, pushing, shoving, et cetera. This includes ‘brawling’ or crowd-fighting.
ANTI-CIVIL ACTIVITY LEVEL ONE | DOCUMENTATION
28 FELONY INCITE | Having a rebellious attitude or being willing to question authority.
48 THEFT | Stealing items owned by another person or organization.
95 ILLEGAL CARRYING | Being in possession of a non-sanctioned item or trading Union or non Union items without proper authorization documented on their datafile by official CWU employees, six or more counts lead to amputation. (This doesn’t mean you are OOCly obliged to kill them. PKing is a last resort) ***************
99 RECKLESS OPERATION | Failure to complete an important task correctly. *********
105 OBSTRUCTING PROTECTION | Performing an action that has wasted the time of or impeded the operations of Overwatch forces. This includes intentionally alerting a protection team with an invalid reason or activating any alarm for no reason.
186 FAILURE TO IDENTIFY | Attempting to conceal one’s identity & civil status from facial recognition.
408 CRIMINAL DAMAGE | Actively attempting to or succeeding in destroying or damaging part of the urban infrastructure.
507 PUBLIC NON-COMPLIANCE | Disobeying a direct order from any Overwatch personnel. ***************
603 UNLAWFUL ENTRY | Trespassing into a restricted area under the possession of another citizen or a Union faction (Union Innovation Labs, CWU, etc).
404B PROTEST | Participation in anti-civil behavior or protest by large groups of citizens.
SOCIO-ENDANGERMENT LEVEL FIVE | TERMINAL PROSECUTION
27B ATTEMPTED FELONY | Attempting to commit a terminal verdict and failing.
51 NON-SANCTIONED ARSON | Igniting a fire with the intent of damaging the urban infrastructure or harm others. ************
63 CRIMINAL TRESPASS | Trespassing into an area restricted to Overwatch forces. *********
63S ILLEGAL IN OPERATION | Engaging in anti-civil activity as an accomplice to another. Includes providing aid or assistance to anti-citizens in any manner.
69 POSSESSION OF RESOURCES | Being in possession of Union technology or otherwise hazardous objects. ***************
98 IDENTITY THEFT | Possessing the ID card of another. Or possessing the loyalty armband of the tier above
148 RESISTING ARREST | Any form of active resistance against Overwatch forces *********
182 INACTION | Failure to immediately report 183 observed crimes at socio-endangerment level one.
183 CONSPIRACY | Actively plotting or conspiring to commit crimes of terminal prosecution or greater
288 NON-SANCTIONED PROCREATION | Unauthorized sexual activity, whether forced or not.
415B CIVIC INCURSION | An individual has perpretated an act of aggravated assault with the explicit intent to attack or maim, regardless of intent (or lack thereof), including robberies and kidnappings.
422 CAPITAL MALCOMPLIANCE | Actively operating against Overwatch forces in a way that could result in severe civil unrest.
SOCIO-ENDANGERMENT LEVEL ONE | IMMEDIATE AMPUTATION
51B THREAT TO PROPERTY | Actively engaging in destructive behavior towards technology or resources, including scanners and other Union resources. This does not include throwing harmless objects at scanners, or touching any similar automated equipment. ************
94 WEAPON | Being in possession of any form of weapon that could be used to kill or seriously injure another. ************
243 ASSAULT ON PROTECTION TEAM | Any form of attack on or physical aggression toward Overwatch forces with intent to steal equipment, maim or kill. ************
245 ASSAULT ON HVT | Any form of attack on or physical aggression toward individuals classed as High Value Targets, be it momentarily or permanently.
404 RIOT | Participation in anti-civil behavior by large groups of citizens. ************
505 EVASION BEHAVIOR | Attempting to evade Overwatch forces during the commencement of prior anti-civil behavior.
Note: ‘Overwatch forces’ refers to Civil Protection, the Transhuman Arm, or any sanctioned Union military or para-military organization with direct authority over the citizenry.
ELABORATION
95 ILLEGAL CARRYING | All items that hold no Union approved stamp, this includes, but is not limited to:
Refined junk items, this includes but is not limited to (Raw plastic, raw metal, raw wood, wiring, cables, raw or refined concrete, nails, screws, bolts, adhesive items, electronics, charcoal, broken glass).
Non-sanctioned supplemental and nourishment items.
Non-sanctioned medical items. (UM officials and bandages are exempt, sterilized bandages are not.)
Electronic devices (CWU,UM,UP and WI officials are exempt).
Chemicals.
Tools of any kind (CWU excluded)
Unauthorized sports or gaming equipment (basketballs).
Military grade storage equipment
Drugs/Narcotics
Non-sanctioned literature
69 POSSESSION OF RESOURCES | Being in possession of Benefactor technology or otherwise hazardous objects, this includes but is not limited to.
Ammunition.
Grenades, empty or full.
Radio communication devices.
Empty ammunition boxes.
Explosives.
Drugs.
Protective clothing/equipment.
Concealing clothing/equipment. (Face masks, balaclavas, etc)
Respirators of any kind.
Re-purposed Union equipment.
Lethal chemicals.
Glass or metal fashioned into a shank or weapon of any kind.
Hijacked benefactor technology.
Hijacked Union official technology.
Illegitimate/fake documentation.
Tools of any kind (CWU officials are exempt).
Источник