特殊的,不要什么改武器威力那些,
比如说 双持武器
比如说 双持武器
OneHanded True 允许双持武器
NumBullets 数量 用于散弹枪,单发弹片数量(每次依然只消耗一发子弹,单个弹片攻击力由Damage决定)
NumBullets 数量 用于散弹枪,单发弹片数量(每次依然只消耗一发子弹,单个弹片攻击力由Damage决定)
common 发表于 2018-3-18 08:28
OneHanded True 允许双持武器
NumBullets 数量 用于散弹枪,单发弹片数量(每次依然只消耗一发子弹,单个弹 ...
有更多的吗
这是我从flan 4.10.10 版本源码中找到的枪与子弹的参数列表
Guns:(位于 com.flansmod-guns-GunType.class)
Damage
MeleeDamage
CanForceReload
ReloadTime
Recoil
Knockback
Accuracy == Spread
NumBullets
ConsumeGunOnUse
DropItemOnShoot
NumBurstRounds
MinigunStartSpeed
ShootDelay
SoundLength
DistortSound
ShootSound
ReloadSound
IdleSound
IdleSoundLength
MeleeSound
WarmupSound
WarmupSoundLength
LoopedSound == SpinSound
LoopedSoundLength == SpinSoundLength
CooldownSound
Mode
Scope
ZoomLevel
FOVZoomLevel
Deployable
ModelScale
Texture
DeployedTexture
StandBackDistance
TopViewLimit
BottomViewLimit
SideViewLimit
PivotHeight
Ammo//可以使用的子弹
NumAmmoSlots == NumAmmoItemsInGun == LoadIntoGun
BulletSpeed
CanShootUnderwater
OneHanded
SecondaryFunction
UsableByPlayers
UsableByMechas
UseCustomMelee
MeleeTime
AddNode
MeleeDamagePoint == MeleeDamageOffset
MoveSpeedModifier == Slowness
KnockbackReduction == KnockbackModifier
AllowAllAttachments
AllowAttachments
AllowBarrelAttachments
AllowScopeAttachments
AllowStockAttachments
AllowGripAttachments
NumGenericAttachmentSlots
paintjob//颜色相关
shield//持枪时伤害吸收
Bullets:(位于 com.flansmod-guns-BulletType.class)
FlakParticles
FlakParticleType
SetEntitiesOnFire
HitSound
Penetrates
Penetration == PenetratingPower
Bomb
Shell
Missile
WeaponType
HasLight
LockOnToDriveables
LockOnToVehicles
LockOnToPlanes
LockOnToMechas
LockOnToPlayers
MaxLockOnAngle
LockOnForce == TurningForce
PotionEffect
Guns:(位于 com.flansmod-guns-GunType.class)
Damage
MeleeDamage
CanForceReload
ReloadTime
Recoil
Knockback
Accuracy == Spread
NumBullets
ConsumeGunOnUse
DropItemOnShoot
NumBurstRounds
MinigunStartSpeed
ShootDelay
SoundLength
DistortSound
ShootSound
ReloadSound
IdleSound
IdleSoundLength
MeleeSound
WarmupSound
WarmupSoundLength
LoopedSound == SpinSound
LoopedSoundLength == SpinSoundLength
CooldownSound
Mode
Scope
ZoomLevel
FOVZoomLevel
Deployable
ModelScale
Texture
DeployedTexture
StandBackDistance
TopViewLimit
BottomViewLimit
SideViewLimit
PivotHeight
Ammo//可以使用的子弹
NumAmmoSlots == NumAmmoItemsInGun == LoadIntoGun
BulletSpeed
CanShootUnderwater
OneHanded
SecondaryFunction
UsableByPlayers
UsableByMechas
UseCustomMelee
MeleeTime
AddNode
MeleeDamagePoint == MeleeDamageOffset
MoveSpeedModifier == Slowness
KnockbackReduction == KnockbackModifier
AllowAllAttachments
AllowAttachments
AllowBarrelAttachments
AllowScopeAttachments
AllowStockAttachments
AllowGripAttachments
NumGenericAttachmentSlots
paintjob//颜色相关
shield//持枪时伤害吸收
Bullets:(位于 com.flansmod-guns-BulletType.class)
FlakParticles
FlakParticleType
SetEntitiesOnFire
HitSound
Penetrates
Penetration == PenetratingPower
Bomb
Shell
Missile
WeaponType
HasLight
LockOnToDriveables
LockOnToVehicles
LockOnToPlanes
LockOnToMechas
LockOnToPlayers
MaxLockOnAngle
LockOnForce == TurningForce
PotionEffect
common 发表于 2018-3-17 20:56
这是我从flan 4.10.10 版本源码中找到的枪与子弹的参数列表
Guns:(位于 com.flansmod-guns-GunType.class) ...
有翻译吗qwq
dadada1231 发表于 2018-3-18 13:06
有翻译吗qwq
大部分都是很简单的英文......可以通过百度翻译......
这些参数都是通过反编译得到的,没有注释,只能根据单词字面意思或代码逻辑猜测......
另,Melee系列的参数决定物理(左键)攻击时的伤害等,具体逻辑我没仔细看......
common 发表于 2018-3-18 13:12
大部分都是很简单的英文......可以通过百度翻译......
这些参数都是通过反编译得到的,没有注释,只能根 ...
那有介绍配置详细点的帖子吗,外网的也可以,谢谢qwq
dadada1231 发表于 2018-3-18 13:18
那有介绍配置详细点的帖子吗,外网的也可以,谢谢qwq
没有,这个是我从源代码中弄出来的,怎么会有更详细的帖子......至少我没找到类似的......