Skip to content

Customizable OpenTopped Properties#374

Merged
Metadorius merged 5 commits intoPhobos-developers:developfrom
Otamaa:feature/Deharcode-Opentopped
Sep 25, 2021
Merged

Customizable OpenTopped Properties#374
Metadorius merged 5 commits intoPhobos-developers:developfrom
Otamaa:feature/Deharcode-Opentopped

Conversation

@Otamaa
Copy link
Contributor

@Otamaa Otamaa commented Sep 21, 2021

closes #7
this also partially solve #225

Customizable OpenTopped Properties

  • You can now specify settings of OpenTopped transport locally
[SOMETECHNO]			       ; require `TechnoType` with `OpenTopped=yes`
OpenTopped.RangeBonus=1			; integer, range bonuses for troops shooting from open topped transport
OpenTopped.DamageMultiplier=1.3       ; float , damage bonuses for troops shooting from open topped transport
OpenTopped.WarpDistance=8		; integer , temporal range bonuses for troops shooting from open topped transport

@github-actions
Copy link

github-actions bot commented Sep 21, 2021

Nightly build for this pull request:

@secsome
Copy link
Member

secsome commented Sep 21, 2021

I recommend to use Ares style tag naming like the following:

OpenTopped.RangeBonus
OpenTopped.DamageMultiplier
OpenTopped.WarpDistance

Apply suggestion from code reviewer(2)

Co-authored-by: Uranusian <45818100+Thrifinesma@users.noreply.github.com>
Update src/Ext/Techno/Hooks.cpp

Apply suggestion from code reviewer(s)

Co-authored-by: Uranusian <45818100+Thrifinesma@users.noreply.github.com>
Update src/Ext/Techno/Hooks.cpp

Apply suggestion from code reviewer(s)

Co-authored-by: Uranusian <45818100+Thrifinesma@users.noreply.github.com>
Update src/Ext/Techno/Hooks.cpp

Apply suggestion from code reviewer(s)

Co-authored-by: Uranusian <45818100+Thrifinesma@users.noreply.github.com>
Update src/Ext/Techno/Hooks.cpp

Apply suggestion from code reviewer(s)

Co-authored-by: Uranusian <45818100+Thrifinesma@users.noreply.github.com>
@Otamaa Otamaa force-pushed the feature/Deharcode-Opentopped branch from 290375b to 9d641c7 Compare September 21, 2021 15:13
Copy link
Member

@Metadorius Metadorius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code style is good mostly. Fix stuff pointed out in comments and add readme entry for your contribution.

@Otamaa Otamaa force-pushed the feature/Deharcode-Opentopped branch from 8a11e60 to 8201d83 Compare September 25, 2021 02:15
@Metadorius Metadorius merged commit f4d933f into Phobos-developers:develop Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenTopped logic dehardcoding for Technotypes

4 participants