Git Product home page Git Product logo

opr-af-to-tts's People

Contributors

thomascgray avatar tomcgray avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

adamlay

opr-af-to-tts's Issues

Let the user save the current settings of output and go back to old settings, etc.

I think this is honestly probably really useful - let people keep multiple settings of colours for output, etc.

Needs to have

  • some way to save the current settings to storage
  • load what the settings should be out of storage on page load
  • a menu/dropdown/selection of which output settings to change to
    • some identifier/preview for each of those. maybe the date + colorus?
  • a way to delete configs?

Keep the current list in local storage

We probably don't need to start fucking around with keeping lists and deleting and editing and all that, but just some general kind of "the thing you're currently working on persists between refreshes" would be a nice quality of life improvement.

Combined units/heros joins are respected in the TTS "Activation" toggle

Some way of;

  • in the webapp, display combined units and hero joins in clearly defined way
  • in the tool, the cards need to reflect joined units in some clear, simply way
  • the in-mod status effects need to respect the combined units and hero joins;
    • e.g if a hero is joined to a unit, that hero is "included" when toggling status effects for the unit

An option to not use small text

One last thing (I promise lol), maybe make the sub/small text an option as well? I had to strain my eyes a little to read it and I fear that it may be unreadable to some people depending on their eyesight or monitor setup.

Plague Disciples - Plague Champion, broken upgrade

image
Ends up with a heavy pistol and an energy sword

because of this upgrade
image

but then he can also upgrade the other CCW
image

So it looks weird in the data
image

The loadout data is correct
image

So I think its ultimately an issue with our "fake loadout items for unit wide special rules" thing.

Right Click -> "Select Unit"

A right click option to select a whole unit, and display a count of models in that unit. Useful for when things get tight and chaotic.

Detect army game system and adjust special rules text accordingly

We can detect what game system the army list is for (future, firefight, age of fantasy, age of fantasy skirmish, etc.).

We need to use this to adjust the text output for the special rules that are different between these systems.

Off the top of my head; Hero and Tough are definitely different, quite possibly others.

Issue importing sharable link for TTS from Tombola's OPR Army Forge to TTS Tool to OPR AF to TTS Importer TTS mod

Hello,
I get this error whenever i try to paste a link from the Army Forge to TTS tool into the OPR AF to TTS mod:

Error in script (global): chunk_0:(679, 11-67): Expected string argument to JSON.decode(), got HTML?

image

I've tried completely reinstalling everything, including TTS, from what I can see nothing is blocking TTS in my firewall, I'm still able to join other games. I know I'm copying the correct link because i give it to my partner and they load up a room for me to join and use the link I gave them to load and assign my models.

Not sure what else it could be, I've run out of ideas.

Include custom special rules text in output

[Issue re. custom armies and custom special rules]
I'm wanting the TTS tool to support custom rules (as evidenced in ⁠playing-online earlier today) so I've made this army
https://army-forge.onepagerules.com/share?id=I_PB05NtLD_j&name=Congregation_-%20%22Corona%22
which uses the "Avenger" custom special rule
but when I retrieve that army via the TTS endpoint here
https://army-forge.onepagerules.com/api/tts?id=I_PB05NtLD_j
the rule text for "Avenger" is no where in the output.
Would it be possible to get that in?


This is currently blocked by Army Forge TTS endpoint not returning the rules text for custom special rules.

See https://army-forge.onepagerules.com/api/tts?id=I_PB05NtLD_j for example - "Avenger" is a custom special rule and doesn't have any rule text (unlike something like "Shield Wall" in that example, that you can see does have rule text)

A "deactivate army" right click menu option

You can now activate individual units.

Cool.

But in a real game, every unit gets de activated at the same time.

We should add a "deactivate army" right click option menu.

This will also require a new "army id" to be passed across the wire.

Some special rules need rating in name even if they're not innate

Taken from #24 (comment)

Related issue I noticed, Psychic may not be affected by this change, especially not Psychic upgrades:

image

Notice here that no Psychic (X) is shown and there is no indication on the model stat except the assignment card that it received a Psychic(+1) upgrade.


I think we need to work out some way of saying that certain rules do need their rating included in the main body output, EVEN if they're not innate.

  • maybe just literally a hardcoded list?
  • maybe we include the rating for all items?
  • maybe something to do with if the special rules comes from a weapon vs not a weapon?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.