VNCCS Integer
A whole-number primitive for VNCCS graphs
- value
There's nothing to overthink here. VNCCS Integer is a single number field that outputs a typed INT - the kind of node you reach for when you need a whole number wired into a graph and don't want to rely on a text field somewhere pretending to be numeric.
What it does
You set a value, it comes out as INT. Full range: from -2147483648 to 2147483647, which is the standard signed 32-bit integer range - plenty for anything VNCCS actually uses a number for (counts, indices, sizes), and not a hint that the node does anything more exotic under the hood.
Why VNCCS ships its own instead of using ComfyUI's built-in primitive
ComfyUI already has a generic INT primitive, and functionally they're close cousins. The practical reason to reach for this one specifically is consistency inside a VNCCS graph: it lives in the VNCCS category alongside the pack's other nodes, so it shows up in the same search results and node-browser section as everything else you're already using, instead of making you dig through ComfyUI's core primitives list mid-build. If you're wiring a value into something that expects a strict INT type - a min_size threshold on CharacterSheetCropper, say - this is a clean, typed way to do it without a stray text box.
Inputs and outputs
value(INT, default0, min-2147483648, max2147483647) - the only input.- Output:
value(INT) - passed through unmodified.
That's the entire schema. No step size, no randomization, no expression support - for anything past "hold a number," you want a different node.
Installing it
Bundled with the base pack, no extra step. ComfyUI Manager: search "VNCCS - Visual Novel Character Creation Suite", install latest, restart. Manual: cd ComfyUI/custom_nodes && git clone https://github.com/AHEKOT/ComfyUI_VNCCS.git, restart ComfyUI. Nothing about this node touches models or Control Center's downloads - it's pure graph wiring.
Common issues & troubleshooting
Value resets or doesn't match what you expect after loading a saved workflow. Standard ComfyUI widget behaviour: the value is whatever was saved in the workflow JSON at the time you saved it, not live-synced to anything. If you're building a template you plan to reuse, double-check the number after loading rather than assuming it carried over correctly.
A downstream input won't accept the output. VNCCS_Integer outputs a strict INT, not a wildcard - if the node you're wiring into expects a FLOAT or a STRING, ComfyUI will refuse the connection outright rather than silently coercing it. That's expected behaviour, not a VNCCS bug; use a conversion node or retype the value at the source.
You need a random or incrementing value instead of a fixed one. This node doesn't do that - it's a static input. Seed-style behaviour lives on the generator nodes themselves (CharacterCreator's seed field, for instance), not on this primitive.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | INT | 0-2147483648–2147483647 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | INT | — |