userJake_Richcancel
branchrust_reboot/main/copypastecancel

18 Commits over 31 Days - 0.02cph!

44 Days Ago
Remove debug logging
44 Days Ago
Fix pasted builds always being snapped to terrain despite the convar being set to false
44 Days Ago
merge from main -> copypaste
52 Days Ago
Remove console spam when copying entities
52 Days Ago
Fix comment
52 Days Ago
Allow player models to be pasted - convar `paste_players` (default false) - change the steam id of the players pasted so they can't conflict with existing players in the server as it causes issues (give them a steam id above bots but below the range of real players)
52 Days Ago
Do filtering of pasted entities before they are spawned by filtering the prefab instead of the spawned entity and then trying to delete it Fix autosnap for pasting not working if there were no foundations in the paste - disable autosnap when no foundations are found
52 Days Ago
merge from main -> copypaste
2 Months Ago
Fix compile errors
2 Months Ago
Add ability to snap pasted entities to the terrain - will search based on foundations only - snap entire build to single height even if it overhangs the ledge - convar is `paste_snap_terrain` - can use `paste_height_offset` to control height offset after paste Add more filters - `paste_deployables` - `paste_building_only` (only building blocks) - `paste_foundations_only` Add `copybuilding` - will copy every building block & decay entity of the base you are looking at - won't copy non-decay entities
2 Months Ago
Add `downloadpaste <url> <name>` command - default to using the filename in the url - can override name if it is going to overwrite the paste Add `renamepaste <old> <new>` and `deletepaste <name>` commands - allows you to rename pastes after you download or want to reorganize - can delete if needed too Add `upgrade_looking` and `skin_looking` commands - same as `upgrade_radius` command but uses the base you are looking at instead of a radius around you - easier way to upgrades in front of you - will only search directly attached building blocks, won't handle external TCs - add `GamePhyics.TraceEntity()` method to handle raycasting entities in editor and ignoring server / client entities
2 Months Ago
Cleanup & rename kill -> killbox (so it doesn't overlap with normal kill command)
2 Months Ago
Add ability to undo pastes with `undopaste` command - only kills entiites you pasted (if you want to redo a paste, just paste it again manually)
2 Months Ago
Allow pasting directly from name - `paste cars1` will load "cars1" and paste it while persisting current clipboard Filter entities when pasting instead of copying (allows you to change filters after copying a single time) - change convars from "copy_npcs" to "paste_npcs" - filter entities that have no parent when pasting - add option to filter vehicles
2 Months Ago
Tons of changes to support working outside of editor - code assumed only single instance per server - now store parameters per client in client convars - made client and server versions of each command - client commands send parameters to server version - added filtering for resources + foilage and npcs (default include everything) - fix point entities not being filtered out - split code into CLIENT and SERVER regions
2 Months Ago
Cleanup Rename copy -> copybox so it doesn't overlap with client copy Rename load -> loadpaste to not overlap with other load commands
2 Months Ago
Fix copy paste - now remaps every type of network id, fixing storage entities - fixed building ID not being reset for new pastes - refactored pasting code so it more closely resembles SaveRestore.Load() - fixed rotation of pastes not always working - save entities in order of network id so the pasting is more deterministic - removed saving of entity ids in pastes because it's not needed - change paste directory from EntityCopies -> copypaste
2 Months Ago
Merge from main -> copypaste