Creating a group.
Syntax:
Group GroupName MenuOrder PictureType PictureText
as its group.
Here is a group with a picture:
GROUP Stones 100 FILE stonegroup.bmp
If i want to display “Stone” instead of a picture:
GROUP Stones 100 TEXT "Stone"
Creating an element.
Syntax:
ELEMENT Group ElementName Red Green Blue Weight Spray Slide Viscousity Deathrate Dieto Menuorder Picturetype Picturetext
disappear while lets say waters dieto is fire. that would make it turn to fire once it died.
Here is some basic element from BS2 to take example from
Element Stones Sand 230 180 0 900 1 1 1 0 Clear 400 File sand.BMP
Element Liquids Water 0 0 255 700 100 20 1 0 Clear 0 File water.BMP
Element Liquids Cloud 150 150 255 0 1 1 1 250 Clear 100 File cloud.BMP
Element Stones Earth 200 127 0 0 1 1 1 0 Clear 200 File earth.BMP
Element Burning Fire 255 0 0 -400 1 1 1 3100 Clear 100 File fire.BMP
Element Gases Gas 140 40 140 -50 2 1 5 0 Clear 100 File gas.BMP
Element Stones Stone 100 100 100 1400 1 1 1 0 Clear 800 File stone.BMP
Element Nature Seed 0 180 0 20 1 1 10 0 Clear 600 File seed.BMP
Syntax:
INTERACTION ElementName1 ElementName2 NewElementName1 NewElementName2 Rate [Exception]
Interaction Salt Water Clear Saltwater 10000
Interaction Plant Water Plant Plant 2000
Interaction Plant Fire Plant(burning) Clear 6000
Interaction Acid All Acid Clear 500 Wall
Interaction Parasite Plant Parasite Parasite 400 Interaction Parasite Plant Clear Parasite 400 Interaction Parasite Plant Parasite Plant 100000This one is a little bit more complex:
Here is the original BS2 code for the Salt Source:
Element Stones Saltsource 200 200 200 0 1 1 1 0 Clear 700 File saltsource.BMP Interaction Saltsource Clear Saltsource Salt 1000
Basically when the Saltsource element touch Clear, the Saltsource stay the same, and Clear is replaced by Salt. Making the Saltsource element dropping Salt when it touch Clear