csol单机版中的插件放哪?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了csol单机版中的插件放哪?相关的知识,希望对你有一定的参考价值。
就是把CSOL单机版下载的武器插件放在哪里?
如何安装和修改插件1>如何修改僵尸插件的名字
打开cstrike\addons\amxmodx\scripting目录
在目录下找到zombie_plague.sma打开
搜索到
formatex(g_modname, sizeof g_modname - 1, "僵尸感染插件 %s",
PLUGIN_VERSION)
其中 "僵尸感染插件 %s"就是插件的名字.2>插件音效
依旧是zombie_plague.sma,打开
搜索到// Sound list (randomly chosen, add as many as you want)
下面的一大段就是音效文件,改成你要替换的音效文件的名字
之后把准备替换的音效文件放入声音目录下即可.3>插件提示字幕
打开cstrike\addons\amxmodx\data\lang目录
找到zombie_plague.txt 打开 修改其中的文字 保存 即可.4>天气效果的修改
ZP4.3以前的版本:
打开zombie_plague.sma,搜索
//#define AMBIENCE_RAIN // Rain
//#define AMBIENCE_SNOW // Snow
//#define AMBIENCE_FOG // Fog
去掉前面的斜杠,就开启了其中一个天气效果
ZP4.3:
打开cstrike\addons\amxmodx\configs目录
找到zombieplague.ini打开
找到
[Weather Effects]
RAIN = 0
SNOW = 0
FOG = 1
FOG DENSITY = 0.0008
FOG COLOR = 210 210 128
1为开启 0为关闭 5>人物模型、管理员模型的修改。
ZP4.3以前版本:依旧是打开zombie_plague.sma,找到// Player Models (randomly chosen, add as many as you want)这行的下面一段文字就是模型,添加多个模型名字则为在这几个模型中随即使用。ZP4.3:打开zombieplague.ini,找到[Player Models] (randomly chosen if more than one)这行的下面一段文字就是模型,添加多个模型名字则为在这几个模型中随即使用。 6>修改武器模型ZP4.3以前版本:打开zombie_plague40.sma,找到// Weapon Models这行下面一段文字就是武器的模型。ZP4.3:打开zombieplague.ini找到[Weapon Models]下面一段文字就是武器的模型。
修改武器菜单于道具购买菜单ZP4.3以前的版本:武器菜单打开zombie_plague40.sma,找到// Buy Menu: Primary and Secondary Weapons下面一段文字就是武器菜单,可以添加或者取消菜单中的武器。道具菜单找到// Extra Items: Weapons and their costs下面一段文字就是道具菜单,可以修改道具价格,添加道具。ZP4.3:武器菜单打开zombieplague.ini,找到[Buy Menu Weapons]下面一段文字就是武器菜单,可以添加或者取消菜单中的武器。道具菜单找到[Extra Items: Weapons and their costs]下面一段文字就是道具菜单,可以修改道具价格,添加道具。
7>背景音乐
打开zombie_plague.sma,
找到
// Uncomment the following line to enable ambience sounds
//#define AMBIENCE_SOUNDS#if defined AMBIENCE_SOUNDS // Ambience Sounds List (only .wav and .mp3 formats supported)
// Infection Rounds
new const sound_ambience1[][] = "zombie_plague/BGM.mp3" // sounds (played randomly)
new const Float:sound_ambience1_duration[] = 300.0 // duration in seconds of each sound
// Nemesis Rounds
new const sound_ambience2[][] = "zombie_plague/BGM.mp3"
new const Float:sound_ambience2_duration[] = 300.0
// Survivor Rounds
new const sound_ambience3[][] = "zombie_plague/BGM.mp3"
new const Float:sound_ambience3_duration[] = 300.0
// Swarm Rounds
new const sound_ambience4[][] = "zombie_plague/BGM.mp3"
new const Float:sound_ambience4_duration[] = 300.0
// Plague Rounds
new const sound_ambience5[][] = "zombie_plague/BGM.mp3"
new const Float:sound_ambience5_duration[] = 300.0
#endif
找到其中的
// Uncomment the following line to enable ambience sounds
//#define AMBIENCE_SOUNDS
去掉之前的斜杠,即可开启背景音乐第1个是普通模式的音乐
第2个是复仇之神模式的音乐
第3个是幸存者模式的音乐,
第4个是军团模式的音乐
8>僵尸属性的修改
打开zp_zclasses.sma.
里面为各种僵尸的属性,大家可以随意修改. 【绝】CS武器、人物插件安装目录
主题安装:
将下载好的主题复制到Cs\cstrike\resource\background中即可。主题声音安装:
将下载好的音频文件复制到Cs\cstrike\sound\music\或者Cs\cstrike\media中即可。人物模型:
将下载好的文件替换至Cs\cstrike\models\player文件下即可。武器模型:
将下载好的文件替换至Cs\cstrike\models文件下即可。人物声音:
将下载好的文件替换至Cs\cstrike\sound同名文件夹下即可。武器声音:
将下载好的文件替换至Cs\cstrike\sound\weapons文件下即可。 参考技术A 将 .amx 文件复制到 addons/amx/plugins 里,然后在 plugins.ini 里添加与其文件名相同的命令(保存)
如果在 plugins 文件夹里找不到 plugins.ini 文件,那就在 configs 文件夹里找,肯定会有!(个别插件可能要使用命令才可以开启动,请查阅有关网站)(个别插件也可能会有冲突,请不要同时开启动,自己测试)
CS人物皮肤使用方法
把下载的*.mdl文件任意命名成 gign,gsg9,sas,urban(警察)
leet,arctic,guerilla,terror(恐怖份子)
其中一个然后覆盖掉CS\cstrike\models\player目录下的同名文件就可以拉
CS人质皮肤使用方法
将hostage.mdl解压到\cstrike\models\ 相应的文件名目录覆盖原文件
把hostage.mdl复制重命名成hostage01.mdl到hostage08.mdl和scientist.mdl覆盖原文件
最好再下载一个声音文件
CS武器皮肤使用方法
将*.mdl解压到\cstrike\models\ 相应的文件名目录覆盖原文件
将*.wav解压到\cstrike\sound\weapons\相应的文件名目录覆盖原文件
CS小鸡皮肤使用方法
将*.mdl解压到\cstrike\models\ 相应的文件名目录覆盖原文件
皮肤的安装目录:
武器
.mdl 放到 x:\sierra\Counter-Strike\cstrike\models
.wav 放到 x:\sierra\Counter-Strike\cstrike\sound\weapon
准星
.spr 放到 x:\sierra\Counter-Strike\cstrike\sprite
人质
.mdl 放到 x:\sierra\Counter-Strike\cstrike\models
地图
.bsp 放到 x:\sierra\Counter-Strike\cstrike\maps
.txt 放到 x:\sierra\Counter-Strike\cstrike\maps
.wad 放到 x:\sierra\Counter-Strike\cstrike
.tga 放到 x:\sierra\Counter-Strike\cstrike\gfx\env
语音
.wav 放到 x:\sierra\Counter-Strike\sound\radio
喷漆
.bmp 放到 x:\sierra\Counter-Strike\logos
.wad 放到 x:\sierra\Counter-Strike\cstrike
半条命主程式 + CS 1.5 版的路径 →
武器
.mdl 放到 x:\sierra\Half-Life\cstrike\models
.wav 放到 x:\sierra\Half-Life\cstrike\sound\weapon
准星
.spr 放到 x:\sierra\Half-Life\cstrike\sprite
人质
.mdl 放到 x:\sierra\Half-Life\cstrike\models
地图
.bsp 放到 x:\sierra\Half-Life\cstrike\maps
.txt 放到 x:\sierra\Half-Life\cstrike\maps
.wad 放到 x:\sierra\Half-Life\cstrike
.tga 放到 x:\sierra\Half-Life\cstrike\gfx\env
语音
.wav 放到 x:\sierra\Half-Life\sound\radio
喷漆
.bmp 放到 x:\sierra\Half-Life\logos
.wad 放到 x:\sierra\Half-Life\cstrike 参考技术B 将下载好的 插件 cstrike文件夹直接 复制到你的 CS目录即可(如果你下载的没有cstrike则可能不是插件) 参考技术C 下小印csol
关于elasticsearch 6.x及其插件head安装(单机与集群)5分钟解决
第一步,下载es6 +head
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.3.2.zip
wget https://github.com/mobz/elasticsearch-head/archive/master.zip
顺便安装一下node.js环境
wget https://npm.taobao.org/mirrors/node/v10.8.0/node-v10.8.0-linux-x64.tar.xz
解压: tar -xvf xxxx.tar.xz
③确认一下nodejs下bin目录是否有node 和npm文件,如果有执行软连接,如果没有重新下载执行上边步骤;
建立软连接,变为全局
ln -s /usr/local/nodejs/bin/npm /usr/local/bin/
ln -s /usr/local/nodejs/bin/node /usr/local/bin/
最后一步检验nodejs是否已变为全局
在Linux命令行node -v 命令会显示nodejs版本
然后进入head插件目录,安装 npm install
输入 npm run start 运行head插件
第二,修改es配置,集成head插件
对于该文件配置详解在:https://www.ibm.com/support/knowledgecenter/zh/SSFPJS_8.5.6/com.ibm.wbpm.main.doc/topics/rfps_esearch_configoptions.html
修改es目录的config/elasticsearch.yml
vim config/elasticsearch.yml
若集群配置:
master:
http.cors.enabled: true
http.cors.allow-origin: "*"
cluster.name:escluster
node.name:master
node.master:true
slave1:
http.cors.enabled: true
http.cors.allow-origin: "*"
cluster.name: escluster
node.name: slave1
http.port: 8200
discovery.zen.ping.unicast.hosts: ["127.0.0.1"]
slave2:
http.cors.enabled: true
http.cors.allow-origin: "*"
cluster.name: escluster
node.name: slave2
http.port: 8000
discovery.zen.ping.unicast.hosts: ["127.0.0.1"]
在复制备用es,建议拷贝zip包,或者事先解压后拷贝。
不然可能会出现
报错with the same id but is a different node instance
是因为复制虚拟机时,elsticsearch时,将elsticsearch文件夹下的data文件夹一并复制了。而在前面测试时,data文件夹下已经产生了data数据,于是报上面的错误。
解决办法:删除elsticsearch文件夹下的data文件夹下的节点数据
单机启动可能会出现一下情况
注:ES有执行脚本的能力,因安全因素,不能在root用户下运行,强行运行会报如下错误:
org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
解决方案:
groupadd es #增加es组
useradd es -g es -p pwd #增加es用户并附加到es组
chown -R es:es elasticsearch-5.1.1 #给目录权限
su es #使用es用户
./bin/elasticsearch -d #后台运行es
外网访问
vi conf/elasticsearch.yml
修改network.host: 0.0.0.0
再次启动linux可能出现如下类似错误
bootstrap checks failed
max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
解决方案
1、vi /etc/sysctl.conf
新增
只要将vm.max_map_count的大于65536即可
vm.max_map_count=65536+
保存之后sysctl -p使设置生效
2、vi /etc/security/limits.conf 新增
* soft nofile 655350
* hard nofile 655350
3、重新使用SSH登录,再次启动elasticsearch即可。
外网访问:serverip:9200/
外网访问问题
权限不够问题
log权限不够问题等
该地址有解释:http://www.bubuko.com/infodetail-2108888.html
https://blog.csdn.net/qq942477618/article/details/53414983
以上是关于csol单机版中的插件放哪?的主要内容,如果未能解决你的问题,请参考以下文章
关于elasticsearch 6.x及其插件head安装(单机与集群)5分钟解决
Elasticsearch单机安装_集群搭建_索引基本操作_Head插件安装与基本操作_ik分词器配置_logstash实现数据同步_教程