-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
106 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Sandbox; | ||
|
||
/** | ||
* Unfinished, some asset features missing that would make the base clutered. | ||
* Waiting until they improve the asset system. | ||
*/ | ||
|
||
namespace SWB_Base; | ||
|
||
[GameResource("SWB Weapon", "swb", "A weapon on the Simple Weapon Base.", Icon = "military_tech")] | ||
public class WeaponBaseAsset : GameResource | ||
{ | ||
[Property] public float DrawTime { get; set; } = 0.5f; | ||
[Property] public float ReloadTime { get; set; } = 1f; | ||
[Property] public float ReloadEmptyTime { get; set; } = -1f; | ||
[Property] public float BoltBackTime { get; set; } = -1f; | ||
[Property] public float BoltBackEjectDelay { get; set; } = 0f; | ||
[Property] public string ReloadAnim { get; set; } = "reload"; | ||
[Property] public string ReloadEmptyAnim { get; set; } = "reload_empty"; | ||
[Property] public string DrawAnim { get; set; } = "deploy"; | ||
[Property] public string DrawEmptyAnim { get; set; } = ""; | ||
[Property] public string BoltBackAnim { get; set; } = "boltback"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters