-
Notifications
You must be signed in to change notification settings - Fork 103
bugfix: Yield experience for deaths caused via OCL objects #1634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
||
#if !RETAIL_COMPATIBLE_CRC | ||
ObjectID sinkID = sourceObj->getExperienceTracker()->getExperienceSink(); | ||
firstObject->getExperienceTracker()->setExperienceSink(sinkID != INVALID_ID ? sinkID : sourceObj->getID()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this INI configurable? Edit: I think it needs to be, because it changes balance quite a bit. For example Dragon Tanks will become much faster promoted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can. But is that not something that can be also tweaked by INI data?
Object ChinaTankDragon
- ExperienceRequired = 0 100 150 300
+ ExperienceRequired = 0 150 250 400
End
I'd suggest earned experience is always desirable, whereas any associated balance implications are not so clear. Thus, it makes greater sense to adjust the balance in accordance with consistently earned experience, rather than making said experience optional for effectively arbitrary cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, these values can be tweaked. But will this be sufficient to avoid Pro Players jumping fences?
Can you collect all original game object names that would need ExperienceRequired potentially tweaked because of this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this would currently have the greatest impact on the following units:
- Alpha Aurora (fuel-air bomb)
- Dragon Tank (fire wall)
- Inferno Cannon (fire field / firestorm)
- Helix (firestorm)
- Mig (fire field / firestorm)
And a minor impact on the following units:
- Nuke Battlemaster (radiation field)
- Nuke Overlord (radiation field)
- Nuke Cannon (radiation field)
- Scud Launcher (toxin field)
- Toxin Tractor (toxin field)
- Scorpion (toxin shells)
- Marauder (toxin shells)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be all the object names.
SupW_AmericaJetAurora
ChinaTankDragon
Infa_ChinaTankDragon
Nuke_ChinaTankDragon
Tank_ChinaTankDragon
ChinaVehicleInfernoCannon
Infa_ChinaVehicleInfernoCannon
Nuke_ChinaVehicleInfernoCannon
ChinaVehicleHelix
Infa_ChinaVehicleHelix
Tank_ChinaVehicleHelix
ChinaJetMIG
Infa_ChinaJetMIG
Tank_ChinaJetMIG
Nuke_ChinaTankBattleMaster
Nuke_ChinaTankOverlord
ChinaVehicleNukeLauncher
Infa_ChinaVehicleNukeLauncher
Nuke_ChinaVehicleNukeLauncher
GLAVehicleScudLauncher
Chem_GLAVehicleScudLauncher
Slth_GLAVehicleScudLauncher
GLAVehicleToxinTruck
Chem_GLAVehicleToxinTruck
Demo_GLAVehicleToxinTruck
Slth_GLAVehicleToxinTruck
GLATankScorpion
Chem_GLATankScorpion
Slth_GLATankScorpion
GLATankMarauder
Chem_GLATankMarauder
Slth_GLATankMarauder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alpha Aurora getting this buff is pure comedy :D
Fixes #283 from the patch repository
Fixes #917 from the patch repository
Fixes #1687 from the patch repository
This change allows deaths caused via OCL objects to yield experience to their creators.
This covers OCLs such as:
FIRESTORM_XP.mp4
FIREWALL_XP.mp4
RADIATION_XP.mp4
FAB_XP.mp4