Console Commands

From Bonfire by Hogswild Prasetto
Revision as of 23:17, 28 June 2020 by bonfire-wiki>Sonic260 (Console Commands Page Re-write. Had to save because Fandom is acting up.)

The console can be accessed by hitting F1 on your keyboard. To use a command, first set your target, and then use one of the commands below.

Commands can be used nearly every aspect of Bonfire modding, from Scrolls to Lua Scripts, and even NPC Dialogue and Macros as a CustomCall Action.

Note that all commands are case-sensitive.

Basic Commands


Command

Usage

Effect

target

target orcname

Sets the console target for most commands. Names are case-sensitive. You can also use Special Arguments as place holders for names (See the Special Arguments / Logic) section.

By default, the player is the console target when the scene loads. Some commands will only work for the player, even if the target is another NPC

targetclear

Clears the current target and returns control to the player.



Warning: Do not use this while online because it will cause syncing issues. Every connected user is the “player” from their perspective. Either target your orc by name explicitly, or use the @self parameter.

batch

batch command1;command2;command3

Allows you to call multiple commands at once, separated by semicolons after the batch keyword.

Note: Do not put spaces after each semicolon

invokedelay

invokedelay delay

If used with invoke, this sets a delay timer for when a command is executed.



If used with timedmacro, this sets a timer for how long the macro will loop itself and execute. A value of “Infinity” will make the macro execute until it gets stopped by another process.



Ex:

invokedelay 4

invoke origins



This will run the origins command after 4 seconds have passed.

invoke

invoke command

If invokedelay was used prior, this will execute a command after a delay of the time specified.

aoe

aoe buffName,duration,range,repeats

Applies a buff to all orcs in an area around the current console target, but not including the target.



buffName – The buff to be applied



duration – How long the buff should last



range – Controls the size of the area effect. This can be a value from 1 to 12.



repeats – The “strength” of the buff. It basically reapplies the same buff multiple times for a faster effect.

aoecmd

aoecmd commandName\delay\range



or

aoecmd commandName\delay\range\iterations



or when using Lua:

orc.consolecommand(”aoecmd commandName\\delay\\range\\iterations”)

Casts a console command within a set area around the current console target, but not including the current target.



Unlike most commands, aoecmd’s parameters are separated by a backslash \ character, rather than a comma.

Backslashes are used as an escape character in most programming languages. If this command is used within a Lua script, you will need to use two backslashes between each parameter: \\



commandName – The console command you want to use



delay – Specifies how long the command will wait before executing. Note: This is not applicable to all commands!



range – Controls the size of the area of affect. This can be a value from 1 to 12.



iterations (optional) – Will attempt to repeat the same command for the amount specified

infodialogue

infodialogue enter message here

Prints a message on the middle of the screen. If used online, this will appear for all players.

exit


Exits the command console

cls


Clears the text in the command console

Debug commands

These commands are useful for debugging purposes.


Command

Usage

Effect

save

Saves your progress.

rel

Reloads the current scene. Can be used to unstick the game.

dory

Wipes your character's memory entirely, essentially resetting quest progress back to zero and resetting your NPCs’ appearance. Your items and waypoints are not affected, however.



This also deletes all Data Flags and Lua Scripts from your inventory.

goel

Gives you full quest progress on all main orcs and all waypoints.



Delete any non-official Data Flags, and cancels (but not deletes) any running Lua Scripts.

hobo

Wipes most items from your character’s inventory.

obliviate

[DEPRECATED] Removes NPC data from the NPC’s inventory.

This has been succeeded by the dory command

stiff

Removes all poses from the players inventory

showhiddenitems

Opens the inventory and reveals hidden, internal data. Using the command will hide everything again.



For practical purposes, this reveals the Data Flags tab in an orc’s inventory for quest-tracking purposes.

forceinventory

Opens the current console targets inventory.

itemlist

Show a list of available equipment, and their item IDs.

give

give itemID

Makes the target wear a piece of equipment with the itemID specified. Reference itemIDs for a list of items

foodlist

Shows the list of available food and their item IDs

quickfeed

quickfeed itemID

Makes your target eat the food specified, but does not place it in their inventory. Reference itemIDs for a list of items

lordofshapes

Pulls up sliders that allow for the player to adjust stats such as height, cocksize, arousal, muscle and more. Type lordofshapes again to turn it off.

feditbod


Pulls up the character editor to change your orc’s appearance

chedit

Quickly opens the NPC editor

coord

Displays your character's coordinates, including rotation

refpos

Retrieves and stores the target’s current coordinates. This can be used later to place NPCs in the NPC Editor, or used to teleport orcs or assets using tp2refpos or assetrefposset.

refrot


Retrieves and stores the target’s current rotation for use later. Commands like rot2refrot will set the target’s rotation to match the stored rotation.

rot2refrot


Sets the target’s rotation to the rotation coordinates stored from refrot

Time Commands
  • dawn
  • morning
  • noon
  • afternoon
  • eve
  • night
  • midnight

Sets the time of day to the name specified

necro

necro orcName

Brings back a deleted character from the graveyard.

del

Deletes the target, rendering them as untargetable for further commands. The character will get restored when the scene reloads.

hide

Causes a character to fade out, but they will still be affected by commands. Reloading the scene will make them appear again.

orcinterestset

orcinterestset orcA,orcB

Causes orcA to turn their head to look at orcB, setting the target for the @selfinterest (or @playerinterest if used on the player) parameter.

chrname

chrname newname

Changes the targets name to newname. Not recommended to use on the player or Lore NPCs. This is disabled online.

alltps

Grant access to all waypoints for fast travel.

alwin

Opens the alchemy window

removescriptflag

removescriptflag flagname

Deletes a Data Flag from the target's inventory, if it exists.

strip


Strips the target of any equipment they’re wearing, and makes them naked.

Spawn commands
  • spawn
  • spawnrandom
  • spawnrandomhuman
  • spawnrandomorc
  • spawnrandomiguapi

Spawns a random, dialogue-less NPC next to the target. This NPC becomes the new console target.



Unlike Fantasies, spawned NPCs can be fused with.

freezenode


Freezes a target and stops all movement

unfreezenode


Unfreezes a target.

Warp / Travel Commands

These commands quickly transport the target to a different location within the current scene or to other scenes.


Command

Usage

Effect

travel

travel levelname

Instantaneous transport to levelname. See Areas for more information.

travelquiet

travelquiet levelname

Does the same as travel, but will not flash the screen nor play a sound effect. This may freeze the game for a while.

tplist


Shows a list of way points in the scene.

tp

tp location

Teleports you to one of way points retrieved by tplist.

tp2orc

tp2orc name

Teleports you to any orc with the given name

tp2orcquiet

tp2orcquiet name

Does the same as tp2orc, but will not play a sound effect nor flash the view.

tp2refpos


Teleports the target to the current coordinate set by refpos.

chrpos

chrpos x,y,z

Teleports the target to the specified coordinates.

chrrot

chrrot x,y,z

Gives the character a specific rotation. Only the y parameter works. X and z can be filled with 0.

Customization Commands

Customization commands allow you to color your orc's gear or load external files to create scars and tattoos.


Command

Usage

Effect

colorleather

colorcloth

colorplate

colorleather R,G,B

colorcloth R,G,B

colorplate R,G,B

Allow you to assign custom colors to any applicable leather, cloth, or plate pieces you are wearing using RGB notation

tatguide


Generates a sample UV Map .png file in the %appdata%/Prasetto/ Bonfire/Tattoos folder of your Bonfire directory. This image acts as a guide for making custom scars and tattoos. See Creating Tattoos for more information

tattoo

tattoo fileName

Imports the fileName tattoo/markings into an item in your characters inventory. Be mindful the data will be serialized into your character and will drastically increase the file size of the player orc. Too many tattoos will make it difficult to load your orc in online play

scar

scar fileName

Similar to tattoo: adds scars on your character.

In order to make a tattoo, non-black colors must be used (grayscale is the best). White appears the most vivid as a tattoo, while black colors will be completely invisible.



Transparency controls the “softness” of the tattoo.

Admin Commands

These commands are used to access special controls during online play.


Command

Usage

Effect

adminlogin

adminlogin password

This lets you log into the server as an administrator, enabling you to use console commands freely.

Your password is created when launching a new server through NetBench



If the password is a null value, simply place an empty space after the command.

gm_plist


Opens a panel containing a list of players and their client IDs. You can also view any active buffs on other players, save a log of the console commands they’ve executed, or save a copy of their orc on your computer

gm_ntassets


Opens a panel that allows you to spawn or remove spawned objects online, such as camp fires or stone beds.

gm_ntassetlist


Saves all spawned objects and writes them into an “assetdump.txt” file located in Bonfire’s AppData folder.

gm_ntassetllst


Reads the “assetdump.txt” file created with gm_ntassetlist, and spawns objects at their appropriate coordinates

Sex Commands

These command start sex animations with the current target and their current "interest"


Command

Usage

Effect

oldforeplay

The target will start Foreplay with another orc, if they are close enough.

fap

The targeted orc will masturbate.

fapstop

If fap is used on the player, use this to make them stop masturbating in place of the ESC key.

floorfap1

Masturbation, but the target will lie on the ground.

floorfap1stop

Stops floorfap1

sca1

Acronym for "sex scene anal 1", will have the target and his interest engage on doggy-style anal sex on a nearby hot spot. If none exists in the scene, or if you’re too far away, nothing happens.

sca2

Like sca1, but does missionary anal position.

sco1

Acronym for "sex scene oral 1". Unlike sca1 and sca2, this one will be played on the spot where the characters are standing, not requiring a predefined sex hotspot.

sc69

Like sco1, but does a 69 position.

Transforming commands

Commands for changing your orc's appearance.


Command

Usage

Effect

natty

Returns your character to their last known naturally achieved shape (ie, from eating fruits). Natty will also cure you of corruption.

origins

Similar to natty, but returns you to the shape your character had upon creation.

Warning: If your character was a genie for an extended period of time, origins may not restore your form.

resnatty

Saves your character's current appearance as their new "natural" shape, for the natty command.

Be sure to save the game to make this change permanent.

resorigin

Saves your character's current appearance as their new "original" shape, for the origins command

Be sure to save the game to make this change permanent.

xl


Instantly makes the target the max height

Quickgrow Commands
quickgrow

quickgrow1

quickgrow2

quickgrow3

Accelerates whatever growth spell the target may be experiencing. quickgrow plays a random animation, while the rest play a specific one.

hairlist


Shows a list of all available hairstyles for the hair command.

hair

hair id,length

Changes your hairstyle. Length is a decimal between 0 and 1

See Hair/Beard Styles for info on the id numbers

beardlist


Shows a list of all available beards for the beard command.

beard

beard id,length

Changes your beard style. Length is a decimal (float) between 0 and 1

See Hair/Beard Styles for info on the id numbers

splice

Turns your character into an average fusion of every character you've created

Genie's Curse

curse

cursebara

curseorc

curseiguapi

cursedorf

cursegoblin

geniefy

Adds Genie's Curse to the target.


curse will randomize the transformation.

The other curses will transform you into the race specified

geniefy will instantly turn anyone into a full genie. If you are geniefied for an extended period of time, the origins command will not restore your form.

barasel


Opens a window where you will see a preview of a “barafied” version of your orc.



Clicking the mouse will change the preview’s appearance, and pressing the Enter key will apply a curse on your orc that transforms them into the bara preview.

purify

Removes the Genie's Curse, but does not revert your orc's form. This also does not remove the Genie's tattoos received from a full curse.

swap

swap orcA,orcB,duration,multiplier

Attempts to perform a body swap on two orcs. duration controls how long the swap should take, while multiplier controls the speed. 1 is slow, while 100 is the fastest.

It is possible to have an incomplete body swap if either the duration or multiplier are set too low.

Special Arguments, such as @self and @selfinterest can be used in the place of orc names.

convert

convert orcA,orcB,duration,multiplier

Similar to Swap, but changes OrcB's body shape into OrcA's bodyshape, without affecting OrcA.

“Transformify” Commands

barafy - Human


barafy target,strength,duration,burstdelay

barafylite target,strength,duration,burstdelay

orcify – Orc


orcify target,strength,duration,burstdelay

orcifylite target,strength,duration,burstdelay

iguapify – Iguapi


iguapify target,strength,duration,burstdelay

iguapifylite target,strength,duration,burstdelay

dwarve – Dwarf


dwarve target,strength,duration,burstdelay

goblinize – Goblin


goblinize target,strength,duration,burstdelay

The “Transformify” commands morph your character’s appearance towards the race specified. The “Lite” versions won’t change your current beard or hairstyle.

target – The name or Special Argument (@selfinterest, etc) for who will change.

strength – This is the percentage of the transformation. A value of 1 will be barely noticeable, while a value of a 100 is a full transformation

duration – How long the transformation will take to complete.

burstdelay – Determines if the transformation should be applied in bursts, or be a smooth transition. A value of 5 will apply a little bit every 5 seconds, while a value of 0 will have no delay at all. Warning: Ration your duration, and burstdelay appropriately or else the transformation will stop before it’s complete.

Fusion commands

These commands are used to fuse multiple orcs into a host character.

Command Usage Effect
fuse fuse orcA,orcB Will fuse the two orcs with the names provided as orcA and orcB. You may use the shortcuts @playername and @playerinterest, or @self and @selfinterest in place of actual names in order to apply the effects to the player, current console target and any character currently interacting or in proximity to them
fusenew target targetName

fusenew

Instantly fuses the target orc with whomever they're looking at. This does not play an animation
forcefusion target targetName

forcefusion

The target orc will absorb whomever they're looking at. This will play an animation, and display dark tattoo markings.
unfuse Completely breaks up a fusion
unfusenewbyname unfusenewbyname orcName Removes a specific orc from a fusion.

Macro commands

These commands are used in the creation and execution of macros. See Macros vs Scrolls for more details.

Command Usage Effect
sedit Opens the macro editor, allowing you to write logical macros. These share the same structure as dialogues and thus appear as dialogue files, but are executed without triggering a dialogue scene. Use macros for quick logical processes.
macroinject macroinject

macroFileName

Adds a macro scroll item to the target, which can be executed using commands like macroexec
macroexec macroexec

macroName

If present, executes a macro macroName from the target's inventory
invokedelay invokedelay duration To be used with timedmacro.
timedmacro timedmacro macroName To be used with invokedelay.

Together, these commands run macroName every second for the duration of invokedelay.

Example:

batch target @self;invokedelay Infinity;timedmacro macroName

Will execute macroName every second, forever.

batch target @self;invokedelay 10;timedmacro macroName

Will execute macroName every second, for 10 seconds.

timedmacrostop timedmacrostop

macroname

This will stop execution of any macro with the given macroname. The macro itself will still exist in the inventory of the character that was running it.
timedmacropurge timedmacropurge

macroname

Same as timedmacrostop, but this one will also remove the macro from the inventory altogether.
macrocopy macrocopy orcA,orcB,macroName Copies a macro macroName from orcA's inventory to orcB's inventory.
macrohide macrohide macroName Hides the selected macro in the target's inventory, but commands like macroexec and timedmacro can still access it.
macroshow macroshow macroName Un-hides a macro if it was hidden with macrohide
oluacf oluacf

scriptname,function

If a lua script of given name exists in the target character, this command will attempt to run the given function once.

Scroll commands

These commands are used in the creation of the items called Scrolls. See Macros vs Scrolls for more details

Command Usage Effect
recstart recstart scrollName All console commands used after this will be saved and stored in a scroll.
recstop Stops recording console commands and stores the scroll within the target's inventory.
orcscrollexec orcscrollexec

scrollName

If present, casts a recorded scroll within the target's inventory.
scrollcopy scrollcopy orcA,orcB,scrollName Copies a scroll scrollName from orcA's inventory to orcB's inventory.

Dialogue commands

These commands can create and inject new dialog trees into NPCs.

Command Usage Effect
dedit Opens the raw dialogue editor, allowing you to write custom dialogue trees without creating an NPC for them.
modspeech modspeech

rawDialogueName

Will search for and apply a raw dialogue (previously created by the dedit editor) to the target character, essentially replacing their speech with the one provided in this command.
showdiagindex  Shows the dialog tree number for debugging purposes
omen omen name Will read a raw dialogue (ror) of the given name (no file extension needed) from your mods/rawdialogues data and bring it into the game as a monologue, featuring the current player character as the 1st voice (Person 1)
omenpos omenpos x,y,z,rX,rY,rZ,local Will move the last omen that was loaded using the omen command to the given position and rotation coordinates. If local is set to true or 1, the omen will be moved to the location saved using refpos , then offset by the given coordinates herein.

Use this so that the omen dialogue camera is placed at a coherent position once the monologue starts, otherwise you will get awkward camera shots as the speech develops.

Special arguments/Logic

Special arguments can be given in certain situations for the above functions or to variable flags

Argument What does it mean Example
@playername Is replaced by the player's character name, or returns the player's character in console commands like "target name". target @playername
@playerinterest Gives you the character (or their name) that the player's character is currently interacting with, even if they are just looking at eachother. orcify @playerinterest,5,5,0
@self In dialogues, this refers to the speaker.

With macros, this refers to the orc who is holding the script.

@selfinterest Similar to @playerinterest, but applied to @self.
@math +number Used in variable flags to increment a value by number
@math -number Used in variable flags to decrement a value by number
@math *number Used in variable flags to multipy a value by number
@math /number Used in variable flags to divide a value by number
@math ^number Used in variable flags to raise to the power of a value by number
@randint lowest,highest Returns a random integer value between lowest and highest
@randfloat lowest,highest Returns a random float value between lowest and highest
@>> number Returns true if the flag value is greater than number
@<< number Returns true if the flag value is lesser than number
@>= number Returns true if the flag value is greater than or equal to number
@<= number Returns true if the flag value is less than or equal to number
@!= number Returns true if the flag value is not equal to number.
@any Always returns true regardless of the following number.

Dangerous commands

Use the following at your own peril. They circumvent normal game logic for a specific effect. They may break the game, user experience, or may be broken on upgrade. These commands are considered volatile.

Command / What it does Usage Accepted commands
buff

Grants the target a buff that applies in increments of 1.

Many of these buffs are viewable in the dialog or macro editors

Applying the same buff multiple times will increase its strength. You can achieve this with the batch command.

buff buffName,duration
  • AutoGenieCorruption
    • Enables normal corruption applied by curse to progress towards full genie corruption
  • BallSizeIncrease / BallSizeDecrease
  • BodyFatIncrease / BodyFatDecrease
  • CurseImmunity
    • Makes the target immune to all forms of the Genie's Curse
  • Disappear
    • Using the buff command controls how long it takes for you to actually disappear.
    • Using buffperma will make you reappear.
  • Goblinize_BigBaraHuman
  • Goblinize_BigOrc
  • Goblinize_Dwarf
  • Goblinize_Goblin
  • Goblinize_Invert
  • Goblinize_Swap
  • Goblinize_SwapHeight
  • Goblinize_SwapMuscle
  • HardNCum
    • Gives your character an erection, and makes them cum at the end of duration
    • If used with buffperma, your character will only cum when something causes the buff to end.
  • HeightIncrease / HeightDecrease
  • HyperPenisLength
  • JawIncrease / JawDecrease
  • JumpBoost
    • Increases jump height
  • MuscleIncrease / MuscleDecrease
  • PenisBulger
    • Makes your penis twitch and get hard
  • PenisGirthIncrease / PenisGirthDecrease
  • PenisLengthIncrease / PenisLengthDecrease
  • PenisShowerIncrease / PenisShowerDecrease
  • PinkTrip
    • Makes you high.
  • Restorator
    • Slowly restores your character's natural shape.
  • Scruff
    • Adds body hair
  • SpellImmunity
    • Target will be immune to transforming buffs and commands
  • Sweat / SweatLesser / SweatMinimum
  • Wax
    • Removes body hair
buffperma

Similar to buff, but the buff will not expire.

buffperma buffName See above.
buffclearall

Stops any active buffs.

orccallback

Calls some internal target functions for usage in scripts.

orccallback command
  • galaxyParticles
    • Gives your orc a smoke effect that normally appears during the fusion cuscene.
  • ghosteffecton
    • Adds a glowing blue effect, as seen on Kult
  • ghosteffectoff
    • Removes the glowing effect added via the command above.
  • greenGlowSimple
    • Adds the glowing effect seen during fusion sequences.
  • greenGlowSimpleRemove
    • Removes above glowing effect.
  • strip
    • Removes all of the target's clothing.
  • sex2diag
    • Use this command right after a sex interaction is finished when you need to continue the character's speech as normal dialogue (otherwise, continuing dialogue will result in the characters retaining the animation from the sex scene)
  • mugshotoff
    • Turns of dialogue mugshot for this character.
  • mugshoton
    • Turns on dialogue mugshots for this character (default setting)
  • voidCameraOff
    • Turns off the "black camera" seen during orgasm and fusion
overlay

Adds a special effect to the orc.

  • Tendrils1
    • Makes the genie's curse tendrils appear over the target.
  • HeadWear_GenieRubee1
    • Gives the target Eves' rune
  • HeadWear_GenieRubee2
    • Gives the target Levi's rune