SKKmods Posted February 18, 2023 Share Posted February 18, 2023 I enjoy creating solutions to generate additional random spawn encounters whilst not overloading the engine pipeline or generating good old spawn bloat CTDs. To help I have been mapping the Commonwealth to see how many AI actors the base game coughs up. This is the vanilla base game with default 5 uGridsToLoad, automatically hopping the player between all 320 Commonwealth map marker travel points and doing a quest conditional fill on live actors (not corpses) in the 3d loaded radius, counting them and then unloading. The actor count INCLUDES disabled actors that may be activated by quest trigger or EnableStateParent but EXCLUDES random encounters which do not manage to initialize before the player hops away. Also EXCLUDES actors between 10k and 15k away that would still be loaded in the "tobeunloaded" CellBuffer if the player had activated them by walking there. Script takes ~ 50 minutes to run at 72fps. It often CTDs around the 300th Player.MoveTo demonstrating that even a totally clean system will eventually fall over. Probably memory or garbage collection. The winner is GoodneighborExt02 with 137 live actors and 9 Random Encounter triggers, no wonder OE Xboxes fall over downtown. For interiors (which this test run does not include), InstituteConcourse is the winner with 110 live actors (although 80 are disabled for quest activation). Cell,Actors,RETriggers AbernathyFarmExt (0000DE04),18,3 AndrewStationExt (0000E170),55,5 ArcjetSystemsExt (0000DF8E),8,5 AtomatoysFactoryExt (0000E2C5),50,3 AtomCatsGarageExt (0000E246),14,2 BackBayCarDealershipExt (0000E116),76,4 BackStreetApparelExt (0000E487),33,0 BADTFLExt (0000DBA3),51,3 BarneysBunkerExt (0000D99E),12,1 BeaconHillApartmentsExt01 (0000E03D),53,3 BeaconHillBostonBugleExt (0000E03B),66,5 BeaconHillPlaygroundExt (0000E05B),73,6 BeantownBreweryExt04 (0000DFEA),16,3 BedfordStationExt (0000DDF9),34,3 BigJohnsSalvageExt (0000E193),30,6 BillysHouseExt (0000E2E1),36,1 BobbisNewPlaceExt (0000E1AE),38,3 BoSBattleSiteExt (0000DAA8),22,3 BostonAirportExt01 (0000E035),42,0 BostonAirportExt04 (0000E054),46,0 BostonAirportExt11 (0000E071),39,0 BostonCommonExt (0000E09A),73,7 BostonCommonExt02 (0000E0D8),84,6 BostonCommonExt02 (0000E0D8),84,6 BostonCommonExt03 (0000E0B8),91,8 BostonCommonExt04 (0000E0F7),87,5 BostonMayoralShelterExt (0000E49D),4,1 BostonPoliceRationingSiteExt (0000E54F),50,2 BostonPublicLibraryExt (0000E4C7),68,4 BreakheartBanksExt (0000D9EB),15,1 BunkerHillExt (0000DBC0),48,1 CabotHouseExt (0000E01C),66,4 CambridgeCampKendallExt (0000E421),44,1 CambridgeConstructionSiteExt02 (0000DBC3),49,5 CambridgeConstructionSiteExt02 (0000DBC3),48,5 CambridgeCraterExt02 (0000DFC0),48,8 CambridgeMonsignorPlazaExt (0000DBE2),52,4 CambridgePDExt (0000DFC6),40,4 CambridgePDExt (0000DFC6),38,4 CambridgePolymerLabsExt (0000E428),6,2 CharlestownDrugDenExt (0000DB9F),30,1 CharlesViewAmphitheaterExt (0000E07C),52,3 ChestnutHillockReservoirExt (0000E4EF),40,1 CoastGuardPierExt (0000E5B5),21,4 CollegeSquareExt (0000DF85),39,5 CombatZoneExt (0000E0D7),93,7 CombatZoneExt (0000E0D7),88,7 CombatZoneExt (0000E0D7),88,7 ConcordExt (0000DDDF),10,3 ConcordExt02 (0000DDBF),12,1 CorvegaAssemblyPlantExt06 (0000DF03),51,0 CountyCrossing (0000DB3F),22,2 CovenantExt (0000DE98),32,1 CraterHouseExt (0000DA1C),20,2 CrossRoadsExt01 (0000E0D5),96,9 CroupManorExt (0000DB14),20,3 CustomHouseTowerExt (0000E075),69,2 CutlerBendExt (0000E658),34,1 DarkHollowPondExt (0000DA10),28,2 DiamondCityEntrance (00000FC9),39,0 DiamondCityExt03 (0000E50B),61,5 DiamondCityOrigin (00000FEE),41,0 DmndPlayerHouse01 (00001E58),0,0 DrumlinDiner (0000DE61),22,4 DunwichBorersExt05 (0000DA01),22,3 DunwichBorersExt05 (0000DA01),19,3 EastBostonPDExt (0000DBDB),4,0 EasyCityDownsExt03 (0000DBD8),24,0 EgretToursMarinaExt (0000E618),16,3 FallonsDepartmentStoreExt (0000E613),20,2 FallonsDepartmentStoreExt (0000E613),16,2 FaneuilHallExt (0000E058),95,5 Farm05Ext (0000E700),15,1 FederalRationStockpileExt (0000DF71),24,1 FederalSurveillanceCenterExt (0000E6CF),17,0 FederalSurveillanceCenterExt (0000E6CF),17,0 FensBankExt (0000E4A8),39,2 FensBrookelineBuildingExt (0000E4CB),67,0 FensEvansWayCuldeSac (0000E52D),53,3 FensIntersection01 (0000E4C8),54,4 FensParkviewApartmentsExt (0000E50E),65,0 FensRaiderCampExt (0000E4AB),41,1 FensSquare (0000E4ED),67,1 FensSquare (0000E4ED),64,1 FensStreetSewerExt (0000E4EC),72,0 FiddlersGreenExt (0000E434),15,3 Financial18Ext (0000E057),87,3 Financial21Ext (0000E076),90,3 FinancialPostalSquare (0000E096),117,8 FinchFarmExt (0000DABF),39,1 ForestGroveMarshExt (0000E4D5),10,2 FortHagenExt02 (0000E457),27,1 FortHagenSatelliteArrayExt (0000E43A),8,1 FortStrongExt06 (0000E08B),3,0 FourLeafFishpackingExt (0000E130),37,4 FraternalPost115Ext (0000E407),10,2 GeneralAtomicsFactoryExt02 (0000E14E),45,3 GeneralAtomicsGalleriaExt (0000D9D3),31,1 GibsonPointPierExt (0000DAFB),28,3 GlowingSeaCrater02 (0000E7D5),12,0 GlowingSeaOutpost (0000E6A2),31,0 GlowingSeaPOIDB01 (0000E81F),33,0 GlowingSeaPOIDB02 (0000E748),22,0 GlowingSeaPOIJB01c (0000E6E9),22,0 GlowingSeaPOIJB02 (0000E7CF),22,0 GlowingSeaPOIJB03 (0000E828),21,0 GlowingSeaPOIJB04a (0000E72D),27,0 GlowingSeaPOIJB06 (0000E78B),35,0 GlowingSeaPOIRJ01 (0000E7F9),14,0 GNNExt (0000E676),20,1 GoodneighborExt02 (0000E097),124,9 GoodneighborOrigin (00054BE9),23,0 GorskiCabinExt02 (0000DE64),23,2 GraygardenHomesteadExt (0000DF8A),19,1 GreaterMassBloodClinicExt (0000E479),22,0 GreenetechGeneticsExt (0000E401),45,4 GreenetechGeneticsExt (0000E401),45,4 GreentopNurseryExt (0000DA2A),23,1 GwinnettBreweryExt (0000E18D),46,5 GwinnettBreweryExt02 (0000E16E),54,5 HalluciGenExt (0000E09B),52,3 HalluciGenExt (0000E09B),52,3 HestersRoboticsExt (0000E113),64,7 HubCityAutoWreckersExt (0000DA60),38,3 HubrisComicsExt (0000E0BA),57,4 HydeParkExt06 (0000E673),28,2 InstituteConcourse (0002A199),31,0 InstituteExt04 (0000E426),26,1 IrishPrideShipyardExt (0000DB63),25,1 IvansExt (0000E16B),27,3 IvansExt (0000E16B),26,3 JalbertBrothersDisposalExt02 (0000DF67),27,1 JamaicaPlainExt04 (0000E20D),57,1 KingsportLighthouseExt04 (0000DA5A),19,2 LakeCochituateExt04 (0000E57E),22,2 LakeQuannapowittExt (0000DCE9),16,2 LaytonTowersExt (0000E508),57,6 LexingtonExt05 (0000DEDF),36,0 LibertaliaNorthExt (0000DB74),19,2 ListeningPostBravoExt (0000DA47),19,3 LongneckLukowskisExt (0000DA5C),14,2 LynnWoodsExt (0000D98C),11,1 MahkraFishpackingExt (0000D944),7,1 MaldenCenterExt (0000DA6C),27,2 MassBayMedicalCenterExt (0000E0F5),74,7 MassBayMedicalCenterExt (0000E0F5),72,7 MassFusionContainmentShed (0000D9D0),25,2 MassFusionDisposalExt (0000E5DF),13,1 MassFusionExt (0000E05A),86,7 MassFusionExt (0000E05A),82,7 MassFusionExt02 (0000E059),109,7 MassFusionExt02 (0000E059),104,7 MassGravelAndSandExt (0000DF40),15,2 MassPikeTunnelWestExt (0000E510),32,0 MiltonGeneralExt (0000E5F1),21,4 NahantChapelExt (0000DB12),16,1 NahantOceanSocietyExt (0000DB4F),8,1 NatickBanksExt (0000E5A1),18,1 NeponsetParkExt03 (0000E24A),45,1 NordhagenBeach (0000E012),19,0 NorthEndGraveyardEXT (0000E01B),63,4 NorthEndGraveyardEXT (0000E01B),62,4 NorthEndGraveyardEXT (0000E01B),60,4 OberlandStation (0000E44E),5,3 OldGulletSinkholeExt (0000DA2C),16,3 PackInRelayTowerPackInStorageCell (00191E94),0,0 ParsonsPOIExt (0000D92D),5,2 ParsonsStateExt02 (0000D9A9),10,0 PickmanGalleryExt (0000E01A),60,3 POIBryanB01 (0000E307),10,1 POIJS017 (0000DB45),34,3 POIMCamp01 (0000D985),7,2 PoseidonEnergyExt (0000E2C1),30,2 QuincyQuarriesExt (0000E2A9),41,3 QuincyRuinsExt05 (0000E2C3),39,2 QuincyRuinsExt05 (0000E2C3),34,2 RailroadHQ01 (00092B21),7,0 RangerCabinExt (0000DDE6),27,2 ReconBunkerThetaExt02 (0000D934),5,2 RedRocketExt02 (0000DDA0),14,1 RelayOutpostZimonja (0000DCEC),12,1 RelayTower01ext (0000D993),33,1 RelayTower02Ext (0000DB04),12,2 RelayTower04Ext (0000DFF7),12,2 RelayTower05Ext (0000E470),10,3 RevereBeachStationExt02 (0000DB3A),40,3 RevereBeachStationExt05 (0000DB1B),42,2 RoadsidePinesMotelExt (0000E560),20,2 RoadsidePinesMotelExt02 (0000E581),22,2 RockyNarrowsParkExt02 (0000DF6A),25,1 RottenLandfillExt02 (0000DE39),15,1 SalemExt03 (0000D9DF),14,3 SanctuaryExt (0000DD60),18,0 SandyCovesHomeExt (0000D9BF),17,2 ScrapPalaceExt (0000E65D),24,3 ShamrockTaphouseExt (0000E0B4),77,4 SkylanesFlightExt (0000DDB1),17,2 SlocumsJoeHQExt (0000DA6B),19,2 SlocumsJoeHQExt (0000DA6B),19,2 SlocumsJoeHQExt (0000DA6B),19,2 SomervillePlace01 (0000DF82),39,5 SomervillePlace02 (0000DF83),51,3 SouthBostonCheckpointExt (0000E191),41,5 SouthBostonExtN (0000E150),53,4 SouthBostonExtS (0000E1AB),26,3 SouthBostonExtW (0000E18E),46,3 SouthBostonPDExt (0000E16F),51,4 SpectacleIslandExt (0000E1C2),10,0 SunshineTidingsExt (0000DEED),18,2 SuperDuperMartExt (0000DEC0),38,1 TaffingtonBoatHouseExt (0000DACB),31,2 TenPinesBluff (0000DD52),15,2 TheaterHub360Ext (0000E0B6),111,9 TheaterHub360Ext (0000E0B6),111,9 TheSlogExt (0000DA24),33,1 ThicketExcavationsExt05 (0000DD98),19,3 TiconderogaStationExt (0000E01F),51,3 TrinityTowerExt (0000E4C6),60,5 TrinityTowerExt (0000E4C6),60,5 UniversityPointExt (0000E1CE),43,4 USAFSatelliteExt (0000DD36),24,2 USSConstitutionExt02 (0000DBDD),46,1 USSConstitutionExt02 (0000DBDD),44,1 USSConstitutionExt03 (0000DBDE),47,1 USSConstitutionPostExt (0000E039),77,4 USSConstitutionPostExt (0000E039),74,4 USSConstitutionPostExt (0000E039),74,4 USSRiptideExt (0000E468),25,0 Vault111Ext (0000DD41),14,0 Vault114Ext (0000E099),91,8 Vault114Ext (0000E099),90,8 Vault81 (0002A728),31,0 Vault95Ext (0000E6E2),19,1 VaultTecOfficeExt02 (0000E07A),81,8 VirgilsLabExt (00013D13),4,0 WaldenPondExt05 (0000DECA),9,3 WestEverettEstatesExt (0000DAE8),35,2 WestonWaterTreatmentExt (0000E430),10,4 WestRoxburyStationExt (0000E5F2),19,3 WickedShippingExt (0000DE27),20,1 Wilderness (0000D9DD),19,1 Wilderness (0000DA43),40,2 Wilderness (0000DA8B),37,1 Wilderness (0000DA9D),26,2 Wilderness (0000DAFF),36,4 Wilderness (0000DB20),24,2 Wilderness (0000DB35),21,2 Wilderness (0000DB55),13,2 Wilderness (0000DBDA),7,0 Wilderness (0000DBFC),54,2 Wilderness (0000DC00),63,3 Wilderness (0000DCF6),22,0 Wilderness (0000DE3C),22,2 Wilderness (0000DE9D),19,0 Wilderness (0000DEC2),32,2 Wilderness (0000DF3D),14,1 Wilderness (0000DF51),24,2 Wilderness (0000DF7D),46,6 Wilderness (0000DFA2),36,6 Wilderness (0000DFC1),54,7 Wilderness (0000DFC4),44,5 Wilderness (0000DFC4),42,5 Wilderness (0000DFC5),51,4 Wilderness (0000DFE5),43,4 Wilderness (0000E038),66,2 Wilderness (0000E038),66,2 Wilderness (0000E038),66,2 Wilderness (0000E03A),80,5 Wilderness (0000E077),104,7 Wilderness (0000E098),97,8 Wilderness (0000E0D4),103,8 Wilderness (0000E0F8),66,4 Wilderness (0000E114),59,7 Wilderness (0000E134),50,5 Wilderness (0000E18B),40,3 Wilderness (0000E18F),41,5 Wilderness (0000E1AC),35,3 Wilderness (0000E27E),26,0 Wilderness (0000E416),10,2 Wilderness (0000E424),34,1 Wilderness (0000E484),50,2 Wilderness (0000E485),54,1 Wilderness (0000E486),34,1 Wilderness (0000E4A7),40,3 Wilderness (0000E4A9),53,1 Wilderness (0000E4AC),42,1 Wilderness (0000E4CF),15,1 Wilderness (0000E4E8),74,4 Wilderness (0000E4F9),21,1 Wilderness (0000E51E),19,2 Wilderness (0000E52A),60,5 Wilderness (0000E56E),28,3 Wilderness (0000E576),20,2 Wilderness (0000E58D),27,5 Wilderness (0000E590),16,3 Wilderness (0000E5BB),10,0 Wilderness (0000E61D),14,1 Wilderness (0000E669),17,1 Wilderness (0000E6D3),10,0 Wilderness (0000E6D6),16,3 Wilderness (0000E70E),37,0 Wilderness (0000E797),19,0 Wilderness (0000E7A9),8,0 Wilderness (0000F6D1),42,1 Wilderness (0000F6DC),30,2 Wilderness (00013D09),19,0 WildwoodCemeteryExt02 (0000DE16),13,2 WreckofTheFMSNorthernStarExt (0000E29E),35,0 WRVRBroadcastCenterExt (0000E5D8),12,3 original attached file removed as the spoiler is now a properly formatted list Link to comment Share on other sites More sharing options...
HeyYou Posted February 19, 2023 Share Posted February 19, 2023 Wow, the numbers are all over the place..... 81 at the back bay car dealership??? I'ma gonna have to look that one up. :D Link to comment Share on other sites More sharing options...
lee3310 Posted February 19, 2023 Share Posted February 19, 2023 Wilderness (0000E077),111Wilderness (0000E098),105Wilderness (0000E0D4),103 Also where the heck are those cells (i need to load them in the editor). Link to comment Share on other sites More sharing options...
SKKmods Posted February 19, 2023 Author Share Posted February 19, 2023 If you want to run the test yourself the packed mod is attached. Enable papyrus debug logging (howto in the wiki) for results and monitor Papyrus.0.log (I use mTail.exe) filter on SKK_MMACMainQuestScript as all you will see is an hour of load screens flipping. If you suffer OCD best to not run this as every run is in different order and actor counts probably due to story manager + cell buffering. Link to comment Share on other sites More sharing options...
pepperman35 Posted February 19, 2023 Share Posted February 19, 2023 SKK50, you are always doing such cool exploration and the public service announcements are enlightening. Link to comment Share on other sites More sharing options...
SKKmods Posted February 19, 2023 Author Share Posted February 19, 2023 To echo a discord query on this; Why does the test include DISABLED actors ? 1. Disabled actor 3d does not (partial/full ?) render so does not load the GFX pipeline to affect fps, BUT; 2. My focus is on SCRIPT and AI update performance, AND; 3. Disabled Actors still trigger their script events (e.g. OnLoad still triggers when the object/actor is disabled), AND; 4. At some point they may activate by trigger (altho how many concurrent is undetectable), AND; 5. Disabled (and unloaded persistent) Actors AI still react/process SOME updates (not sure all but I have logged some, like follow package on player teleport) unless EnableAI(false) is specifically called on them, SO; Whilst most folks fixate on FPS which of course is primary UX, I am more interested in the underlying AI and script performance that may nor may not be coupled to FPS. Disabled actors may not affect FPS but can affect AI and script performance. Reflect on that and how to minimise the impact when we attach scripts to actors and hope disable removes overhead. Link to comment Share on other sites More sharing options...
Recommended Posts