Medieval Weapons
A weapon back that features medieval weapons such as bow and arrows, swords, shields, and more. This is being primarily used for Zombie Zone, but it can be used in other games and automatically detects in Playground!
Ten medieval weapons for dot-weapon: longsword, dagger, battle axe, war axe, double axe, mace, spear, round shield (bash and block), bow (a drawn shot with a dropping arrow) and crossbow (slow reload, flatter bolt). Made for Zombie Zone, usable in any game or server (games: "*" in provides.json).
Using it
- The addon is
addons/zz_medieval_weapons/. The Workshop form isweapons/*.tresplusprovides.json, generated bytools/export-defs.sh. ZzMedievalPack.weapons()returns theDotWeaponDefs. Add them to aDotWeaponCatalogue.- Melee is dot-weapon's sweep of rays. The bow fires through
DotWeaponProjectile. Stamina and knockback come out as events ({"type": "stamina", "cost"}and{"type": "knockback", "impulse", "direction"}) that the game applies. - A raised shield is a stance. The damage path calls
ZzMedievalBlock.reduced(def, damage, facing, hit_from, blocking)and chargesZzMedievalBlock.stamina_cost. - A spawn menu calls
ZzMedievalSpawnProvider.spawn_entries().
The pack also draws the weapons: a first-person view with arms, a world model, swings, a shield guard and bash, a bow draw and loose, and a crossbow cocking. See docs/view-model.md. Metal needs something to reflect: see docs/lighting.md.
Settings
Every number is in a weapon profile, cfg/addons/zz_medieval_weapons/weapon/<id>.yml. Common keys (name, slot, deploy_ticks, holster_ticks, reserve, magazine, reload_ticks, use_interval_ticks, min_charge) are at the top; this pack's keys are under extra:.
| Keys | Weapons | Meaning |
|---|---|---|
damage, reach, arc_degrees, rays, swing_ticks, stamina_cost |
melee | Hit and swing |
speed, min_speed, gravity_scale, draw_ticks |
bow, crossbow | Projectile speed and arrow drop |
knockback, block_reduction, block_arc_degrees, block_stamina_per_damage |
shield | Bash and block |
Durations are ticks at 64 Hz. A game overrides keys in cfg/game/<game>/weapon/<id>.yml (set ZzMedievalConfig.game), a server operator in cfg/server/weapon/<id>.yml. Deleting a shipped file changes nothing: built-in defaults apply. A weapon with a folder may hold upgrades/<id>.yml (set, mul, add, a cost and requires), applied with ZzMedievalConfig.upgraded(id, [ids]).
Testing
./game.sh test parses every script and runs the pack's suite. tools/screenshot.sh [weapon ...] renders each model to screenshots/.
Credits
Every model was decimated, re-textured and given a worn look. Author, URL and change notes are in CREDITS.md. The code is MIT, see LICENSE.
| Weapon | Model | Author | Licence | Source |
|---|---|---|---|---|
double_axe |
Decorative Double-Bladed Battle Axe | Arms Museum | CC0 1.0 | link |
war_axe |
Decorative Battle Axe | Arms Museum | CC0 1.0 | link |
longsword |
Medieval Longsword Type XVIa | leeeck | CC BY 4.0 | link |
bow |
Medieval Bow and Arrow | ana.stakflett | CC BY 4.0 | link |
round_shield |
Worn Round Shield | iedalton | CC BY 4.0 | link |
battle_axe |
Medieval Battle Axe | CaptainHC | CC BY 4.0 | link |
mace |
Medieval Mace | Kama Modeling | CC BY 4.0 | link |
spear |
Medieval Spear | iedalton | CC BY 4.0 | link |
crossbow |
Medieval Crossbow | iedalton | CC BY 4.0 | link |
dagger |
Medieval Dagger | Whatevvs | CC BY 4.0 | link |
Engagement im Zeitverlauf
Medieval Weapons ist ein Asset für Zombie Zone. Es hat 0 Downloads, 34 Aufrufe und 0 Favoriten. Dieser Eintrag gehört zu 5 Tags.
Rezensionen
Melden Sie sich an, um eine Rezension zu schreiben.
Kommentare (0)
Melden Sie sich an, um zu kommentieren.
