游戏达人
  
- 贡献度
- 457
- 金元
- 14893
- 积分
- 3317
- 精华
- 0
- 注册时间
- 2008-10-19
|
越玩越发现asi和lua这两种脚本mod的强大!!再次召集懂编程的网友用c++做中国人自己的mod。。欢迎各位网友提供这方面的资料。教程。链接等。。。。。。
谢绝灌水!!!!!!!
本工具功效如同Alice脚本,编写用于修改GTA4的脚本。
== 如何使用 ==
1. 确保你的GTA4为1.0.1版,并且已经打上ASI Loader补丁
2. 用Microsoft Visual C++编辑范例脚本,编写你想要的效果的代码(如果你精通C++)
// 提示:SampleCustomFiber文件夹(SampleCustomFiber.vcproj) 提供了范例脚本。
// 提示:SampleCustom文件夹(SampleCustom.vcproj) 为GTA4提供了编写脚本的接口。(例如为GTA4编写VB.net控制接口、C++控制接口、lua语言接口等等,象那个GTAIV .Net Script Hook的作者,就是基于本工具编写的)
// 提示:如果你在编辑范例脚本时需要一些属性,而在SampleCustomFiber文件夹下的Scripting.h里没有,打开ScriptHook文件夹下的ScriptingDirty.h,从里面拷贝相应的代码到SampleCustomFiber文件夹下的Scripting.h里。
// 提示:如果你编程语言不太行的话,强烈建议你不要修改SampleCustom.vcproj,你就改改SampleCustomFiber.vcproj就行了。
(如果你不懂编程,就把 SampleCustomFiber文件夹里的范例脚本编译一下,放GTA4目录,用范例脚本默认的功能吧。)
3. 在Release模式下编译项目文件(F7),编译完(注意看看,有没有编译失败的文件,有的话,要重新编辑脚本直到无误),在本工具的根目录会多出一个“Release”文件夹,将其中的dll后缀改为asi后缀,并全放在GTA4根目录下。
--------------------------------------------------------
SampleCustomFiber文件夹下自带的范例脚本具有如下功能:
F5 - 随机刷辆车
F6 - 获得1000美圆
F7 - 刷一个Banshee
F8 - 皮肤换成Johnny (再按F8,为Johnny换衣服)
F9 - 随机换Niko的衣服
== 作者版权声明 ==
(zlib license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
|
|