From 17bf01ec8c5ed4dce48e1391b5971e5f41017a1d Mon Sep 17 00:00:00 2001 From: mbnq Date: Tue, 23 Apr 2024 17:17:59 +0200 Subject: [PATCH] 0.8.3506 - added meteors - removed meteors from bfrmx_manhattan map --- INI/Game Options/meteors.ini | 33 +++++++++ MIX/expandmd71/artmd.ini | 55 +++++++++------ MIX/expandmd71/rulesmd.ini | 130 ++++++++++++++++++++++++++++++++--- MIX/expandmd71/soundmd.ini | 4 +- Maps/BF/bfrmx_manhattan.map | 64 ----------------- Resources/GameLobbyBase.ini | 12 ++++ 6 files changed, 202 insertions(+), 96 deletions(-) create mode 100644 INI/Game Options/meteors.ini diff --git a/INI/Game Options/meteors.ini b/INI/Game Options/meteors.ini new file mode 100644 index 0000000..4d3d895 --- /dev/null +++ b/INI/Game Options/meteors.ini @@ -0,0 +1,33 @@ +; ###### ###### # # ####### ####### ####### ####### ###### ##### ####### +; # # # # # # # # # # # # # # # # +; # # # # # # # # # # # # # # # +; ###### ###### # # # ##### ##### # # ###### # ##### +; # # # # # # # # # # # # # # # +; # # # # # # # # # # # # # # # # +; ###### # # ##### # ####### # ####### # # ##### ####### +; +; +; +; ##### # # # # ##### # # #### +; # # # # ## ## # # ## # # # +; ##### # # ## # ##### # # # # # +; # # # # # # # # # # # # # +; # # # # # # # # ## # # +; ##### # # # ##### # # ### # +; +; +; +; mbnq00@gmail.com +; https://www.mbnq.pl/ +; +; .ini Version: 0.8.3506 +; mod Version: 0.8.3506 +; +; Do not edit if you are a Player! +;_____________________________________________________________________________________ + +[BFMeteorStormSpecial] +SW.AutoFire=no +SW.AlwaysGranted=no +SW.AllowPlayer=no +SW.AllowAI=no diff --git a/MIX/expandmd71/artmd.ini b/MIX/expandmd71/artmd.ini index 14f13c8..6f1b7b1 100644 --- a/MIX/expandmd71/artmd.ini +++ b/MIX/expandmd71/artmd.ini @@ -20,8 +20,8 @@ ; mbnq00@gmail.com ; mbnq.pl ; -; .ini Version: 0.8.3401 -; mod Version: 0.8.3401 +; .ini Version: 0.8.35051 +; mod Version: 0.8.35051 ; ; GFX/ART settings ; @@ -20279,35 +20279,40 @@ ShouldFogRemove=false ; Larger meteor [METLARGE] Elasticity=0.0 -MaxXYVel=100.0 -MinZVel=-50.0 +MaxXYVel=60.0 +MinZVel=-100.0 ExpireAnim=TWLT070 -Damage=5000000 +Damage=100 DamageRadius=300 -Warhead=Meteorite +Warhead=BFMeteorWH3 IsMeteor=true +IsTiberium=true +TiberiumSpawnType=GEM01 Spawns=METDEBRI -SpawnCount=5 +SpawnCount=14 LoopStart=0 LoopEnd=8 LoopCount=-1 RandomRate=220,500 ;DetailLevel=0 -TrailerAnim=SMOKEY2 +TrailerAnim=NUKEPUFF ;SMOKEY2 TrailerSeperation=1 -Report=METEOR1 +Report=Flare +Crater=yes +Scorch=yes ; Small meteor [METSMALL] Elasticity=0.0 -MinZVel=-50.0 -MaxXYVel=100.0 -ExpireAnim=TWLT100 -Damage=5000000 -DamageRadius=300 -Warhead=Meteorite +MinZVel=-80.0 +MaxXYVel=160.0 +ExpireAnim=CRIVEXP2 ;TWLT100 +Damage=75 +DamageRadius=200 +Warhead=BFMeteorWH3 IsMeteor=true IsTiberium=true +TiberiumSpawnType=GEM02 Spawns=METDEBRI SpawnCount=7 LoopStart=0 @@ -20315,19 +20320,21 @@ LoopEnd=8 LoopCount=-1 RandomRate=220,500 ;DetailLevel=0 -TrailerAnim=METSTRAL +TrailerAnim=DURASMOKE ;METSTRAL ;METSTRAL TrailerSeperation=1 -Report=METEOR2 +Report=Flare +Crater=yes +Scorch=yes ; Meteor impact debris [METDEBRI] Elasticity=0.0 MinZVel=40.0 -MaxXYVel=18.0 -ExpireAnim=TWLT070 +MaxXYVel=12.0 +ExpireAnim=TWLT070T ;TWLT070 Damage=40 DamageRadius=100 -Warhead=TankOGas +Warhead=BFMeteorWH3 ;TankOGas IsTiberium=true LoopStart=0 LoopEnd=8 @@ -20337,8 +20344,12 @@ Rate=500 RandomRate=220,500 Bouncer=yes ;TiberiumRadius=1 -TiberiumSpawnType=TIB01 -Report=METHIT1 +TiberiumSpawnType=GEM03 +Report=howitzerattacke ;METHIT1 +Crater=yes +Scorch=yes +TrailerAnim=SMOKEY2 ;DURASMOKE ;SMOKEY2 +TrailerSeperation=1 ;Meteor smoke trail [METSTRAL] diff --git a/MIX/expandmd71/rulesmd.ini b/MIX/expandmd71/rulesmd.ini index 9abdc0c..08ea36e 100644 --- a/MIX/expandmd71/rulesmd.ini +++ b/MIX/expandmd71/rulesmd.ini @@ -20,8 +20,8 @@ ; mbnq00@gmail.com ; https://www.mbnq.pl/ ; -; .ini Version: 0.8.3503 -; mod Version: 0.8.3503 +; .ini Version: 0.8.3505 +; mod Version: 0.8.3505 ; ; General Settings ;_____________________________________________________________________________________ @@ -3107,6 +3107,13 @@ Mutant=Special 1108=dummyamb + +4000=METLARGE +4001=METSMALL +4002=METDEBRI +4003=METSTRAL +4004=METLTRA + ; *** Animation List *** ; This is the complete list of voxel animations available. ; VoxelAnims are meant to be flying debris. Things like @@ -3205,6 +3212,7 @@ Mutant=Special 18=ForceShieldSpecialAI 19=ChronoLegionSpecialMB 20=YuriAISpecial1 +21=BFMeteorStormSpecial ; *** Warhead List ** ; This is a list of the various types of warheads available in the game @@ -3350,6 +3358,9 @@ Mutant=Special 139=BatteringAnimal 140=BatteringAnimalTREX 141=MechanicalMB2 +142=BFMeteorWH +143=BFMeteorWH2 +144=BFMeteorWH3 ; ******* Multiplayer Dialog Settings ******* ; These are the multiplayer dialog settings. Does not apply to Westwood chat, @@ -26662,9 +26673,21 @@ BaseNormal=no ;psst....IsBase isn't a Rules flag ; UseFireParticles=Should the weapon spawn a flame particle system? (def=no) ; Warhead=warhead to attach to projectile +[BFMeteorSpawner] +Damage=1 ; doesn't matter +ROF=1 ; doesn't do anything +Range=1 ; doesn't do anything +;Burst=5 ; sadly can't be used here +Projectile=null ; doesn't matter +Speed=1 ; doesn't matter +Warhead=BFMeteorWH2 ; this is needed to be able to fire sw +ExtraWarheads=BFMeteorWH,BFMeteorWH,BFMeteorWH ; this actually spawns meteors +;ExtraWarheads.DetonationChances=33%,33%,33% ; i couldn't get it to work, i dunno what a Phobos black magic format is +;ROF.RandomDelay=1260,2120 ; doesn't matter + [MineBomb7] Projectile=Invisible -Damage=1000 +Damage=1500 Warhead=TerrorBombWH7 Anim=RING1 Range=3 @@ -33391,12 +33414,12 @@ Tiberium=yes Particle=MbBoomSys [NUKE] -CellSpread=18 ;was 14 -PercentAtMax=.02 ;used to be .8 +CellSpread=18 ;was 14 +PercentAtMax=.02 ;used to be .8 WallAbsoluteDestroyer=yes Wood=yes Verses=100%,100%,100%,200%,100%,100%,60%,100%,8%,100%,100% -InfDeath=7; +InfDeath=7 Sparky=no Tiberium=yes ;AnimList=NUKEBALL ; SJM: Activated from code now... see Bullet AI @@ -33999,7 +34022,7 @@ CellSpread=16 ;6; just for the damage now. Capture range is DominatorCaptureRa Radiation=yes Bright=yes ;Tiberium=yes -Sparky=yes +Sparky=no Wall=yes Wood=yes ;WallAbsoluteDestroyer=yes @@ -34021,7 +34044,7 @@ CellSpread=2 ;6; just for the damage now. Capture range is DominatorCaptureRan ;Radiation=yes Bright=yes ;Tiberium=yes -;Sparky=yes +;Sparky=yes ;don't use it! ShakeXlo=50 ShakeXhi=100 ShakeYlo=10 @@ -34059,6 +34082,46 @@ Crit.AnimOnAffectedTargets=true Crit.SuppressWhenIntercepted=false ;-------------------------------------------------------------------------------------------- +;warhead that spawns meteor anims, doesn't make damage +[BFMeteorWH] +Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0% +CreateAnimsOnZeroDamage=true +AnimList=METLARGE,METSMALL +AnimList.PickRandom=true +AnimList.CreationInterval=0.85 +PreventScatter=yes + +;just a dummy warhead to trigger superweapon and weapon, doesn't make damage +[BFMeteorWH2] +Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0% +Conventional=no +PreventScatter=yes + +;warhead used for METLARGE, METSMALL and METDEBRI +[BFMeteorWH3] +CellSpread=2 +PercentAtMax=.5 +Wall=yes +Wood=yes +;None, Flak, Plate, Light, Medium, Heavy, Wood, Steel, Concrete ,Special_1, Special_2 +Verses=100%,100%,100%,90%,80%,70%,100%,70%,60%,0%,0% +Conventional=yes +Rocker=yes +InfDeath=4 ; burn +; AnimList=RING1 ; this is not going to be played anyway +; AnimList.PickRandom=true +; CreateAnimsOnZeroDamage=true +Tiberium=yes +; Sparky=no ; don't use this +Bright=yes +Fire=yes +CombatLightSize=400% +Particle=MbBoomSys +PreventScatter=yes +DecloakDamagedTargets=true +AffectsAllies=yes +AffectsOwner=yes + ; ************************************************************************** ; ***************************** Terrain ************************************ @@ -37988,6 +38051,57 @@ DisableableFromShell=no ; gs this determines which superweapons are turned off b FlashSidebarTabFrames=0; default is always, put 0 for never, or a number for x Money.Amount=-500 +;superweapon +[BFMeteorStormSpecial] +UIName=NOSTR:Meteor Storm +Name=BF Meteor Storm +IsPowered=false +RechargeTime=16 ; reload time in "minutes" +;PreClick=yes +Range=6 ; just for the aiming circle +LineMultiplier=0 +EVA.Detected= +EVA.Ready= +EVA.Activated= +Cursor=null +RechargeVoice= +ChargingVoice= +ImpatientVoice= +SuspendVoice= +SidebarImage=null +ShowTimer=no +DisableableFromShell=no ; we will disable it from cncnet lobby gui +FlashSidebarTabFrames=0 +Type=GenericWarhead +Action=none +SW.Warhead=BFMeteorWH2 +SW.Range=6 ; this doesn't do anything +SW.Damage=1 ; shouldn't be needed, just in case + +SW.UseAITargeting=yes +SW.AITargeting=LightningRandom +SW.AutoFire=yes +SW.ManualFire=no +SW.RequiredHouses=YuriCountry +SW.AITargeting.Constraints=Enemy + +SW.AlwaysGranted=yes +SW.FireIntoShroud=yes +SW.CreateRadarEvent=yes +SW.AllowPlayer=no +SW.AllowAI=yes +SW.Deferment=1000 ; doesn't do anything anyway +; SW.AnimationVisibility=all +; SW.Animation=CRIVEXP2 +SW.ActivationSound=WarningAlarm ; doesn't work +SW.Sound=NukeLaunch +SW.TimerVisibility=owner +Money.Amount=0 +;Message.Ready=NOSTR:Dunno what to write here, like meteors ready? doesn't make sense +Message.Launch=NOSTR:Meteors Incomming! +Message.Activate=NOSTR:Meteors Incomming! +Detonate.Weapon=BFMeteorSpawner + ; ******* Globals Variable Names ******* ; These must be constant throughout all scenarios based on these ; rules. These are numbered starting from zero. Do not change the diff --git a/MIX/expandmd71/soundmd.ini b/MIX/expandmd71/soundmd.ini index 1a6cb92..64b5007 100644 --- a/MIX/expandmd71/soundmd.ini +++ b/MIX/expandmd71/soundmd.ini @@ -19,8 +19,8 @@ ; ; mbnq00@gmail.com ; -; .ini Version: 0.8.20 -; mod Version: 0.8.20 +; .ini Version: 0.8.3506 +; mod Version: 0.8.3506 ;_____________________________________________________________________________________ ;[NameOfSoundEvent] diff --git a/Maps/BF/bfrmx_manhattan.map b/Maps/BF/bfrmx_manhattan.map index 44c440e..41ef9a0 100644 --- a/Maps/BF/bfrmx_manhattan.map +++ b/Maps/BF/bfrmx_manhattan.map @@ -17,23 +17,9 @@ Waypoint8=0,0 NumberStartingPoints=6 NumCoopHumanStartSpots=2 -[Animations] -4003=METLARGE -4004=METSMALL -4005=METDEBRI -4006=METSTRAL -4007=METLTRAL - [CombatDamage] BridgeStrength=10000 -[METEOR01] -ExpireAnim=TWLT070T - -[METEOR02] -ExpireAnim=TWLT100I - - [Preview] Size=0,0,174,122 @@ -556,18 +542,6 @@ Size=0,0,174,122 516=xBcAAgWjwIKg8IsKWNJP8gtq6gJ7wMOT4IppwovgC5sCI4XaxJCkJFR0JFRjY6PUNFRjuY 517=vgS2rqA7P0JDkAIDQkVGQkVHrMEPtq6gtq6guLChuLChtq6gtq6gEQAA -[Actions] -01000000=1,58,0,2,0,0,0,0,U -01000002=1,58,0,3,0,0,0,0,V -01000004=1,58,0,2,0,0,0,0,W -01000006=1,58,0,2,0,0,0,0,X -01000008=1,58,0,2,0,0,0,0,Y -01000010=1,58,0,2,0,0,0,0,Z -01000012=1,58,0,3,0,0,0,0,AA -01000014=1,58,0,2,0,0,0,0,AB -01000016=1,58,0,3,0,0,0,0,AC -01000018=3,21,6,EVA_NewTerrainDiscovered,0,0,0,0,A,17,0,41,0,0,0,0,A,17,0,40,0,0,0,0,A - [Aircraft] 0=Neutral,PDPLANE,9,194,126,224,Sleep,None,0,0,1,0 @@ -599,18 +573,6 @@ TiberiumGrowthEnabled=yes IgnoreGlobalAITriggers=no TiberiumDeathToVisceroid=no -[Events] -01000000=1,51,0,1200 -01000002=1,51,0,1200 -01000004=1,51,0,1200 -01000006=1,51,0,1200 -01000008=1,51,0,1200 -01000010=1,51,0,1200 -01000012=1,51,0,1200 -01000014=1,51,0,1200 -01000016=1,51,0,1200 -01000018=1,13,0,50 - [Infantry] 0=Neutral,E1,256,120,149,1,Area Guard,64,None,0,-1,0,1,0 1=Neutral,E1,256,120,148,1,Guard,128,None,0,-1,0,1,0 @@ -3474,18 +3436,6 @@ DestroyableBridges=yes 287=Neutral,CAMSC11,154,129,192,64,None,1,0,1,0,0,None,None,None,0,0 288=Neutral,CAOILDMBNQ,103,41,115,64,None,1,0,1,0,0,None,None,None,0,0 -[Tags] -01000001=2,BFmeteors0 1,01000000 -01000003=2,BFmeteors1 1,01000002 -01000005=2,BFmeteors2 1,01000004 -01000007=2,BFmeteors3 1,01000006 -01000009=2,BFmeteors4 1,01000008 -01000011=2,BFmeteors5 1,01000010 -01000013=2,BFmeteors6 1,01000012 -01000015=2,BFmeteors7 1,01000014 -01000017=2,BFmeteors8 1,01000016 -01000019=0,BFDeshroud 1,01000018 - [TeamTypes] [Terrain] @@ -4297,18 +4247,6 @@ DestroyableBridges=yes 203122=TREE16 203123=TREE02 -[Triggers] -01000000=Neutral,,BFmeteors0,0,1,1,1,0 -01000002=Neutral,,BFmeteors1,0,1,1,1,0 -01000004=Neutral,,BFmeteors2,0,1,1,1,0 -01000006=Neutral,,BFmeteors3,0,1,1,1,0 -01000008=Neutral,,BFmeteors4,0,1,1,1,0 -01000010=Neutral,,BFmeteors5,0,1,1,1,0 -01000012=Neutral,,BFmeteors6,0,1,1,1,0 -01000014=Neutral,,BFmeteors7,0,1,1,1,0 -01000016=Neutral,,BFmeteors8,0,1,1,1,0 -01000018=Neutral,,BFDeshroud,0,1,1,1,0 - [Waypoints] 0=151146 1=151162 @@ -4328,8 +4266,6 @@ DestroyableBridges=yes 40=138148 41=127147 - - [Digest] 1=l3BhIgUyLIYX0XSi41lX7dUlE4c= diff --git a/Resources/GameLobbyBase.ini b/Resources/GameLobbyBase.ini index 9e0a27f..07da168 100644 --- a/Resources/GameLobbyBase.ini +++ b/Resources/GameLobbyBase.ini @@ -338,6 +338,7 @@ $CC-GODD08=lblStartingUnits:XNALabel $CC-GODD70=cmbXPMultiplier:GameLobbyDropDown $CC-GODD71=cmbDebugBF:GameLobbyDropDown +$CC-GODD72=chkMeteors:GameLobbyCheckBox $CC01=BtnSaveLoadGameOptions:XNAClientButton @@ -418,6 +419,17 @@ Checked=False ToolTip=Capturing structures requires 3 Engineers instead of 1. $X=getX(chkShortGame) $Y=getBottom(chkBuildOffAlly) + GAME_OPTION_ROW_SPACING +Visible=false +Enabled=false + +[chkMeteors] +Text=Meteors +ToolTip=Spawns random meteors when playing vs Yuri. +CustomIniPath=INI/Game Options/meteors.ini +Checked=False +Reversed=yes +$X=getX(chkShortGame) +$Y=getBottom(chkBuildOffAlly) + GAME_OPTION_ROW_SPACING ;============================ ; Right Column Checkboxes