id Tech Forums

id Tech 4 (Doom3/Prey/Q4) => id Tech 4 Level Editing => Topic started by: douglas quaid on December 23, 2015, 12:34:22 AM

Title: Optimising Multiplayer Maps
Post by: douglas quaid on December 23, 2015, 12:34:22 AM
Hey guys, back again. :D

I'm just wondering is there any difference in selecting brushes as 'Make Detail' or making the brushes a func_static, or perhaps even both, to further optimize a map?

Thanks.
Title: Re: Optimising Multiplayer Maps
Post by: aphexjh on December 23, 2015, 01:12:24 AM
func_static will make complex objects more easily selectable and you can set them to not have collisions, which can be good for multiplayer and singleplayer, particularly for details that are too small to interact with or will be covered with clip brushes

detail will make the brush not be included in the BSP compilation and will reduce the complexity of the portaling process

something to note is that func_static will be rendered on both sides of a visportal if it spans the visportal, for instance a door frame, if made a func_static, will be rendered on both sides of the portal, but this applies to any object, so a big rooftop will also render on both sides. I hope that makes sense.

finally, func_static are entities, so they will increase your entity count, which may be relevant in situations where you are saving the game etc. since doom 3 has an entity count limit of 1024 or something like that. so lights, models, monster all count toward this total (basically anything you see when you press "i" in the radiant)

Generally speaking, stick to the detail method as much as possible, and use func_static when you need more control over how the geometry is being rendered or interacted with
Title: Re: Optimising Multiplayer Maps
Post by: douglas quaid on December 23, 2015, 01:23:30 AM
Thanks aphex. The map I'm making is basically a platform map. I'm doing a remix of Q3A/QL map, The Very End of You/Beyond Reality, so the whole map is a box with platforms in it. Would it be wise to make each of the platforms a func_static or 'Make Detail' do you think?

Also, how do I set a func_static to not have collisions?

Thanks.
Title: Re: Optimising Multiplayer Maps
Post by: aphexjh on December 23, 2015, 01:56:22 AM
Glad to help. I love jump maps.

If the platforms will never move, then detail.

for no clip on func_static put the key/val for no collisions in the entity inspector

key: noclipmodel
val: 1
Title: Re: Optimising Multiplayer Maps
Post by: douglas quaid on December 23, 2015, 01:51:38 PM
That's great thanks aphex. ;)