> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "C_INIT_CreateOnModel"
navbar: dynamic
asidebar: hide
---
# C\_INIT\_CreateOnModel

Schema class in module `particles`.

## Summary

- Kind: `class`
- Module: `particles`
- Size: `5104 (0x13F0)`
- Size bytes: `5104`
- Parent: `CParticleFunctionInitializer`
- Inherited fields: `17`
- Product: Counter-Strike 2

### Metadata

- `MGPUParticleFunction`

## Inheritance

- [CParticleFunctionInitializer](/cs2/dumped_data/schema/particles/CParticleFunctionInitializer) (class)
- [CParticleFunction](/cs2/dumped_data/schema/particles/CParticleFunction) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nForceInModel` | [number](/cs2/api_reference/lua/base#number) | 688 (0x02B0) | - | - | `MPropertyFriendlyName`: "force to be inside model"<br />`MPropertySuppressExpr`: "is\_gpu\_particle\_system" |
| `m_bScaleToVolume` | [boolean](/cs2/api_reference/lua/base#boolean) | 692 (0x02B4) | - | - | `MPropertyFriendlyName`: "bias box distribution by volume" |
| `m_bEvenDistribution` | [boolean](/cs2/api_reference/lua/base#boolean) | 693 (0x02B5) | - | - | `MPropertyFriendlyName`: "even distribution within boxes" |
| `m_nHitboxValueFromControlPointIndex` | [number](/cs2/api_reference/lua/base#number) | 1072 (0x0430) | - | - | `MPropertyFriendlyName`: "Control Point Providing Hitbox index" |
| `m_flBoneVelocity` | [number](/cs2/api_reference/lua/base#number) | 2832 (0x0B10) | - | - | `MPropertyFriendlyName`: "inherited velocity scale" |
| `m_flMaxBoneVelocity` | [number](/cs2/api_reference/lua/base#number) | 2836 (0x0B14) | - | - | `MPropertyFriendlyName`: "maximum inherited velocity" |
| `m_HitboxSetName` | [string](/cs2/api_reference/lua/base#string) | 4592 (0x11F0) | - | - | `MPropertyFriendlyName`: "hitbox set" |
| `m_bLocalCoords` | [boolean](/cs2/api_reference/lua/base#boolean) | 4720 (0x1270) | - | - | `MPropertyFriendlyName`: "bias in local space" |
| `m_bUseBones` | [boolean](/cs2/api_reference/lua/base#boolean) | 4721 (0x1271) | - | - | `MPropertyFriendlyName`: "use bones instead of hitboxes"<br />`MPropertySuppressExpr`: "is\_gpu\_particle\_system" |
| `m_bUseMesh` | [boolean](/cs2/api_reference/lua/base#boolean) | 4722 (0x1272) | - | - | `MPropertyFriendlyName`: "Use renderable meshes instead of hitboxes"<br />`MPropertySuppressExpr`: "is\_gpu\_particle\_system" |

## Inherited Fields From CParticleFunction

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nOpEndCapState` | [ParticleEndcapMode\_t](/cs2/dumped_data/schema/particles/ParticleEndcapMode_t) | 384 (0x0180) | - | - | `MPropertyFriendlyName`: "operator end cap state"<br />`MPropertySortPriority`: -100 |
| `m_nToolsState` | [ParticleToolsState\_t](/cs2/dumped_data/schema/particles/ParticleToolsState_t) | 388 (0x0184) | - | - | `MPropertyFriendlyName`: "operator enabled in tools or game only"<br />`MPropertySortPriority`: -100 |
| `m_flOpStartFadeInTime` | [number](/cs2/api_reference/lua/base#number) | 392 (0x0188) | - | - | `MPropertyStartGroup`: "Operator Fade"<br />`MPropertyFriendlyName`: "operator start fadein"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpEndFadeInTime` | [number](/cs2/api_reference/lua/base#number) | 396 (0x018C) | - | - | `MPropertyFriendlyName`: "operator end fadein"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpStartFadeOutTime` | [number](/cs2/api_reference/lua/base#number) | 400 (0x0190) | - | - | `MPropertyFriendlyName`: "operator start fadeout"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpEndFadeOutTime` | [number](/cs2/api_reference/lua/base#number) | 404 (0x0194) | - | - | `MPropertyFriendlyName`: "operator end fadeout"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpFadeOscillatePeriod` | [number](/cs2/api_reference/lua/base#number) | 408 (0x0198) | - | - | `MPropertyFriendlyName`: "operator fade oscillate"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_bNormalizeToStopTime` | [boolean](/cs2/api_reference/lua/base#boolean) | 412 (0x019C) | - | - | `MPropertyFriendlyName`: "normalize fade times to endcap"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeOffsetMin` | [number](/cs2/api_reference/lua/base#number) | 416 (0x01A0) | - | - | `MPropertyStartGroup`: "Operator Fade Time Offset"<br />`MPropertyFriendlyName`: "operator fade time offset min"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeOffsetMax` | [number](/cs2/api_reference/lua/base#number) | 420 (0x01A4) | - | - | `MPropertyFriendlyName`: "operator fade time offset max"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_nOpTimeOffsetSeed` | [number](/cs2/api_reference/lua/base#number) | 424 (0x01A8) | - | - | `MPropertyFriendlyName`: "operator fade time offset seed"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_nOpTimeScaleSeed` | [number](/cs2/api_reference/lua/base#number) | 428 (0x01AC) | - | - | `MPropertyStartGroup`: "Operator Fade Timescale Modifiers"<br />`MPropertyFriendlyName`: "operator fade time scale seed"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeScaleMin` | [number](/cs2/api_reference/lua/base#number) | 432 (0x01B0) | - | - | `MPropertyFriendlyName`: "operator fade time scale min"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeScaleMax` | [number](/cs2/api_reference/lua/base#number) | 436 (0x01B4) | - | - | `MPropertyFriendlyName`: "operator fade time scale max"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_bDisableOperator` | [boolean](/cs2/api_reference/lua/base#boolean) | 442 (0x01BA) | - | - | `MPropertyStartGroup`<br />`MPropertySuppressField` |
| `m_Notes` | [string](/cs2/api_reference/lua/base#string) | 448 (0x01C0) | - | - | `MPropertyFriendlyName`: "operator help and notes"<br />`MParticleHelpField`<br />`MPropertyAttributeEditor`: "TextBlock()"<br />`MPropertySortPriority`: -100 |

## Inherited Fields From CParticleFunctionInitializer

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nAssociatedEmitterIndex` | [number](/cs2/api_reference/lua/base#number) | 480 (0x01E0) | - | - | `MPropertyFriendlyName`: "Associated emitter Index" |

