$maxverts: Difference between revisions
Jump to navigation
Jump to search

Note: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.
Trigger hurt (talk | contribs) m (Making use of the "this is a" template for the first line here.) |
No edit summary |
||
Line 2: | Line 2: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{this is a|QC command|name=$maxverts}} It defines the maximum number of vertices allowed in each of the model's meshes. | {{this is a|QC command|name=$maxverts|game=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|[[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 == | == Syntax == |
Revision as of 05:45, 11 November 2024


$maxverts
is a QC command available in 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.

Todo: Which games' StudioMDL (Source) allow to use it?
Syntax
$maxverts <int>
Example
$maxverts 65530