dos s0003 initialGauge - cwtickle/danoniplus-docs GitHub Wiki

English | Japanese

^ Return to Common setting file specification

< Custom file settings | Gauge settings | Freeze arrow settings >

Gauge settings

g_presetObj.gauge - Default gauge settings

-> Priority chart settings if specified : difData, gaugeX

  • Specifies the default gauge setting when unspecified.
  • Initially unspecified, in which case the default values of the source body are applied.
g_presetObj.gauge = {
	//	Border: 70,  // Specify `x` if you want to use a borderline or life system with a quota system.
	//	Recovery: 2, // Amount of recovery
	//	Damage: 7,   // Amount of damage
	//	Init: 25,    // Initial value
};

g_presetObj.gaugeCustom - Default non-default gauge values

-> Priority chart settings if specified : gaugeX

  • You can set the initial value of each gauge value for each gauge setting by setting.
    Changing SuddenDeath is deprecated as it will not result in 1 Miss Failed.
g_presetObj.gaugeCustom = {
	Easy: {
		Border: 70,
		Recovery: 4,
		Damage: 7,
		Init: 25,
	},
	Hard: {
		Border: `x`,
		Recovery: 1,
		Damage: 50,
		Init: 100,
	},
	NoRecovery: {
		Border: `x`,
		Recovery: 0,
		Damage: 50,
		Init: 100,
	},
	SuddenDeath: {
		Border: `x`,
		Recovery: 0,
		Damage: setVal(g_rootObj.maxLifeVal, C_VAL_MAXLIFE, C_TYP_FLOAT),
		Init: 100,
	},
	Practice: {
		Border: `x`,
		Recovery: 0,
		Damage: 0,
		Init: 50,
	}
};

g_presetObj.gaugeList - Custom gauge list

-> Priority chart settings if specified : customGauge

  • Specifies the list to be used by default for custom gauges. If specified, the list of gauge settings provided by default is ignored.
// Default custom gauge settings
// 'Gauge name': in the form of `recovery/damage amount setting`.
// (F : fixed regardless of the number of arrows, V: varies depending on the number of arrows)
g_presetObj.gaugeList = {
	'Original': `F`,
	'Normal': `V`,
	'Hard': `V`,
};

g_presetObj.excessiveJdgUse - Default setting of excessive miss judgment

-> Priority chart settings if specified : excessiveJdgUse

  • Sets whether the excessive miss judgment is applied by default. The default setting is "do not apply".
  • Even if you set "true", players can use the Excessive miss judgment setting.
/**
  Sets whether the excessive miss judgment is applied by default
  - true: apply / false: do not apply
*/
g_presetObj.excessiveJdgUse = `false`;

Changelog

Version Change details
v32.5.0 - Implemented default setting of excessive miss judgment (g_presetObj.excessiveJdgUse)
v26.3.1 << Variable name change >> - g_presetGauge -> g_presetObj.gauge - g_presetGaugeCustom -> g_presetObj.gaugeCustom - g_presetGaugeList -> g_presetObj.gaugeList
v19.1.0 - Implemented custom gauge list (g_presetGaugeList)
v9.4.2 - Update contents of default non-default gauge value (g_presetGaugeCustom) - with variable life limits due to the implementation of custom gauges
v9.4.0 - Update contents of default non-default gauge value (g_presetGaugeCustom)(Added NoRecovery, SuddenDeath and Practice)
v3.0.0 - Default gauge settings (g_presetGauge) and default non-default gauge values (g_presetGaugeCustom) initially implemented

< Custom file settings | Gauge settings | Freeze arrow settings >