IruMoto NPC Engine Notecards

Fourteen support notecards are required for the IruMoto NPC Engine, for use in virtual worlds running Open Simulator 9 and later.

Purpose and functionality

  • .npcConfig500.1s – stores global variables that provide information for .[npcExist] and .[npcAction] scripts.
  • .botProfile500.1s – contains the profile bio and photo if applicable for your NPC. Regardless of whether you want to go to the trouble of providing this info, the card is still required.
  • .botOutfits – stores the names of 11 outfits (avatar appearance sets), as you want the names to appear in the blue drop down menu.
  • 11 outfit cards – these store details of each outfit in .xml format.

NPC Config (.npcConfig500.1s)

NPC Config notecards store global variables needed by the scripts.

Copy and paste the following into a blank notecard called “.npcConfig500.1s”. Edit the information listed.

# Primary Bot Configuration file.
# Do not delete or add any lines.
# Only make changes to text beneath each # heading

# FIRST NAME
Ant

# LAST NAME
LeSalles

#BOT GENDER - options: He, She, or It (Capital first letter)
He

#DEFAULT OUTFIT - must be a card name in this prim
.outfit1

#BOT TYPE - options:
- GUEST (creates bot on a remote prim), 
- SENSOR (creates bot on root upon human detection),
- TRIGGER (creates bot on root upon LoveEng command),
- ALWAYS (bot self-creates and self-reboots).
SENSOR

# DEFAULT UUID (of Love Engine prim)
0193e16f-748f-4cbd-9103-50bd4b2b14d4

# MENU CHANNEL - must be unique to this bot
-9171449

# SENSOR CHANNEL - affects all bot types. This is the same as proximity sensor channel. This is region-wide comms channel, linked to but not controlled by a proximity sensor script. Can affect all bot types, not just Sensor bots.
-210105

#TRIGGER WORD - affects all bot types controlled by a Love Engine or proximity sensor.
Ant

# BIRTH DELAY (seconds) - stagger this time if several bots in scene
9.0

#SECONDS BETWEEN REBOOTS - affects GUEST & ALWAYS
3600

# DOES THIS BOT LISTEN TO AN IRUMOTO TIME GENERATOR? YES/NO
NO

# TIME GENERATOR CHANNEL IF YES TO ABOVE
-505050

# DEFAULT ANIM - only affects GUEST bots.
.XlayFt2-askew-look-right

Bot Profile (.botProfile500.1s)

Bot Profile notecards populate information in the NPC's profile.

Copy and paste the following into a blank notecard called “.botProfile500.1s”. Edit the information listed.

# PROFILE PICTURE UUID
000000

# PROFILE BLURB. KEEP LESS THAN 4 LINES (256 CHAR)
Hi.

Bot Outfits (.botOutfits)

Copy and paste the following into a blank notecard called “.botOutfits”. Edit the information listed.

# Bot Outfit Menus Labels - only you see these buttons.
# Do not delete or add any lines.
# Only make changes to text beneath each # heading

# LABEL ON MAIN 'OUTFITS' BUTTON
★ OUTFITS

# OUTFIT 1
NSH Formal

# OUTFIT 2
-bag -shoes

# OUTFIT 3
-bra -knick

# OUTFIT 4
just top

# OUTFIT 5
NSH Sport

# OUTFIT 6
-bag

# OUTFIT 7
-shoes

# OUTFIT 8
bra skirt

# OUTFIT 9
bra knick

# OUTFIT 10
just bra

# OUTFIT 11
nude

Outfit notecards

The contents of outfit cards are created by the NPC Engine, however you need to create the blank cards first for the system to use.

Simply drop 11 blank notecards into the NPC Engine and name them .outfit1 through to .outfit11. Once your engine is up and running, the .xml file will automatically save over each blank card when you use the “Save Outfit” function.

Here is an example of how the contents of your NPC Engine will look once everything has been added to it.

contents tab showing scripts and support notecards

Other components

Several scripts, notecards and other contents are necessary for the NPC Engine to function. Visit the main IruMoto NPC Engine page for full information.

Extra Notes

When you edit a notecard, you will need to reset the script for the changes to take. This is best done by using the Reboot button on the blue menu. This will ensure that any NPC that the script has rezzed will be killed BEFORE the script is reset, thus ensuring that your NPC isn’t duplicated by mistake.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.