Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Various Building properties Deharcoded

Open Otamaa opened this issue 3 years ago • 6 comments

[BUILDINGTYPE]
-Deharcoded occupy and bunker bonus  , Default to `[CombatDamage]`
OccupyDamageMultiplier=       ;float  
OccupyROFMultiplier=   	  ;float
BunkerDamageMultiplier=   	;float
BunkerROFMultMultiplier=    ;float

-Bunker Wall Sound , Default to  `[AdioVisual]`
BunkerWallsUpSound=			;Foc
BunkerWallsDownSound=		;Foc

-PackupSound
PackupSoundPlayGlobal=  ;bool  , default to false

-Option to disable degrade Power within health percent 
Power.DegradeWithHealth=  ;bool , default to true

Q : Why range bonus not included ? A : Ares hooked around that area , so i dont bother

Otamaa avatar Mar 10 '22 20:03 Otamaa

Nightly build for this pull request:

github-actions[bot] avatar Mar 10 '22 20:03 github-actions[bot]

PackupSoundPlayGlobal & Power.DegradeWithHealth doesn't work

didn't test DisableDamagedSound

but the rest works as intended

CommanderNour avatar Mar 11 '22 18:03 CommanderNour

PackupSoundPlayGlobal

Fixed !

Otamaa avatar Mar 12 '22 00:03 Otamaa

Power.DegradeWithHealth works fine DisableDamagedSound works fine every tag works fine except the PackupSoundPlayGlobal I don't understand it does the PackupSoundPlayGlobal mean the PackupSound will play globally ? if that is the case then no it doesn't work

CommanderNour avatar Mar 12 '22 07:03 CommanderNour

When I use this build it breaks BunkerWallsDownSound (Both the tag in [General] and the new local one don't work): BunkerWallsUpSound is used instead.

OccupyDamageMultiplier, OccupyROFMultiplier, BunkerDamageMultiplier and BunkerROFMultMultiplier, all work. BunkerWallsUpSound set on a building also works.

Putting PackupSoundPlayGlobal=yes on YAREFN didn't play DeploySound=SlaveMinerUndeploy when the slave miner undeploys off-screen, assuming that's what the tag is meant to do.

Power.DegradeWithHealth works fine.

brsajo avatar Jun 04 '22 07:06 brsajo