userJakbcancel

449 Commits over 1,188 Days - 0.02cph!

1 Year Ago
merge from naval_update to get the latest TriggerRadiation.cs
1 Year Ago
Players parented to (riding) the hot air balloon will now be marked hostile for 60s when the hot air balloon crushes another player by landing on them. This follows a similar setup to the modular car kill triggers in using the TriggerHurtNotChild script and IHurtTriggerUser interface to return the damage initiator player - the first player found is marked as the damage initiator and all other players are manually marked hostile. - Tested in editor killing a spawned player whilst riding the hot air balloon and correctly being marked hostile
1 Year Ago
New codelockedhackablecrate prefab variants for modded servers - server owner request for minigame servers. 1. codelockedhackablecrate_no_build_radius https://files.facepunch.com/jacob/1b0111b1/Unity_bJNCZmkNDK.png 2. codelockedhackablecrate_min_build_radius (no build radius of 3) https://files.facepunch.com/jacob/1b0111b1/Unity_7dnq9b0kFb.jpg
1 Year Ago
▅ ▆▊▉▄█▋ ▋██ ▋▆ ▅█▅▌▅█▇ ▇▆▌█▄▉█▇ ▊▊▌▇ ▄▊▇ ▄▌▍▄▋▌▇▍▍▌▊
1 Year Ago
▌ ▋▆▍▊ ▍█▋▍▄▌▍▌▅ ▋▇▄▄▍▊▊ ▌▇▌ ▇▋▄▅ ▆▆▍▌▌▄▍▇▄▌▋ ▄▅ ▉▅█▇▍█ ▌▆▅▋▋▅▄▄ ▄▇█▊▍▌▆█ ▋▄▄▄▌▆█▇ ▆▆▍▉▄▋▍▉ █▆▆▍▅█▅▊ ▌▍▌▄ ▊▆▋▅▍ ▅▇█▆▌▊▉ ▌▌ ██ ▆█▍▆▇▍▅▊▊ ▆▇▆ ▌▇ ▅▌▇█▊▍ █▋▊▍▇█▆▉▊▊▅▆
1 Year Ago
Replaced static fuel_barrel_black objects on large oilrig with yellow and red variants so gameplay remains unchanged. Ran S2P
1 Year Ago
Caged in fuel_barrel_black objects on small oilrig (1 set of 8, 1 set of 4) and replaced 4 other fuel_barrel_black objects with fuel_barrel_red as they are too visually similar to the diesel barrel pickupables. Ran S2P.
1 Year Ago
Removed static upright fuel_barrel_black objects from large oilrig as they are too visually similar to the diesel barrel pickupables. Ran S2P.
1 Year Ago
Reworked pouring so it uses a start and stop RPC. Holding left mouse button will pour (up to) 50ml out of the container every 0.5s (100ml/s), stop holding left mouse button and pouring stops. Needs bespoke animations and visual effects, something like a continuous stream pouring out when the item is tilted over. Video: https://files.facepunch.com/jacob/1b1211b1/Unity_0KbTAw2Am2.mp4
1 Year Ago
Left mouse button when holding a water jug / water bucket now pours (up to) 5% of the container's max amount from its inventory. Still needs animation setup. A gradual pour over time rather than a throw of a smaller amount may be nicer, needs more thinking. Video: https://files.facepunch.com/jacob/1b1111b1/Unity_Q6cXeVt4NE.mp4
1 Year Ago
Rearranged logic in OnPrimaryAttackHeld to make that the method that requests pouring
1 Year Ago
Liquid vessels that could throw out all their contents with left mouse button now require holding ALT at the same time to throw out all contents - making way for left mouse button by itself to gradually pour water
1 Year Ago
Prevent fall damage sfx playing when in debug.invis
1 Year Ago
Disabled mip map limits on cannot_see_icon to fix low resolution debug.invis icon overlay when using low graphics settings
1 Year Ago
Simplify SwapCamera. Removed an orbit camera lock position. Reordered orbit camera lock positions to go to the player first
1 Year Ago
WIP orbital camera setup. Currently swaps cameras with pressing Q, Tab changes lock target, hold right click and use mouse to move orbit. Needs UI setup
1 Year Ago
Setup the rest of the player gesture animation buttons. Surrender and the dances don't work right now
1 Year Ago
Setup more anims: Viewmodel specific: manualcycle, dryfire, throw, use_self, use_other, use_other_wounded PlayModel specific: drop_item, pickup_item, drink, victory, wave
1 Year Ago
Only allow camera movement when the input field is not in focus
1 Year Ago
TODO comments for later around camera work
1 Year Ago
Move camera gradually using WASD/leftshift (up)/leftctrl (down)
1 Year Ago
Clothing is now equipped to the active viewmodel. Makes use of a new editor-only method to apply clothing directly from a list of ItemModWearable rather than using a BasePlayer to look at their equipped clothing. Run this method when equipping items and wearables so the viewmodel is always up to date. (Doesn't work with skins just yet)
1 Year Ago
Commenting
1 Year Ago
Added new FOV slider to the canvas to modify Camera FOV. Setup min/max values respecting regular gameplay FOV bounds. Includes "Field of View" text overlaying the slider
1 Year Ago
Renamed script in line with scene rename
1 Year Ago
Setup the existing positonal marker square images in the centre of the canvas so they can be toggled on/off with a new button. Shortcutted with `U`. Some code cleanup & commenting
1 Year Ago
Added the scene to SceneLoader so it appears in Editor scenes dropdown menu. Renamed scene to CharacterAnimationAndSkinViewer
1 Year Ago
Copied legacy script's Camera setup so ironsights ADS, screen shake and animation camera rotations work as expected
1 Year Ago
Fixed not being able to reselect most recently selected items/wearable after using the clear buttons
1 Year Ago
Added a clear selected item button (shortcutted with `I`) to unequip the player item, worldmodel and viewmodel
1 Year Ago
merge from main
1 Year Ago
Setup Animations button in the bottom left to open a collapsable scroll view. Works harmoniously with the Items and Wearables select collapsable scroll view - animations button forces collapse of select scroll view, items/wearables button forces collapse of animations scroll view.
1 Year Ago
Ensure the selected item viewmodel always has the same player skin as the spawned PlayerModel
1 Year Ago
Commenting
1 Year Ago
Fixed editor PlaySoundFirstPerson NRE when there isn't a local player. Added a Sound Manager to this scene so sounds work
1 Year Ago
Simplified how the scroll view is populated
1 Year Ago
Code cleanup and reordering
1 Year Ago
Fixed wearables being removed when selecting a new item
1 Year Ago
Code setup for new collapsable Items and Wearables selection. Each one is a toggle button that opens a scrollview and populates with items or wearables - replaces the old 2 separate scroll views, creating more screen space. Made the UI bigger. Removed old scrollviews and setup code
1 Year Ago
Setup new UI layout for tabbed collapsable item and wearable search. Code setup next
1 Year Ago
Prevent keyboard shortcuts for randomising player seed and clearing wearables being triggered when typing in filter input boxes. Ignore shortcuts when filter input boxes are in focus
1 Year Ago
Randomising the player seed preserves selected clothing
1 Year Ago
Player can now be equipped with clothing using the wearableScrollView. Multiple items of clothing can be equipped as long as they are compatible in regular gameplay. Equipping a clothing item that is not compatible with others selected will clear the selected clothing. New button to clear player clothing, shortcut with pressing O
1 Year Ago
Redid UI sizing
1 Year Ago
Reapplied player changes
1 Year Ago
Subtract 127494 - contained unwanted files
1 Year Ago
Increase UI size so the scene feels better maximised
1 Year Ago
Now spawning a BasePlayer in the scene rather than just a PlayerModel so we can give items to the player later. Rotation is broken right now
1 Year Ago
Load all wearables into the UI and setup wearable filtering - mirroring the item setup. Can likely clean this up later.
1 Year Ago
Setup "Randomise Player Seed" button. Some code cleanup/preparations