Skip to content
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

Add a function to port BI VA loadouts to ACE Arsenal #5943

Merged
merged 8 commits into from
Dec 26, 2017

Conversation

alganthe
Copy link
Contributor

When merged this pull request will:

  • Adds a function that can be called to port over BI VA loadouts to ACE Arsenal.

@@ -0,0 +1,40 @@
/*
* Author: alganthe
* Port VA loadouts to ACE Arsenal
Copy link
Member

Choose a reason for hiding this comment

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

Missing final dot.

* Port VA loadouts to ACE Arsenal
*
* Arguments:
* 0: Write over similarly named loadouts in ACE Arsenal <BOOL>
Copy link
Member

Choose a reason for hiding this comment

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

<BOOL> (default: false)

@jonpas jonpas added the kind/enhancement Release Notes: **IMPROVED:** label Dec 21, 2017
@jonpas
Copy link
Member

jonpas commented Dec 21, 2017

Maybe add a button somewhere?

@alganthe
Copy link
Contributor Author

it need to load the loadout before saving it, that could be easily abused.

@bux
Copy link
Member

bux commented Dec 21, 2017

Force it to only work in SP

@alganthe
Copy link
Contributor Author

now that I think about it I could add a button in 3DEN instead of changing the ACE Arsenal interface.

@alganthe
Copy link
Contributor Author

If I add such a button, should I place it under tools or make an ACE category for the main bar?

@alganthe
Copy link
Contributor Author

alganthe commented Dec 21, 2017

I removed the override argument (it always does it now) and added a button under tools in 3DEN:
image

@alganthe
Copy link
Contributor Author

added an error message for both:

  • No VA loadouts to import
  • No player unit

should be good to go.

@@ -433,5 +433,17 @@
<Italian>Impossibile aprire l'arsenale ACE</Italian>
<Japanese>ACE 武器庫を開けません</Japanese>
</Key>
<Key ID= "STR_ACE_Arsenal_portLoadoutsText">
<English>import BI VA loadouts to ACE Arsenal</English>
Copy link
Member

Choose a reason for hiding this comment

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

Import (capitalization).

I think something like Import Vanilla Arsenal loadouts to ACE Arsenal would be more understandable, but longer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The issue is that it translates poorly into other languages, on the other hand "BI VA" is pretty much universal.

<French>Importe les loadouts de BI VA dans ACE Arsenal</French>
</Key>
<Key ID= "STR_ACE_Arsenal_portLoadoutsPlayerError">
<English>No player unit available!</English>
Copy link
Member

Choose a reason for hiding this comment

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

I would add instruction on what to do to make it work, such as No player unit available! Place a unit and mark it as "Player" or something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

huh, surprisingly you can fit a lot more characters than I thought in those messages

<French>Aucune unité joueur disponible !</French>
</Key>
<Key ID= "STR_ACE_Arsenal_portLoadoutsLoadoutError">
<English>No loadouts to import</English>
Copy link
Member

Choose a reason for hiding this comment

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

No ! or . here?

@jonpas jonpas added this to the 3.13.0 milestone Dec 22, 2017
<English>No player unit available!</English>
<French>Aucune unité joueur disponible !</French>
<English>No player unit available! Place a unit and mark it as "Player".</English>
<French>Aucune unité joueur disponible ! Placez une unité et marquez la en tant que "joueur"</French>
Copy link
Member

Choose a reason for hiding this comment

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

Missed final dot? ^^

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dammit !

@PabstMirror PabstMirror merged commit 69f7484 into acemod:master Dec 26, 2017
@PabstMirror PabstMirror modified the milestones: 3.13.0, 3.12.1 Dec 31, 2017
BaerMitUmlaut pushed a commit that referenced this pull request Aug 5, 2019
* Add a function to port BI VA loadouts to ACE Arsenal

* Fix typos in the header

* Remove override argument, add button in 3DEN

* Add null player exception

* Remove unused passed argument

* Add error messages to portVALoadouts

* Change error messages

* Add missing dot in string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants