Bgparamlist: Difference between revisions
m SpHit, Armor, Bow , Thrown additions |
→EffectTypes: Add description |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 555: | Line 555: | ||
|Range | |Range | ||
|float | |float | ||
| | |For bows, the distance its arrows travel in a straight line before being affected by gravity. For weapons, the value does not affect reach, even when set to 0. The value is instead used on Enemy Actors to determine the distance from the Player (or another Actor) at which the Enemy Actor starts attacking. | ||
|0.0 | |0.0 | ||
|- | |- | ||
| Line 575: | Line 575: | ||
|SpHitRatio | |SpHitRatio | ||
|float | |float | ||
|Multiplies | |Multiplies attack power against any Actor listed in SpHitActor or possessing a SpHitTag. Attack power is only multiplied once, even if the Actor matches multiple criteria. Affected Actor can further modify the damage through SpAffectRatio and SpAffectDamage DamageParams. | ||
|2.0 | |2.0 | ||
|- | |- | ||
| Line 1,102: | Line 1,102: | ||
|WeaponSubType | |WeaponSubType | ||
|str32 | |str32 | ||
|A weapon's sub-type. | |A weapon's sub-type. Only currently-known purpose is for control routing in [[Bas|.bas files]], for both player and enemies. May also affect enemy [[Baiprog|AI behavior]].{{Check}} | ||
| | | | ||
|- | |- | ||
| Line 1,311: | Line 1,311: | ||
|WeaponSubType | |WeaponSubType | ||
|str32 | |str32 | ||
|Weapon sub-type. | |Weapon sub-type. See [[Bgparamlist#SmallSword|SmallSword's WeaponSubType]]. The following values affect only LargeSword's in vanilla, due to there being a weapon Profile check prior to the WeaponSubType check: Fan (changes Link's charged attack animation to a charged vertical attack), Katana (changes Link's charged attack animation to a charged horizontal swipe). | ||
| | | | ||
|- | |- | ||
| Line 1,456: | Line 1,456: | ||
|WeaponSubType | |WeaponSubType | ||
|str32 | |str32 | ||
|Weapon sub-type. | |Weapon sub-type. See [[Bgparamlist#SmallSword|SmallSword's WeaponSubType]]. | ||
| | | | ||
|- | |- | ||
| Line 1,556: | Line 1,556: | ||
|WeaponSubType | |WeaponSubType | ||
|str32 | |str32 | ||
|Weapon sub-type. | |Weapon sub-type. See [[Bgparamlist#SmallSword|SmallSword's WeaponSubType]]. | ||
| | | | ||
|- | |- | ||
| Line 1,630: | Line 1,630: | ||
|RapidFireInterval | |RapidFireInterval | ||
|int | |int | ||
|Amount of delay between each shot fired in a rapidfire shot. Effectively limits RapidFireNum, as higher RapidFireInterval settings prevent extra arrows from spawning. E.g: RapidfireNum 5 at RapidFireInterval 1 spawns 5 arrows, but | |Amount of delay between each shot fired in a rapidfire shot. Effectively limits RapidFireNum, as higher RapidFireInterval settings prevent extra arrows from spawning. E.g: RapidfireNum 5 at RapidFireInterval 1 spawns 5 arrows, but RapidFireNum 5 at RapidFireInterval 2 spawns only 4 arrows. Needs further investigation.{{Check}} | ||
|0 | |0 | ||
|- | |- | ||
| Line 1,756: | Line 1,756: | ||
|WeaponSubType | |WeaponSubType | ||
|str32 | |str32 | ||
|Weapon sub-type. | |Weapon sub-type. See [[Bgparamlist#SmallSword|SmallSword's WeaponSubType]]. | ||
| | | | ||
|- | |- | ||
| Line 2,884: | Line 2,884: | ||
|StarNum | |StarNum | ||
|int | |int | ||
|Number of stars to display in the UI. Values over | |Number of stars to display in the UI, minus 1. 1 Corresponds to 0 stars, 5 corresponds to 4 stars. Values over 5 are not implemented. | ||
|0 | |0 | ||
|- | |- | ||
| Line 2,950: | Line 2,950: | ||
| - | | - | ||
|False | |False | ||
|- | |||
|} | |||
===EffectTypes=== | |||
Valid EffectType values are specified in the executable. As such, there is a fixed set of valid values that can be used without decompiling and coding in a new one. | |||
{| class="wikitable" | |||
!Key | |||
!Description | |||
!Maximum | |||
|- | |||
|None | |||
|No effect | |||
|0 | |||
|- | |||
|AttackUp | |||
|Increases attack power | |||
|3 | |||
|- | |||
|ClimbSpeed | |||
|Increases climb speed | |||
|3 | |||
|- | |||
|ClimbSpeedAndBeamPowerUp | |||
|Increases climb speed and power of master sword beams | |||
|3 | |||
|- | |||
|Quietness | |||
|Decreases sound of movement | |||
|3 | |||
|- | |||
|ResistAncient | |||
|Decreases damage taken from guardian and mini guardian laser beams | |||
|3 | |||
|- | |||
|ResistBurn | |||
| - | |||
| - | |||
|- | |||
|ResistBurnAndResistAncient | |||
| - | |||
| - | |||
|- | |||
|ResistCold | |||
| - | |||
| - | |||
|- | |||
|ResistColdAndResistAncient | |||
| - | |||
| - | |||
|- | |||
|ResistElectric | |||
|Decreases damage taken from electricity effects | |||
|3 | |||
|- | |||
|ResistElectricAndResistAncient | |||
|Decreases damage taken from electricity effects and from guardian and mini guardian laser beams | |||
|3 | |||
|- | |||
|ResistFreeze | |||
|Resist becoming frozen solid | |||
|1 | |||
|- | |||
|ResistHot | |||
|Allows player to withstand higher temperatures (Gerudo Desert) | |||
|2 | |||
|- | |||
|ResistHotAndWakeWind | |||
| - | |||
| - | |||
|- | |||
|ResistLightning | |||
|Allows player to ignore effects of being hit by lightning strikes | |||
|1 | |||
|- | |||
|SandMove | |||
|Increases movement speed in sand | |||
|1 | |||
|- | |||
|SnowMove | |||
|Increases movement speed in snow | |||
|1 | |||
|- | |||
|SwimSpeed | |||
|Increases swim speed | |||
|3 | |||
|- | |||
|SwimSpeedAndResistAncient | |||
|Increases swim speed and decreases damage taken from guardian and mini guardian laser beams | |||
|3 | |||
|- | |- | ||
|} | |} | ||
| Line 3,069: | Line 3,158: | ||
|EnableCompBonus | |EnableCompBonus | ||
|bool | |bool | ||
|Enables the set bonus of the specified armor series. | |Enables the set bonus of the specified armor series if all equipped armor have the same SeriesType and this parameter set to True. | ||
|False | |False | ||
|- | |- | ||