AoE2ScenarioRms-0.2.5
توضیحات
A library built on top of the AoE2ScenarioParser.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | AoE2ScenarioRms-0.2.5 |
| نام | AoE2ScenarioRms |
| نسخه کتابخانه | 0.2.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Kerwin Sneijders <ksneijders-dev@hotmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/AoE2ScenarioRms/ |
| مجوز | - |
# AoE2ScenarioRms
A library built on top of the [AoE2ScenarioParser].
Allows you to add `triggers` and `XS` to your AoE2:DE scenarios which will add logic to allow for random resource
placements each play-through.
> Keep in mind this project is still heavily a **WORK-IN-PROGRESS**
[AoE2ScenarioParser]: https://github.com/KSneijders/AoE2ScenarioParser
## Example
Please check out the example [here](https://github.com/KSneijders/AoE2ScenarioRms/tree/main/examples).
(no real docs atm)
This project is still a work-in-progress.
So everything can still change without notice (most likely will).
If you'd like to try anyway, for now just clone this repository to the root of your source folder and import from there.
Make sure `AoE2ScenarioParser` is installed: [link](https://github.com/KSneijders/AoE2ScenarioParser).
## Rough todo:
1. ~~Change tile selection to `random.choice(all_possible_tiles)` instead of looking for completely random tiles
Potentially conditionally? Or with parameter? As big surfaces are faster with completely random tiles~~
2. ~~Move XS logic to own class(es)~~
3. ~~Move Debug logic to own class~~
4. ~~Change `asr.write()` as triggers are always added directly, so why isn't the script?~~
5. ~~Add docs, docstrings and tests~~
6. ~~Allow XS to log the amount that spawned succesfully, so you can limit the amount of spawns for performance~~
7. More (?)
## Potential Ideas:
1. Player areas :monkaS:
2. Scale with map size (hardcoded on parser level as map_size cannot be changed dynamically)
3. ~~Support larger objects (currently only 1x1 is supported)~~
4. Automatically figure out what to remove based on CreateObjectConfig configs
5. Add ability to mock the XS spawning process to estimate the amount of necessary successful spawn attempts
6. Ability to bind ID to list of create objects and be able to differentiate distance to each group
7. (Somehow) remove spawn order bias. Currently, the earlier the spawns the more chance they have to succeed because
the map isn't filled up yet.
8. More (?)
---
**Suggestions are always welcome!**
# Authors
- Kerwin Sneijders (Main Author)
# License
MIT License: Please see the [LICENSE file].
[license file]: https://github.com/KSneijders/AoE2ScenarioRms/blob/main/LICENSE
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl AoE2ScenarioRms-0.2.5:
pip install AoE2ScenarioRms-0.2.5.whl
نصب پکیج tar.gz AoE2ScenarioRms-0.2.5:
pip install AoE2ScenarioRms-0.2.5.tar.gz