2020-04-10 15:17:14 -07:00
|
|
|
# Advanced Weapons
|
|
|
|
|
|
|
|
Adds a variety of advanced weapons.
|
|
|
|
|
|
|
|
## About
|
|
|
|
|
|
|
|
Depends on `modlib` and `tnt`.
|
2020-04-19 09:09:53 -07:00
|
|
|
Written by LMD aka appguru(eu). Licensed under the MIT license.
|
2020-04-10 15:17:14 -07:00
|
|
|
|
2020-04-10 15:30:45 -07:00
|
|
|
## Screenshot
|
|
|
|
|
|
|
|
![Screenshot](screenshot.png)
|
|
|
|
|
2020-04-11 03:09:04 -07:00
|
|
|
## API
|
|
|
|
|
|
|
|
```lua
|
|
|
|
-- override this, should return true if names are opponents
|
|
|
|
function adv_weapons.is_opponent(playername1, playername2)
|
|
|
|
return playername1 ~= playername2
|
|
|
|
end
|
|
|
|
```
|
|
|
|
|
2020-04-10 15:17:14 -07:00
|
|
|
## Features
|
|
|
|
|
|
|
|
* Explosives
|
|
|
|
* Landmines
|
|
|
|
* Place them on full height blocks
|
|
|
|
* Walking on them triggers explosion
|
|
|
|
* Can be (un)buried by digging node below them
|
|
|
|
* Buried landmines are harder to spot & can't be easily picked up
|
|
|
|
* Special
|
|
|
|
* Futuristic Grappling Hook
|
|
|
|
* Throw to hook it somewhere
|
|
|
|
* Creates Force Beam
|
|
|
|
* Right-click ascent aid to (de)attach
|
|
|
|
* Go forwards/backwards on the beam
|
|
|
|
* Turrets
|
|
|
|
* Gatlin Gun
|
2020-04-11 03:09:04 -07:00
|
|
|
* Right-click turret base with gatlin barrel to arm
|
2020-04-10 15:17:14 -07:00
|
|
|
* High reload rate, low damage & range
|
|
|
|
* Turns slowly, so you can try dodging
|
|
|
|
* Only attacks owners opponents
|
|
|
|
* Destroying/digging the base destroys the turret
|
2020-04-10 15:22:49 -07:00
|
|
|
* ~~Whips~~ temporarily cancelled as unfinished
|
|
|
|
* High range, average damage
|
|
|
|
* Causes bleeding & stunning (by chance)
|
|
|
|
* Right-click to "capture" player
|
|
|
|
* Drops their wielded item
|
|
|
|
* Player can't attack while captured
|
|
|
|
* Can be dragged around
|
|
|
|
* Unleashed as soon as RMB is released
|
2020-04-10 15:17:14 -07:00
|
|
|
* Many more!
|
2020-04-19 09:09:53 -07:00
|
|
|
* Soon
|