$maxverts

From Valve Developer Community
Jump to: navigation, search

Stub

This article or section is a stub. You can help by adding to it.

English (en)Translate (Translate)

$maxverts is a QC command available in Source Filmmaker Source Filmmaker. It defines the maximum number of vertices allowed in each of the model's meshes. Due to 32 $bodygroup / $model hard coded limit and SMD limit of 17433 verts per file, it allows to extend default 63828 vertices per MDL limit to at most 557856 vertices in one model.

It allows to compile bigger model without use of cracked compilers and not having to deal with "shattered" model in game.

Note.pngNote:Garry's Mod and Half-Life 2 while compiling throws out error, as this command does not exists. But when compiled with Source Filmmaker StudioMDL (Source), model works well in all enviorments.
Todo: Which games' StudioMDL (Source) allow to use it?

Syntax

$maxverts <int>

Example

$maxverts 65530

See also