3,588 Commits over 1,007 Days - 0.15cph!
Add refresh button to the top of the era editor to refresh all items
- used if you change prefabs without using GUI
Don't show redirect items in era editor window
When checking if a redirect's era, use the redirects era
Set 600/1000 items to a sensible default era
Fix assets not being marked as dirty and not saving after being assigned an era (ask me how I know)
Finished era editor window
- tons of fixes to make it actually work
- show orange as background when item is unassigned to an era
Add era convar
Restrict items showing up in crafting menu depending on era
Work on era editor window to change item era easily (WIP because implemented on laptop)
Add tags to a bunch of items & assign era to a bunch of obvious items
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
Cleanup
Rename copy -> copybox so it doesn't overlap with client copy
Rename load -> loadpaste to not overlap with other load commands
Tags applied to items prefabs
Switch default era from None -> Unknown and add new "Any" era so we know what items are explicitly allowed in any era vs unassigned
Add tags for era to item assets
Every item reserialized after adding era field & updating asset tags
Improve item asset tags
- `workbench0` - `workbench3` depending on crafting requirement
- `craftable` for items that are craftable
- {Category}Item for item category (WeaponItem, FunItem, etc)
- `ItemDLC` for items that are dlc
- `ItemRedirect` for items that are redirects of other items
Add era field for items (none, primitive, medieval, frontier & modern)
- items default to "no era"
- items in none will show up in all eras
- items in lower eras will show up in higher eras
- no eras assigned to items yet
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
Merge from main -> copypaste
Add optional arguments onto `ddraw.text` command to modify distanceFade & zTest
Hook up accessibility color options
Cleanup and fix debug spam
Hook up convars for configuring if arrows should show for deploy guide, on deployed entities or both
- now a different convar for if it should show important ports or all ports
Fix ports & arrows not working with the deploy guide when the mesh is scaled
- hard to spot because it worked on deployed entities but not with the deploy guide
Show the white cubes and arrows when deploying IO entities too
Configure a bunch more prefabs & configure important vs unimportant ports
Fix water IO ports not working
High priority ports will show regardless of being marked as "main power"
Reposition industrial conveyor electrical ports so power in & out is on top & sensor outposts are on the bottom
- did while marking direction of each port
Mark certain IO ports as higher priority, only show the important ports by default
- main input, output & passthrough power considered important by default
- `io_arrow_mode` convar to control behavior
DDraw arrows in & out of IO ports when looking with a wire tool
Show IO port direction as an arrow instead of a line in the editor gizmo
Configure a direction for every IO port for every deployable IO entity
▌▅▇ ▇▄▍▊▍▉▇▉█▄▊▌▌▄▌▊▇▋▌▇() ▄▌▋ ▊▇▊▅▅▄▅ ▇▌▋▆ ▊▆ ▋ ▉█▉.▅▍█▋▋▌▊▄() ▌▋ ▄▇'▄ ▌▇█▇▆▆▆█ ▅█ ▆ ▊▌▅▉█▊▍▌ ▇▆▅▅█ ▄▍█ ▄▄▆▇ ▅▄▌▌▍▅▌█ ▆▆▅ ▍▉ ▅▄ ▌▊▄▊▆▋▆▄ ▋▊ ▅▄
▇▆▆▊ ▋▇▆█ ▆▆▆▅▄▄▋▍▌▍▊▅▇▅▌▄▉▌▅█() ▌▋ ▄▇▍ ▇▋▉▋▉▊▄ ▆▊▌ ▌▇▋▊▊▉▆▋ ▉▉█▋▅█ ▆▅
▋▄▉█▆█▌ ▍▄▌▉▇▇▉▄ ▇█▇▉▌▆▌▊() ▊█ ▅▆'▌ ▉▍▊ ▄▉▆█▉▍: ▍▉██▇▆▋▌▍▇▊█▅▊▄▌▅▉▍() ▇▍▍▅ ▆▍▇▅▅▉▋ ▄▅▉█▉▌▅▇ ▌▉ ▍▌▉▌▊▇█ ▇▉▅ ▇▋▉▆▄▍█▆ ▉▄
▋█▅▄▇▋▍▍ ▌▅▄▋ ▍▉▊▄▉▅▉ ▄▍ ▇▇▍▆▍ ▉▊▄ ▇▍▉▋ ▆▋█▆▉▅▇▍ ▌▅█▋ ▅▊▊ ▆▌█▅█▋▅▇ ▄▆ ▋█▅▇▌▉▅ ▉▄ ▋▋▆▌▄▍▆▄ ▅▆ ▌ ▆▅▆▍▇▅ ▍▋ ▅▍▅ ▇▇ ▄▋▊▅ ▊▍▊ ▇▆▅▍▌▄▄▇ ▆▅▊▍▅▆ ▍▊▆ ▆▍▋▉██▄▊ █▌
- ▋▆▆▅█▆▉▉ ▄▍ ▆▄▆▅▉▉ ▍▆▅▆▅▄▅█() ▌▊ ▆▄▌▋▄▇█ ▅▇▅ ▍▄▆▊▉▋▍▊ ▍▅ ▊▉▄▍▉▋█ ▅▋ ▊▅▌▆ ▋ ▄▉▊▆▍▍▊▄ ▌█▉▌▄ █▊▇▄██▊ ▍ ▊▄▌▅ ▆▌▆█▊▍▅▌ █▊ ▄▄
Fix taking radiation damage from certain combinations of clothes despite having 10 radiation protection
- round radiation on server to nearest whole number
Fix crafting queue getting stuck at 0 seconds and wrong item when reordering crafting queue and cancelling items
Fix water jug & bucket dumping water if you leave water while holding right click to fill them
Merge from fix_computer_station_enter -> main
Fix having to click on the input field after each camera you enter in computer station
Add `download_demo` command to download list of demo chunks and extract player demos from them
- expects a JSON object containing list of files & users to extract from the downloaded chunks
Fix flashing being toggled on & off if you press 'F' to focus on player with map open
Merge from main -> full_server_demo_client_reader
Fix train tunnel entrances not having `PreventMonumentBuildingTag` component added because they were not generated with S2P
Ensured both train tunnel entrances were marked as "AllowBarricadePlacement"
merge from main -> fix_barricade_train_tunnels
Change the scene prefab remapping dictionary to be case insensitive
Normalize scene paths across windows and unix
Remove code that looked for scene name by full path in editor
merge from fix_monument_scenes_osx -> main
Disable monument scenes by default due to issues with unix paths, path capitalization & lighting breaking inside certain monuments
S2P launch site so the barricade mound fix gets applied
Merge from fix_barricades_tunnel_entrance -> main