Community Script Hook V .NET You may remember the .NET ScriptHook back的中文翻譯

Community Script Hook V .NET You ma


Community Script Hook V .NET

You may remember the .NET ScriptHook back from GTAIV, it allowed using the easy to learn, but extremly powerful .NET languages to write scripts that can be executed ingame.

About
This ASI plugin for the just released Script Hook V attempts to recreate this experience for GTAV. It's full source code is hosted on Github, development is community-driven and open to everybody, so contributions are warmly welcomed.
Right now it's able to load, compile and run .NET scripts and reload them while the game is running (press the "Insert" key). It also comes with a vast scripting API abstracting away the native function calls (you can still do those manually through "GTA.Native.Function.Call" though). Scripts are executed in a separate AppDomain, any exceptions thrown thus shouldn't affect the game or ScriptHook.

Thanks a lot to Alexander Blade for Script Hook V and HazardX for the inspiration with his GTAIV .NET ScriptHook.

Download Latest Binary Release

Installation
Install both the Microsoft .NET Framework 4.5.2 and the Visual C++ Redistributable Package for Visual Studio 2015 (x64) (or loading will fail).
Download and install the latest Script Hook V (including the ASI loader).
Download Script Hook V .NET and copy the ASI file into your game folder.
Create (or download) a C#/VisualBasic code file (.cs, .vb) or compiled .NET assembly (.dll) inside the "scripts" folder in your game directory and start scripting!
Contributing
Important files:
src/Main.cpp: The main script entry point
src/ScriptDomain.cpp: .NET script manager. Loads, compiles and executes the scripts.
src/Script.hpp: Class from which all scripts have to inherit, handles the script main loop.
src/Native.cpp: Managed to native function call conversion.
src/NativeHashes.hpp: Native function hash enumeration.
The remaining files implement the scripting API. Any help on improving that API is much appreciated.

Documentation
Either use notepad to edit source code scripts directly or use Visual Studio to compile them to assemblies. Going down the Visual Studio way has the advantage of syntax highlighting, code completion and Intellisense (since there is no API documentation yet). Just create a C# or VisualBasic class library project, add a reference to Script Hook V .NET (rename the ASI to DLL) in the project properties and you are ready to go.
If something doesn't work, check the log file ScriptHookVDotNet creates. It catches exceptions and gives you all the information to get to the bottom of the problem.

Visit the wiki for more help on how to get started and write scripts.
gamerzworld, Hanneswasco, PingPang and 35 others like this
0/5000
原始語言: -
目標語言: -
結果 (中文) 1: [復制]
復制成功!
社区脚本钩 V.NET。 你可能还记得.NET ScriptHook 回 GTAIV,它允许使用简单易学,但极端强大的.NET 语言来编写脚本可以执行游戏内。 关于只是这 ASI 插件发布脚本钩 V 尝试重新创建此经验为 GTAV。它的全部源代码托管在 Github,发展是社区驱动和开放给大家,这样的贡献,受到热烈欢迎。现在它是能够加载,编译和运行.NET 脚本并重新加载它们运行游戏时 (按"插入"键)。它还配有大量的脚本 API 抽象而本机函数调用 (您仍然可以手动通过"侠盗猎车手。Native.Function.Call"虽然)。在单独的应用程序域中执行的脚本,从而引发的任何异常应该不会影响游戏或 ScriptHook。 非常感谢你到亚历山大刀片式服务器脚本钩 V 和 HazardX 与他 GTAIV.NET ScriptHook 灵感。 下载最新的二进制版本 安装视觉工作室 2015 年 (64) 安装 Microsoft.NET 框架 4.5.2 和 Visual c + + 可再发行组件包 (或加载将失败)。下载并安装最新的脚本钩 V (包括 ASI 装载机)。下载脚本第.NET V 钩和 ASI 文件复制到您的游戏文件夹。创建 (或下载) C# / VisualBasic 代码文件 (.cs、.vb) 或编译的.NET 程序集 (.dll)""的脚本文件夹在您的游戏目录内和启动脚本!ContributingImportant files:src/Main.cpp: The main script entry pointsrc/ScriptDomain.cpp: .NET script manager. Loads, compiles and executes the scripts.src/Script.hpp: Class from which all scripts have to inherit, handles the script main loop.src/Native.cpp: Managed to native function call conversion.src/NativeHashes.hpp: Native function hash enumeration.The remaining files implement the scripting API. Any help on improving that API is much appreciated. DocumentationEither use notepad to edit source code scripts directly or use Visual Studio to compile them to assemblies. Going down the Visual Studio way has the advantage of syntax highlighting, code completion and Intellisense (since there is no API documentation yet). Just create a C# or VisualBasic class library project, add a reference to Script Hook V .NET (rename the ASI to DLL) in the project properties and you are ready to go.If something doesn't work, check the log file ScriptHookVDotNet creates. It catches exceptions and gives you all the information to get to the bottom of the problem. Visit the wiki for more help on how to get started and write scripts.gamerzworld, Hanneswasco, PingPang and 35 others like this
正在翻譯中..
結果 (中文) 3:[復制]
復制成功!

社区脚本钩V。净

你可能记得。净scripthook回来GTAIV,它允许使用简单易学,但非常强大。NET语言编写脚本可以执行游戏。


这对ASI插件刚刚发布的脚本钩V试图重现这种体验GTAV。它的全部源代码托管在GitHub,发展是以社区为导向,对每个人开放的,所以对大家的贡献是热烈欢迎的。现在它能够装载、编译和运行。在游戏运行时,网络脚本和重新加载(按“插入”键)。它还配备了一个巨大的脚本API中抽象出来的本地函数调用(你仍然可以做那些手动通过“GTA。本土。功能。所谓的“虽然)。脚本是在一个单独的AppDomain中执行,因此不应该抛出的任何异常影响游戏或scripthook。

谢谢亚力山大叶片脚本钩V和hazardx与他的GTAIV灵感。净scripthook。

下载最新的二进制安装


同时安装微软。NET框架4.5。2、Visual C Redistributable Package的Visual Studio 2015(x64)(或加载将失败)。
下载并安装最新的脚本钩V(包括ASI加载器)。
下载脚本钩V。净和复制ASI文件到你的游戏文件夹。
创建(或下载)C#/ VisualBasic代码文件(。CS,。VB)或网络组件(编译。DLL)里面的“脚本”文件夹在您的游戏目录和启动脚本!
贡献
重要文件:
SRC / main.cpp:主脚本的切入点
SRC / scriptdomain.cpp:纯脚本管理器。负载,编译和执行脚本。
SRC / script.hpp:从该类继承的所有脚本,脚本处理的主回路。
SRC / native.cpp:管理本地函数调用转换。
SRC / nativehashes.hpp:本土的散列函数,枚举。
剩下的文件执行脚本API。任何有助于改善原料药的使用是非常赞赏的,即使用记事本直接编辑源代码脚本或使用可视化工作室将其编译成程序集。视觉工作室的方式有语法高亮的优势,代码完成和IntelliSense(由于没有API文档还)。只是创建一个C或Visual Basic#类库项目,脚本钩V添加引用。网(重命名ASI的DLL)在项目属性和你准备去。
如果不工作,检查日志文件scripthookvdotnet创建。它捕获异常并给你所有的信息,找到问题的关键。

访问维基的更多帮助,如何开始写剧本。
gamerzworld,hanneswasco,乒乓球、35人这样
正在翻譯中..
 
其它語言
本翻譯工具支援: 世界語, 中文, 丹麥文, 亞塞拜然文, 亞美尼亞文, 伊博文, 俄文, 保加利亞文, 信德文, 偵測語言, 優魯巴文, 克林貢語, 克羅埃西亞文, 冰島文, 加泰羅尼亞文, 加里西亞文, 匈牙利文, 南非柯薩文, 南非祖魯文, 卡納達文, 印尼巽他文, 印尼文, 印度古哈拉地文, 印度文, 吉爾吉斯文, 哈薩克文, 喬治亞文, 土庫曼文, 土耳其文, 塔吉克文, 塞爾維亞文, 夏威夷文, 奇切瓦文, 威爾斯文, 孟加拉文, 宿霧文, 寮文, 尼泊爾文, 巴斯克文, 布爾文, 希伯來文, 希臘文, 帕施圖文, 庫德文, 弗利然文, 德文, 意第緒文, 愛沙尼亞文, 愛爾蘭文, 拉丁文, 拉脫維亞文, 挪威文, 捷克文, 斯洛伐克文, 斯洛維尼亞文, 斯瓦希里文, 旁遮普文, 日文, 歐利亞文 (奧里雅文), 毛利文, 法文, 波士尼亞文, 波斯文, 波蘭文, 泰文, 泰盧固文, 泰米爾文, 海地克里奧文, 烏克蘭文, 烏爾都文, 烏茲別克文, 爪哇文, 瑞典文, 瑟索托文, 白俄羅斯文, 盧安達文, 盧森堡文, 科西嘉文, 立陶宛文, 索馬里文, 紹納文, 維吾爾文, 緬甸文, 繁體中文, 羅馬尼亞文, 義大利文, 芬蘭文, 苗文, 英文, 荷蘭文, 菲律賓文, 葡萄牙文, 蒙古文, 薩摩亞文, 蘇格蘭的蓋爾文, 西班牙文, 豪沙文, 越南文, 錫蘭文, 阿姆哈拉文, 阿拉伯文, 阿爾巴尼亞文, 韃靼文, 韓文, 馬來文, 馬其頓文, 馬拉加斯文, 馬拉地文, 馬拉雅拉姆文, 馬耳他文, 高棉文, 等語言的翻譯.

Copyright ©2024 I Love Translation. All reserved.

E-mail: