7,937 Commits over 3,745 Days - 0.09cph!
Call PrepareGeometryChange before moving TransitionItem
Reset view on Home key press
Show red icons for erroring state actions too (#9)
Show red labels for invalid transition conditions / actions (#9)
https://files.facepunch.com/ziks/2024-08-19/sbox-dev_YyyXVN5F46.png
Fix warnings from RangedFloat API changes
RangedFloat cleanup
* Add Min / Max properties instead of x / y fields, fields are obsoleted
* Max always equals Min for Fixed range type, unlike the old y field
* ToString returns "<min>" for fixed values, or "<min> <max>" for ranges, instead of "<min>,<max>,<type>"
* Parse supports old format
* Can deconstruct: `var (min, max) = range;`
* Add tests parsing old format
FlattenGround: do bigger things first
First pass at implementing FlattenGroundComponent
https://files.facepunch.com/ziks/2024-08-16/sbox-dev_nWg5BriXua.png
https://files.facepunch.com/ziks/2024-08-16/sbox-dev_gZGfddKkMi.png
Fleshed out world damage
Now uses passed in Damage value
Has falloff up to Radius
Got rid of multiple CarveModification hack
A bit slow with large radius ATM
https://files.facepunch.com/ziks/2024-08-16/sbox-dev_7gsWLQoZrz.png
Don't network mob state machines
Restructure world gen so we can modify heightmap while placing objects
Actually fix drone NRE
Skeleton FlattenGroundComponent
https://files.facepunch.com/ziks/2024-08-16/sbox-dev_JiSjz6Jl5u.png
Update libstates
Possible fix for NRE in drone FSM
Added SendMessage( string ), transitions can listen for a message
Make missile bot damage ground
Simplify some voxel modification RPCs
Add some documentation to IModification
Add BuildModification
Set BlockType in Item, dunno if this is actually needed
WIP ore seams
Fix for possible NRE in Roller state machine
Spawn metal piles
Model might need scaling down
Spawn players near beaches
Put these back
Some safety in SetPalette
Mark voxel textures as used again
Reimplement dirt punching
Let mining laser destroy soil
Fix prop rotation not being deterministic
Generate some soily beaches
I don't know what this is doing but it's making everything too dark
Make noise texture match voxel resolution
Spawn item on block destroy
Blocks respect GatherSourceKind
Block health working
Every hit does 1 damage for now
Fix possible NRE in drone chase graph
Starting on block health
Fix loading voxels from a save
Save world gen seed etc, nicer RLE for chunks
LoadWorldState, untested
Fix VoxelModel.DrawGizmos
Speed up world gen
https://files.facepunch.com/ziks/2024-08-15/sbox-dev_eWK5BoSjtT.mp4
Fix some warnings
Spawn props on clients too, only network prefabs with NetworkMode.Object
Expose parameter for biasing towards plains or mountains
Rock node / fragment features
Hook up some more world features
World gen can spawn objects
Add BiomeSampler to scene
Let's have the voxel world at z=0