搜索
查看: 2474|回复: 0

[AMXX 带源码] [皮肤插件] CSO Costumes v4.0 中文版

[复制链接]
发表于 2023-5-6 09:58:26 | 显示全部楼层 |阅读模式 来自 中国–山西–太原
本帖最后由 哭无泪 于 2023-6-8 10:45 编辑

插件名称:CSO Costumes
版本号:v4.0
作者:Smilex_Gamer
中文语言:EmeraldGhost
重新整理汉化:点通·哭无泪


说明:
1、本插件需要[CS] Player Models API 1.2插件的支持,已包含在插件包内。
2、在原有的中文语言基础上进行了适当修改;
3、对程序设置文件进行了完整的汉化;
4、对程序的各种服饰名称进行了完整的汉化;
5、对插件源码内的部分内容进行了汉化;
6、将服饰所需的预览图片进行了规整打包,使用时自行修改,在cstrike\addons\amxmodx\configs\costumes.ini文件内进行修改
7、将服饰所需的各种皮肤文件进行了整体打包,不再需要单独下载;


插件命令:
say /costumes                - 打开主菜单
say /inventory                - 打开仓库
say /shop                - 打开商店
say /deactivate                - 脱去所有服饰
say /cash                - 查看已有金币
costumes_give_cash        - 向玩家提供一定数量的现金(控制台命令;只有具有ADMIN_RCON标志的用户才能使用它)


明之理,点既通

BY:点通论坛·哭无泪
Copyright 2023.5.4


Requirements:
Amx Mod X 1.8.2 or newer
[CS] Player Models API. Download it here: (If you're using Zombie Plague Mod 5.0 or newer, then you won't need to install this API because it comes by default with the mod)

Installation:
Download all the attached files, [CS] Player Models API (thread url in "Requirements") and the resources (at the end of this post)
Compile "cs_player_models_api.sma" locally or click "Get Plugin" in its post to get the .amxx file
Compile "costumes.sma" locally or click "Get Plugin" in this post to get the .amxx file
Put "cs_player_models_api.amxx" in the plugins folder (addons/amxmodx/plugins/)
Put "costumes.amxx" in the plugins folder (addons/amxmodx/plugins/)
Write "cs_player_models_api.amxx" in the bottom of your "plugins.ini" in the configs folder (addons/amxmodx/configs/)
Write "costumes.amxx" in the bottom of your "plugins.ini" in the configs folder (addons/amxmodx/configs/)
Put "costumes.ini" in your configs folder (addons/amxmodx/configs/)
Put "costumes.txt" in your lang folder (addons/amxmodx/data/lang/)
Put the folder "player" and "costumes" from "resources.zip" in your models folder (cstrike/models/)
If you want to add more costumes or to activate nVault/MySQL/Zombie Plague Mod/Zombie Plague Mod 4.3 (or older) Support, just read the first text (Features)

TODO List:
Add MySQL saving system [DONE]
Create a file to add new costumes easier [DONE]
Add Multi-Lingual Support [DONE]
Add Zombie Plague Mod Support [DONE]
Add a configuration file to make it easier to change cvars, activate/deactivate MySQL saving system, nVault saving system, ZP 4.3 Support, etc. (all configs will be in costumes.ini) [DONE]
Add nVault saving system (I'll try to understand that way of saving data and implement it in the plugin) [DONE]
If ZP_SUPPORT is defined in the source code, merge Skin CT and Skin TR in one section [DONE]
Add an option in the inventory to deactivate one type of costume one by one, adding an option "None" in the beginning of each section [DONE]
Add a way to transfer data from MySQL to nVault and vice-versa, so it's possible to switch saving system without losing any data



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表