# Cold War Zombies
[![Documentation Status](https://readthedocs.org/projects/call-of-duty-cold-war-zombies/badge/?version=latest)](https://call-of-duty-cold-war-zombies.readthedocs.io/en/latest/?badge=latest)
[![PyPI](https://img.shields.io/pypi/v/cold-war-zombies?color=brightgreen&logoColor=lightgrey)](https://pypi.org/project/cold-war-zombies/)
[![Downloads](https://static.pepy.tech/personalized-badge/cold-war-zombies?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/cold-war-zombies)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/pjrigali/Call-Of-Duty-Cold-War-Zombies?color=blue&label=commits&logoColor=blue)](https://github.com/pjrigali)
[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/pjrigali/call-of-duty-cold-war-zombies/main)
This is a package for analyzing and comparing weapons in Cold War Zombies.
Weapon stats are current through Season 6 (_October 13th_).
A demo of the package can be found here: [Demo](https://share.streamlit.io/pjrigali/call-of-duty-cold-war-zombies/main)
## Installation
[Pypi Documentation](https://pypi.org/project/cold-war-zombies/)
The package can be accessed via pip install.
pip install cold-war-zombies
## Usage
[Read the Docs](https://call-of-duty-cold-war-zombies.readthedocs.io/en/latest/)
[Click for example](https://medium.com/@peterjrigali/best-weapon-in-zombies-9fddd33735c5)
```python
import zombie
from zombie.health_armour import Health
from zombie.processor import DamageProfile
from zombie.analysis import Analyze
# Input your weapon class and perk tiers.
weapon_class_levels = {'Launcher': '5', 'Special': '5', 'Smg': '5', 'Shotgun': '5', 'Pistol': '5',
'Marksman': '5', 'Sniper': '5', 'Lmg': '5', 'Assault': '5', 'Melee': '5'}
perk_class_levels = {'speed': '5', 'stamin up': '5', 'deadshot': '5', 'death_perception': '5'}
# Build Core Classes
damage_profile = DamageProfile(weapon_class_levels=weapon_class_levels, perk_class_levels=perk_class_levels,
max_range=100)
# Set Zombie Health
zom = Health(level=60, health_cap=55, outbreak=False, multiplier=2)
# Set Attachments for weapons
MP5 = {
'Muzzle': 'Agency Suppressor',
'Barrel': 'Task Force',
'Body': 'Ember Sighting Point',
'Underbarrel': 'Bruiser Grip',
'Magazine': 'Salvo Fast Mag',
'Handle': 'Serpent Wrap',
'Stock': 'Raider Stock'}
PPSH = {
'Muzzle': 'GRU Suppressor',
'Barrel': 'Task Force',
'Body': 'Ember Sighting Point',
'Underbarrel': 'Bruiser Grip',
'Magazine': 'VDV Fast Mag',
'Handle': 'Serpent Wrap',
'Stock': 'KGB Skeletal Stock'}
# Returns a Dict with the specific weapon stats, adjusted for attachments.
# Accuracy and Critical values (float) can be found in game at
# Barracks\\Combat Record\\Zombies\\Weapon Name.
gun_lst = [
{'weapon': 'MP5', 'nickname': 'Temp MP5', 'equipped_attachments': MP5, 'rarity': 'common',
'pap': '0', 'accuracy': None, 'critical': None},
{'weapon': 'PPSH', 'nickname': 'Temp PPSH', 'equipped_attachments': PPSH, 'rarity': 'common',
'pap': '0', 'accuracy': None, 'critical': None}]
# Calculate
analysis = Analyze(damage_profile=damage_profile, zombie_info=zom, weapon_dic_lst=gun_lst)
```
## Visualizations
The *Analyze* class will return the following plots:
* Damage Per Second
* Damage Per Max Ammo
* Damage Per Clip
* Time To Kill
* Shots To Kill
![Damage Per Second](https://miro.medium.com/max/1280/1*IyfMpo7OxpXGAm4MZd9t7Q.png)
![Damage Per Max Ammo](https://miro.medium.com/max/1280/1*eFT7lys6gkZMPO0LsOCQrA.png)
![Damage Per Clip](https://miro.medium.com/max/1280/1*Qtxn3jtbH0kRXICa7W2MfQ.png)
![Time To Kill](https://miro.medium.com/max/1280/1*VFABznePjcEVT_WdIPF5Og.png)
![Shots To Kill](https://miro.medium.com/max/1280/1*vrw4BIZnm_mPw-V-OeXJwg.png)
## Changelog
* 1.0.0 - Base package.
* 1.0.1 - Add Classes and Viz
* 1.0.2 - Adds Grav, Ironhide, and updates inline with season 6.
* 1.0.3 - Adds Vargo.
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
最新资源
- 基于Spring、MyBatis、MySQL的云南旅游资源分享网站后端接口设计源码
- Matlab根据Flac6.0模型文件生成对应个数的弹性模量与泊松比的随机数据 本案例假设2参数均服从威布尔分布,根据给定均值标准差生成随机数(若符合其他分布,可自行修改),然后Flac6.0读取生成
- 永磁同步电机的全速度范围无传感器矢量控制:脉振高频注入(方波注入)切到改进SMO 低速段采用HFI脉振高频注入启动,中高速段采用基于转子磁链模型的SMO,切方法为加权系数 改进的SMO不使用低通滤
- 基于plc的金属压铸机系统设计报告 报告+仿真
- GASA-BP基于遗传模拟 火优化BP神经网络的回归预测 案例包括GA与SA优化BP代码,并给出对比计算结果 matlab代码,备注详细,方便初学者学习
- COMSOL 二维激光烧蚀
- PNN概率神经网络分类预测 先根据训练数据选择合适的平滑因子,再对测试集进行预测 matlab代码,备注详细,根据自己需要修改案例数据即可
- svm支持向量机分类预测 案例提供数据先进行随机打乱再划分训练测试集,结果更有说服力(若不需要可自行删除修改),数据包含归一化处理,网格搜索寻优确定最优参数 matlab代码,备注详细,根据自己需要修
- 自动驾驶控制器,车道偏离预警系统,基于Prescan设计场景和交通流,在Simulink中建立了相应的控制模型 进行LDW功能验证 整个模型自己建立,再次强调不是Prescan自带的那种很乱很模糊
- 无人驾驶基于自适应mpc的轨迹跟踪控制仿真跟踪轨迹,simulink版本2018及以上,carsim版本2019,图二为跟踪效果
- LLC闭环仿真PSIM调频ZVS 半桥LLC闭环仿真模型,基于PSIM建模仿真 可以进行LLC暂态、稳态仿真,仿真zvs特性、调频闭环控制等 仿真模型使用PSIM9.1搭建
- Matlab计算任意三点的夹角 给出特定一组坐标(可以直角坐标系或极坐标系) 计算出所有夹角值 matlab代码,备注清楚,更改为自己的数据即可
- FCM聚类,代码对数据先进行归一化然后聚类 可自定义聚类个数,求得每类的具体数据 matlab代码,备注清楚,更改为自己的数据和要求即可
- MATLAB代码:基于双层优化的电动汽车优化调度研究 关键词:双层优化 选址定容 输配协同 时空优化 参考文档:《考虑大规模电动汽车接入电网的双层优化调度策略-胡文平》中文版 A bi-l
- Buck仿真闭环Psim双闭环 Buck闭环仿真模型,基于PSIM建模仿真 可以进行暂态、稳态仿真,电压电流双闭环控制,模拟控制电路 仿真模型使用PSIM9.1搭建
- windows-programming-DCAP509.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈