Macros vs Scrolls: Difference between revisions

From Bonfire by Hogswild Prasetto
bonfire-wiki>Shadowlost25
Created page with "=== What are Macros? === Macros are a file that can contain a bunch of different commands, actions, and logic that can be shared freely among players to add a specially prepar..."
 
Line 1: Line 1:
=== What are Macros? ===
=== What are Macros? ===
Macros are a file that can contain a bunch of different commands, actions, and logic that can be shared freely among players to add a specially prepared action(s) to NPCs that normally only follow what was given to them by default. For example, you could create a macro, inject it into [[Celik]] that teleports him to the Beach scene with a pirate getup and is much beefier and a massively increased cock, that is fapping. It all depends on how the macro is written. Macros can encompass conditional logic so the macro can do different things based on the situation. The genie virus macro that Hogswild developed which when injected into an NPC, corrupts them, makes them huge and makes them go search for uncorrupted orcs to jerk off on and infect.
Macros are a type of item that hold a batch of commands that can be executed using logical operators (conditionals) much like those found in dialogues. Their structure and format is the same, only that macros are executed without displaying any dialogue. These can be created in-game by typing '''sedit''' into the command console.


Macros are created with the sedit command, and injected (added to an NPC for usage) and executed (run on the NPC) by the macroinject and macroexecute functions respectively. See [[Console Commands]] for proper usage.
A conditional is a simple check made on specific data that the game and the characters provide. For example, a common conditional would be to check if the player has completed a quest, has a specific item on their inventory, or is of a specific height.
 
Macros can be used to do complex tasks and even craft custom character AI (artificial intelligenge), when properly combined with timed execution commands, such as timedmacro and macroexec. Macros save to .ror files and have a readable json structure (non encrypted) and are stored in Mods/RawDialogues in the game's Appdata folder.
 
Macros can be shared freely among players to add a specially prepared action(s) to NPCs that normally only follow what was given to them by default. For example, you could create a macro, inject it into [[Celik]] that teleports him to the Beach scene with a pirate getup and is much beefier and a massively increased cock, that is fapping. It all depends on how the macro is written.The genie virus macro that Hogswild developed which when injected into an NPC, corrupts them, makes them huge and makes them go search for uncorrupted orcs to jerk off on and infect.


See [[Macros]] for more details.
See [[Macros]] for more details.

Revision as of 14:58, 21 January 2019

What are Macros?

Macros are a type of item that hold a batch of commands that can be executed using logical operators (conditionals) much like those found in dialogues. Their structure and format is the same, only that macros are executed without displaying any dialogue. These can be created in-game by typing sedit into the command console.

A conditional is a simple check made on specific data that the game and the characters provide. For example, a common conditional would be to check if the player has completed a quest, has a specific item on their inventory, or is of a specific height.

Macros can be used to do complex tasks and even craft custom character AI (artificial intelligenge), when properly combined with timed execution commands, such as timedmacro and macroexec. Macros save to .ror files and have a readable json structure (non encrypted) and are stored in Mods/RawDialogues in the game's Appdata folder.

Macros can be shared freely among players to add a specially prepared action(s) to NPCs that normally only follow what was given to them by default. For example, you could create a macro, inject it into Celik that teleports him to the Beach scene with a pirate getup and is much beefier and a massively increased cock, that is fapping. It all depends on how the macro is written.The genie virus macro that Hogswild developed which when injected into an NPC, corrupts them, makes them huge and makes them go search for uncorrupted orcs to jerk off on and infect.

See Macros for more details.

What are Scrolls?

Scrolls are different commands and actions in item form in the players inventory. They cannot contain conditional logic currently. Scrolls differ from batch commands in that an item exists in the players inventory (a scroll) and there is a corresponding animation. Most of the actions that are seen in game can be replicated by calling the right commands. Scrolls provide a quick and easy way to call a bunch of commands in sequence. A simple example would be a save scroll, that calls the save function and the orccallback function to trigger galaxyParticles to give the action more flair.

Scrolls are created with the recstart and recstop commands. The scroll is created in the inventory of the current target of the console. WARNING: If the target is not the player, the scroll exists only in the memory of the NPC of the current orc file. It does not actually add it to a .bab files inventory.

See Scrolls for more details

Why to use one over the other?

Macros can be freely shared among players as a file that just needs to be dropped in the proper folder. They still need to be injected and then executed via the command line to have any effect. Scrolls however can be included in an .orc or .bab inventory as something to use. The recipe of a scroll can be shared but it would need to be recreated. Macros add behavior to NPCs, Scrolls do sequential commands for both player and NPCs.