Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
builders_kit [2021/05/31 15:43] nuefox |
builders_kit [2022/03/26 02:55] (current) nuefox [Broadcast Channels] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Builders Kit ====== | ====== Builders Kit ====== | ||
- | The builders kit provides numerous scripts that allow integration with AnE for inclusion in your own projects; some example scripts are provided to assist you in starting and you can always reach out in the group or message the creator for assistance in getting your project going. Presently what is included in the kit is the following: | + | The builders kit available in the [[https:// |
==== Stats Script ==== | ==== Stats Script ==== | ||
Line 11: | Line 11: | ||
Few things to take into consideration is that the calculated affect applies to the existing stat value; so if the vitality stat is already at 40%, doing a hit for -250 (or -25%) will drop vitality down to 30% (25% taken from 40% leaves 30%); the other factor to take into consideration is that at this time, there is no way to adjust a stat percentage beyond the bounds of 0% to 100% (it has not yet been assessed what implications could arise from going out of bounds so values are capped); some stats are indirectly affected, such as increasing arousal will decrease defense for example, there is not a table which identifies these relations yet but something to keep in mind for implementation that may exist for the stat you are attempting to affect. | Few things to take into consideration is that the calculated affect applies to the existing stat value; so if the vitality stat is already at 40%, doing a hit for -250 (or -25%) will drop vitality down to 30% (25% taken from 40% leaves 30%); the other factor to take into consideration is that at this time, there is no way to adjust a stat percentage beyond the bounds of 0% to 100% (it has not yet been assessed what implications could arise from going out of bounds so values are capped); some stats are indirectly affected, such as increasing arousal will decrease defense for example, there is not a table which identifies these relations yet but something to keep in mind for implementation that may exist for the stat you are attempting to affect. | ||
+ | ==== Discovery Script ==== | ||
+ | The ' | ||
+ | ==== Broadcast Channels ==== | ||
+ | The following channels broadcast JSON data; see the ane.broadcast.example script: | ||
+ | | ||
+ | * integer CHAN_BROADCAST_SETTINGS = -1537921548; | ||
+ | * integer CHAN_BROADCAST_PREGNANCY = -1537921547; | ||
+ | * integer CHAN_BROADCAST_STATE = -1537921546; | ||
+ | * integer CHAN_BROADCAST_STATS = -1537921545; |