branchsbox-forsaken/maincancel

362 Commits over 304 Days - 0.05cph!

1 Year Ago
Immediately set the viewer's container when Storage.Open is called server-side
1 Year Ago
Added InventoryViewer component. Add this component to Client when they join. Add InventoryContainer.GetRecipients to concatenate the connections list with any explicit viewers. Update viewer based on currently open storage input from client.
1 Year Ago
Don't do anything in ItemResource.PostLoad or PostReload if we're in the menu Added Equipment to the Storage UI so players can drag items in and out of their equipment from/to the storage container
1 Year Ago
Fixed usage of TypeLibrary.Create being wrong
1 Year Ago
Removed ResourceItem.FromResource because now it can just be done by unique id with item definitions
1 Year Ago
Crate ->StorageCrate Remove redundant BaseballCapItem definition Added InventorySystem.ReloadDefinitions, Initialize, AddDefinition and GetDefinition Remove ClassName in favor of UniqueId Move resource items to inventory folder and add ItemClassAttribute. Have ResourceItem implement IResourceItem Initialize InventorySystem in game class Send unique id instead of class name Added RecipeResource (game resource) Set ItemClass attributes on each of the current 3 item game resources (ammo, armor, weapon) Properly load game resources when creating items from a unique id. Whether item is a game resource or a class Update all existing items and add first recipe: bolt
1 Year Ago
Added InventoryItem.IsCraftable / RequiredItems Added support to ItemResource for a dictionary of required items (id=> quantity) Have the bolt require 10 wood and 5 stone to craft this will be the first craftable item to test
1 Year Ago
Added icons for open + pickup and show a plus icon when there are available secondary actions
1 Year Ago
Added InventoryContainer.IsEmpty and only allowing pickup on storage crates if they're empty
1 Year Ago
StructureSelector -> ToolboxMenu Grey out any unavailable context actions from the menu
1 Year Ago
Order structures in radial menu by title Some refactoring to have GetSecondaryActions return IEnumerable<ContextAction>
1 Year Ago
Add Dialog separate to IDialog Update to use Dialog + add Storage.Network for simple opening API Some tidy up and add client input for currently open storage. Use this add/remove connections during simulate
1 Year Ago
Some cleanup. Implement test pickup/open actions. For now check if dialog is open before simulating context actions.
1 Year Ago
Added support for secondary actions (hold down to open)
1 Year Ago
Moved title to Cursor instead of action panel
1 Year Ago
Reorganize
1 Year Ago
If no world model specified for an item, default to a burger box
1 Year Ago
Only display context action UI when in range and increase range for Storage Crate and Item Entity
1 Year Ago
Remove SelectContextActionsCmd and add ContextActionId client input. Set it when selecting a context action in build input Add IContextActionProvider.MaxInteractRange and GetAllActions Properly set selected context action in cursor
1 Year Ago
Add SelectContextActionCmd Abstract ContextAction and add OpenAction and PickupAction Update to use new actions Add context name to CursorPrimaryAction
1 Year Ago
Added CursorPrimaryAction and update it accordingly as player hovers over entity wity context actions. Add styling
1 Year Ago
Started working on IContextActionProvider and setting up UI for it
1 Year Ago
Removed RenderHud style in-game cursor and fixed controller not being reset when a player dies Move in-game cursor to panels so can make use of SCSS properly
1 Year Ago
Have IDialog and RadialMenu prevent input where appropriate Only move the in-game cursor if the native mouse cursor is not visible Start fleshing out contextual actions
1 Year Ago
Completely stripped out CursorController. Don't use native mouse for aiming etc but add an in-game cursor
1 Year Ago
Refactored a bunch
1 Year Ago
Added recoil curves to weapons for controllable recoil
1 Year Ago
Move sound -> sounds and added other weapon sounds Added MP5, M1911 and R870 models from Hidden for testing Added WeaponResource and updated WeaponItem to use it Fixed typo AmmoResouce -> AmmoResource Strip WeaponConfig in favor of using WeaponResource and add MP5A4 and Crossbow support Add MP5A4 and Crossbow game resources Give crossbow + MP5A4 using new method Test controllable recoil
1 Year Ago
Various inventory UI fixes (some still remain around pointer events oddities)
1 Year Ago
Simulate construction in FrameSimulate too so the ghost structures are positioned smoothly. Don't constantly re-create the ghost structure unless the type has changed (was broken)
1 Year Ago
Added ArmorResource, ItemResource and ResourceItem for implementing item types as game resources (optionally) Have ArmorItem extend ResourceItem<ArmorResource, ArmorItem> Add baseball_cap.armor game resource and give it to players on joining for testing Add checks to ensure Resource is not null, throw an exception if unable to find a game resource with an id when deserializing items Added AmmoResource and updated AmmoItem to use it, clean up ItemResource Give ammo by finding an appropriate AmmoResource Add 5.56 Ammo, 9mm Ammo and Bolt game resources
1 Year Ago
Added name to the Storage Crate item
1 Year Ago
Added IContextActions interface. Added entity hovering for players. An entity that is hovered that implements IContextActions can glow. Add actual contextual actions later.
1 Year Ago
Add "world" tag to the world entity in PostLevelLoaded. Add DeployableItem.ValidTags.
1 Year Ago
Added Deployable system. Added Toolbox and Crate items. Added StorageCrate entity. Refactored Structure system to require a held Toolbox. Change open structure wheel to Secondary Attack.
1 Year Ago
Make TimeSystem an Entity and have stuff be networked properly. Avoid using constructor for Forsaken class.
1 Year Ago
Added sensible default values for the TimeController entity
1 Year Ago
Rename Tooltip to CustomTooltip (for now, look into using new tooltip stuff later) Remove old Tooltip class Add TimeController, TimeSection and TimeSystem Add Time Controller editor icon + added fsk_time_test map for testing
1 Year Ago
Fix invalid SCSS property
1 Year Ago
Remove auto reload / auto reload delay and give a test armor item to players on spawn
1 Year Ago
Some temporary styling and override GetHashCode on InventoryContainer to hash its items
1 Year Ago
Update all inventory related stuff to Razor
1 Year Ago
Fix crossbow muzzle position
1 Year Ago
Added base weapon system, base inventory + item system, basic hotbar + storage + backpack, test items and 1 weapon
1 Year Ago
Move the doorway model import translation right by an inch
1 Year Ago
Move structure related stuff to entities/structures and add normal parameter to IsValidPlacement
1 Year Ago
Refactor structure ghost stuff (Structure.GetOrCreateGhost) and add material override for ghosts
1 Year Ago
Added Structure.OnConnected and prevent placement of Foundations outside of socket connections within 512 units
1 Year Ago
Some more refactoring and ensure that walls and doorways cannot be placed if there's other walls or doorways there
1 Year Ago
Refactoring of socket system. Add socket tags including ConnectAny and ConnectAll. Add Structure.ShouldRotate (for now), in future work out relative socket position from identity rotation