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

players.xml extras #50

Open
14 of 22 tasks
jerbmega opened this issue Feb 28, 2023 · 5 comments
Open
14 of 22 tasks

players.xml extras #50

jerbmega opened this issue Feb 28, 2023 · 5 comments
Labels
enhancement New feature or request xml Involves XML files

Comments

@jerbmega
Copy link
Collaborator

jerbmega commented Feb 28, 2023

from sanio and foks:

  • maxHearts="int" Adds empty red heart containers. 2 units is a full heart container
  • redHearts="int Adds red health to empty heart containers. 1 unit is half a heart
  • soulHearts="int" Substitute for armor
  • blackHearts="int" Substitute for black
  • boneHearts="int" Adds empty bone hearts. 1 unit is one bone heart
  • goldenHearts="int" Adds golden hearts. 1 unit is one golden heart
  • rottenHearts="int Adds rotten hearts. 1 unit is one rotten heart
  • eternalHeart="bool" Setting to true will add one eternal heart, false by default. Optionally for consistency with EntityPlayer:AddEternalHearts, make it an int instead?
  • healthType="int" Sets the HealthType of the player, abiding by the HealthType enum
  • healthLimit="int Sets a default limit for the number of maximum hearts a character can have. 2 units is one full red heart, can be above 12 for going above maximum cap by default
  • gigaBombs="int" Adds a Giga Bomb to the player. 1 unit is one Giga Bomb
  • forceBlood="bool" Setting to true will have tears default to shoot their blood variants if available, similar to Esau. False by default
  • stagePortrait="string" File path to a .png file that is exclusively shown on the stage transition screen. Paired with a respective extraStagePortrait="string" for anm2 files
  • bossPortrait="string" File path to a .png file that is exclusively shown on the vs. screen. Paired with a respective * [ ] extraBossPortrait="string" for anm2 files
  • weapon="int" Changes the player's weapon, abiding by the WeaponType enum
  • firedelay, damage, speed, range, shotspeed, luck="int" Sets the base integer before any calculations are done on the respective stat
  • damageMultiplier="float" and fireDelayMultiplier="float", sets the base damage/firedelay multiplier of a character
  • flying="bool" Setting to true has the character with flight by default. False by default.
  • innateItems=itemID Acts like items, except the item is not part of the player's inventory and cannot be removed. Similar to Lilith's Incubus

The following ones are a bit of a stretch but thought we'd suggest them anyways:

  • costume="id" (Foks' idea) Changes the behaviour of old costume arg to instead take the id from costumes.xml file kinda like it does with items.xml file, or (Sanio's idea) add a new nullCostume="id" argument.
  • costumeSuffixOnly="bool" Setting to true will only add costumes that are added within the costumeSuffix folder if one is set. False by default.
  • needUnlock="bool" Setting to true, the tainted character is locked by default. A second frame in the character's charactermenualt.anm2will be used for showing the locked screen. Works as expected, spawning the "tainted character" slot entity in the closet on the Home floor. Touching it will unlock the tainted character inside the character menu.
@Sanio46
Copy link
Collaborator

Sanio46 commented Oct 10, 2023

Oh and another extra bit: A bool for determining whether or not the player portrait should shake or not. Both the boss and nightmare anm2s have a separate layer just for non-shaking characters, like Blue Baby, which we have no ability to use.

@Sanio46
Copy link
Collaborator

Sanio46 commented Dec 15, 2023

the costume="id" is added as of 21c940c

@Foks256 Foks256 added enhancement New feature or request xml Involves XML files labels Feb 11, 2024
@nazardz
Copy link

nazardz commented Feb 21, 2024

is there would be anything like in challenges.xml - "unlockachievement" for players completing marks?

@im-tem
Copy link
Collaborator

im-tem commented Feb 21, 2024

is there would be anything like in challenges.xml - "unlockachievement" for players completing marks?

We are aware of the importance of this functionality and a solution for it is planned

@Sanio46
Copy link
Collaborator

Sanio46 commented Apr 19, 2024

"noshake" attribute added in d636ad4 :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request xml Involves XML files
Projects
None yet
Development

No branches or pull requests

5 participants