Welcome to the Creatures Wiki! Log in and join the community.

CAOS2COB

From Creatures Wiki
Revision as of 03:48, 2 January 2022 by Ligfx (talk | contribs) (Created page with "'''CAOS2Cob''' is a format for embedding COB file information into COS files. It was invented by bedalton, inspired by CAOS2PRAY. ==Sample== An example CA...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CAOS2Cob is a format for embedding COB file information into COS files. It was invented by bedalton, inspired by CAOS2PRAY.

Sample[edit]

An example CAOS2Cob source file for a Creatures 1 COB and RCB containing an island carrot vendor might be:

  **Caos2Cob
  *# C1-Name "Island Carrot Vendor"
  *# Cob File = "Island Carrot Vendor.cob"
  *# expiry = 9999-12-31
  *# Thumbnail = "island_carrot_vendor[0].spr"
  *# Quantity Available = 1
  
  iscr
      inst
      enum 2 8 3
          setv actv 0
          setv var0 attr
          orrv var0 4
          bhvr 1 1
      next
  endm
  
  scrp 2 8 3 1
      snde vend
      anim [123456789] over
      ....
  endm
  
  rscr
      inst
      enum 2 8 3
         kill targ
      next
      scrx 2 8 3 1
   endm

External Links[edit]