View Issue Details

IDProjectCategoryView StatusLast Update
0003933The Dark ModCodingpublic25.11.2014 21:39
ReporterSteveL Assigned ToSteveL  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.02 
Target VersionTDM 2.03Fixed in VersionTDM 2.03 
Summary0003933: Fix "inline" spawnarg for func statics
Description"inline" causes dmap to write the surfaces of a func static into the proc file, and they become part of the world. They don't contribute to BSP and they don't carve up nearby surfaces.

The advantage would be to save on entity count and collisiion models (they don't generate a CM either). But the way it's implemented right now, the FS is still spawned and just gets hidden. That's pointless.

The fix is to prevent the entity from spawning in the first place instead of to hide it.
Additional InformationDiscussion and test results here: http://forums.thedarkmod.com/topic/16678-what-are-current-max-limits-for-the-following/page__view__findpost__p__359239

It slows down dmapping and bloats the proc file. But if you restrict the number of inlined entities to around 30k polys per visleaf, the slowing of dmap isn't bad, and it's an extra choice for mappers that's already 99.9% implemented, while we work on better ways to extend the entity limit.
TagsNo tags attached.

Activities

SteveL

SteveL

25.11.2014 21:18

reporter   ~0007168

Also will move a bit of code that checks "random_remove" from DifficultyManager.cpp to idGameLocal::InhibitSpawn, obo Tels: http://forums.thedarkmod.com/topic/16678-what-are-current-max-limits-for-the-following/page__view__findpost__p__358823
SteveL

SteveL

25.11.2014 21:38

reporter   ~0007169

Committed at rev 6176 (code) / 14073 (game dll)

GameLocal.cpp
DifficultyManager.cpp

Issue History

Date Modified Username Field Change
25.11.2014 20:33 SteveL New Issue
25.11.2014 20:33 SteveL Status new => assigned
25.11.2014 20:33 SteveL Assigned To => SteveL
25.11.2014 21:18 SteveL Note Added: 0007168
25.11.2014 21:38 SteveL Note Added: 0007169
25.11.2014 21:39 SteveL Status assigned => resolved
25.11.2014 21:39 SteveL Fixed in Version => TDM 2.03
25.11.2014 21:39 SteveL Resolution open => fixed