哭无泪 发表于 2023-5-6 09:58:26

[皮肤插件] CSO Costumes v4.0 中文版

本帖最后由 哭无泪 于 2023-6-8 10:45 编辑

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


说明:
1、本插件需要 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
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, 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
Create a file to add new costumes easier
Add Multi-Lingual Support
Add Zombie Plague Mod Support
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)
Add nVault saving system (I'll try to understand that way of saving data and implement it in the plugin)
If ZP_SUPPORT is defined in the source code, merge Skin CT and Skin TR in one section
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
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



页: [1]
查看完整版本: [皮肤插件] CSO Costumes v4.0 中文版