branchrust_reboot/main/automated_testingcancel
84 Commits over 153 Days - 0.02cph!
Update a bunch of entity flag toggles to fix issues after flag changes
S2P floating cities
Fix the 20 cases where flags are colliding by reassigning to a free one
RidableHorse had 1 left, lucky me
Also catch flags declared inside static helper classes like VendingMachine.VendingMachineFlags, finds one more case
The existing PrintDefinedFlags tool also didn't account for this, works now
New automated test that looks for flag collisions between entity types
Finds 19 cases (most harmless, e.g. reusing DemolishFlag on entities that don't support demolishing, but still good practice to clean them up)
merge from main
need to reapply 2 changes
Regenerate testlist, all new ones pass
Manually reduce network range of VineSwingMountable and GenericMissionLootContainerReusable(not in tests due to not having LODs, but should be good to reduce)
Reduce network range to 128m for:
- loot_trash
- door.hinged.cargo_ship
- door.hinged.vent
- fogmachine
- turret_attackheli
- door.hinged.tugboat.door
- _base_car_chassis.entity
- modular_car_camper_storage
- ziplinemountable
- _cardtable_base
- cctv.static
- clan.table
- audioalarm
- cabletunnel
- doormanipulator
- pressbutton_officeelevatordown
- pressbutton_trainstairwell
- wheelswitch
- big_wheel
- bigwheelbettingterminal
- smallcandleset
- marketterminal
- sled.deployed
- dynamicmissionstash
- logstash
- missionstash
- explosive.timed.deployed
- explosive.timed.entity
- metal_detector_flag_deepsea.entity
- metal_detector_flag.entity
- survey_charge
- gunnertest
- boombox.static
- cassetterecorder.deployed
- connectedspeaker.deployed.static
- microphonestand.deployed.static
New automated test looking for entities that cull <128m but have network range 256m (can safely be reduced to 128m), uses Ian's network range audit tool
Finds 36 leftover cases, need to double check none of them cause issues when reduced
Add two PoolAnalyzerGetWrapper
Fix swing seats marking attackers hostile
Made anim effect test a bit stricter, found 8 more cases that would warn ingame
Slightly less trivial to fix, for example C4 reuses satchel animations but doesn't have a throw effect, but can't get rid of it since satchel charge needs it
Fixed by adding new ignoreInheritedEffectEvents in AnimationEvents, any effects added there will be ignored
All tests pass
Resolve all of the cases
testlist
Fix gib mesh readable test not working correctly, now matches how gib mesh colliders are created at runtime, finds the known issue with Fuse_Heavy_LOD2 and ~20 more cases
Fix a chainsaw unscrew-cap sound definition error
Fix fuel generator missing physics material, fix the static one in gas station clipping into the ground
Also move it slightly as it was making access to a loot crate spawn awkward, S2P gas station
Fix gas station loot spawn switcher not immortal
Fix pool table and dartboard researchable
Fix a mesh not readable thats used in a particle system in power plant fx
Testlist
Fix turret test failing due to weapon default ammo contents
Jukebox collider convex + RW
Bar stools disable researchable
Dartboard assign place effect
manifest + testlist
Fix one more collision issue
New automated test checking all Gibbable components for mesh colliders that are missing RW
All pass as expected
Exclude monument prefabs from the tests in TestMeshes, saves a decent chunk of time to not scan these big prefabs, its also unnecessary since any colliders inside them will already be scanned as part of other prefabs
merge from tree_fence_collision_fix (fixes one more case)
Fix 8 collision meshes that import a material
New automated test that checks all collision meshes do not import a material as well (importing a material causes the mesh to be stripped from server builds)
Found 10 cases of this issue across the project, confirmed ingame they have collision issues
Fix small backpack broken world model outline
Testlist
Fix failing container corpse test for bed
testlist
Fix single plant pot using a concave mesh collider (introduced on decorative plants branch)
testlist
Fix cooking tests failing for the stove
Fix new mountable tests having the "Deployables" category, breaking deployable tests
Minor cleanup, testlist