About Custom Limits

Synopsis

Custom Limits allows to define custom caps on the amounts of various things.

Configuration

This is an example configuration for this hack if it's required by a mod.

This configuration goes into CustomLimits.ini in the root of your mod.

We do not recommend copying this entire example into your mod. We recommend only using what is necessary.

; CustomLimits.ini
	; Define custom limits to change what the game is capable of handling.

; [Miscellaneous] Section
	; DeletedEntityLimit: Change the amount of entities that can be deleted at one time. Defaults to 5000.
	; PathLimit: Change the maximum amount of pedstrian paths that can exist. Defaults to 125.
	; CarLimit: Change the maximum amount of cars. Defaults to 30 and can only be set up to 127.
	; ActionButtonLimit: Change the maximum amount of action buttons. Must be divisible by 8. Defaults to 128.
	
; [Roads] Section
	; CubeShapeLimit: The maximum amount of Cube Shapes that can exist. Defaults to 1200.
	; RoadLimit: The maximum amount of Roads that can exist. Defaults to 150.
	; IntersectionLimit: The maximum amount of Intersections that can exist. Defaults to 60.
	; RoadSegmentLimit: The maximum amount of Road Segments that can exist. Defaults to 1200.
	
; [Regions] Section
	; Limit: The maximum amount of Regions that can be loaded at once (including the Terra file). Defaults to 7.
	; EntityLimit: The maximum amount of entities any one zone can contain. Defaults to 2000.
	; RoadSegmentLimit: The maximum amount of Road Segments any one zone can contain. Defaults to 1250.
		; Given that Road Segments should only ever be in the Terra file, this should just match the other RoadSegmentLimit in the [Roads] section.

; [TreeNodes] Section
	; DrawDistance: The maximum distance any part of an object can be from the camera before it stops rendering. Defaults to 200.
	; BoundsMinimumY: The minimum position on the Y axis in any tree node. Defaults to -200. Leave blank to use the value in the k-d Tree.
	; BoundsMaximumY: The maximum position on the Y axis in any tree node. Defaults to 100. Leave blank to use the value in the k-d Tree.

; [Billboards] Section
	; QuadGroupLimit: The maximum amount of billboard quad groups that can exist. Defaults to 25.
	; QuadLimit: The maximum amount of billboard quads that can exist. Defaults to 100.

; [CollisionIndices] Section
	; VehicleLimit: The maximum amount of vehicle collision indices. Defaults to 15.
	; CharacterLimit: The maximum amount of character collision indices. Defaults to 18.
	; StaticPhysLimit: The maximum amount of static phys collision indices. Defaults to 30.
	; AnimCollLimit: The maximum amount of anim coll collision indices. Defaults to 20.
	; FenceLimit: The maximum amount of fence collision indices. Defaults to 8.
	; DynaPhysLimit: The maximum amount of dyna phys collision indices. Defaults to 20.
	
; [Sound] Section
	; PlayingClipPlayerLimit: The maximum amount of simultaneously playing clip players. Defaults to 25.
	; PlayingStreamPlayerLimit: The maximum amount of simultaneously playing stream players. Defaults to 8.

; Notes
	; When building custom maps, the Model Builder totals up many of these limits for you.
	; You should just make sure these limits are at least greater than the totals of any of your mod's custom maps.
	; If your mod still uses Radical's maps, then also keep these limits to at least what they are by default.

[Miscellaneous]
DeletedEntityLimit=5000
PathLimit=125
CarLimit=127
ActionButtonLimit=128

[Roads]
CubeShapeLimit=1200
RoadLimit=150
IntersectionLimit=60
RoadSegmentLimit=1200

[Regions]
Limit=7
EntityLimit=2000
RoadSegmentLimit=1250

[TreeNodes]
DrawDistance=200
BoundsMinimumY=-200
BoundsMaximumY=100

[Billboards]
QuadGroupLimit=25
QuadLimit=100

[CollisionIndices]
VehicleLimit=15
CharacterLimit=18
StaticPhysLimit=30
AnimCollLimit=20
FenceLimit=8
DynaPhysLimit=20

[Sound]
PlayingClipPlayerLimit=25
PlayingStreamPlayerLimit=8

History

1.22

  • Added "CarLimit" and "ActionButtonLimit" to the "Miscellaneous" section.
  • Added a "CollisionIndices" section that lets you increase the limit on various types of collision indices.
  • Added a "Sound" section that lets you increase "PlayingClipPlayerLimit" and "PlayingStreamPlayerLimit".

Before 1.18

Changes prior to this version were not adequately tracked.

Back to top