Anyone have a list of Static Objects?

Red Communist

New member
Joined
Dec 29, 2016
Messages
15
I'm wanting to mod my Land 2 campaign maps, the only problem is, I don't know the values to any of the Static Objects. I could download a lot of maps, dig into them, and rip out the code, but before I do that does anyone have a list?

Edit: Oops I said Black and White 2 instead of Land 2
 
Hi
The lists come with the scripting tool. In Black & White 2/Tools/Script Compiler you'll find lots of .h files. These files contain the constants for all the objects, actions, properties etc... in the game.
For example in the file MobileStaticInfoEnum.h you find:
Code:
#ifndef __MOBILE_STATIC_INFO_ENUM_H__
#define __MOBILE_STATIC_INFO_ENUM_H__

// Last Saved,#2005-08-12 11:33:19#,""

//*****************************************************************************
// ENUM Values: MOBILE_STATIC_INFO
//*****************************************************************************
enum     MOBILE_STATIC_INFO
{
    MOBILE_STATIC_INFO_NONE                         = -1 ,
    MOBILE_STATIC_INFO_SMALL_NORSE_ROCK             =  0 ,
    MOBILE_STATIC_INFO_MEDIUM_NORSE_ROCK            =  1 ,
    MOBILE_STATIC_INFO_LARGE_NORSE_ROCK             =  2 ,
...

You can use these constants in your code like this:
Code:
Object = create SCRIPT_OBJECT_TYPE_MOBILE_STATIC MOBILE_STATIC_INFO_SMALL_NORSE_ROCK at {location}
The command has two constants: create <Object Type> <Object> at {location}
<Object Type> is another constant which can be found in the ObjectTypeEnum.h

Hopefully this was what you were looking for.
 
Here is the list from the enum.h (part of B&W CI Scripting tools):

Code:
//*****************************************************************************
// ENUM Values: MOBILE_STATIC_INFO
//*****************************************************************************
enum     MOBILE_STATIC_INFO
{
    MOBILE_STATIC_INFO_NONE                         = -1 ,
    MOBILE_STATIC_INFO_CELT_FENCE_SHORT             =  0 ,
    MOBILE_STATIC_INFO_CELT_FENCE_TALL              =  1 ,
    MOBILE_STATIC_INFO_ROCK                         =  2 ,
    MOBILE_STATIC_INFO_DEAD_TREE                    =  3 , 
    MOBILE_STATIC_INFO_PHYSICAL_SHIELD              =  4 ,
    MOBILE_STATIC_INFO_SINGING_STONE_1              =  5 ,
    MOBILE_STATIC_INFO_SINGING_STONE_BASE           =  6 ,
    MOBILE_STATIC_INFO_STREET_LANTERN               =  7 ,
    MOBILE_STATIC_INFO_BONFIRE                      =  8 ,
    MOBILE_STATIC_INFO_CREATURE_CAGE                =  9 ,
    MOBILE_STATIC_INFO_IDOL                         =  10 ,
    MOBILE_STATIC_INFO_IDOL_REWARD                  =  11 ,
    MOBILE_STATIC_INFO_VORTEX                       =  12 ,
    MOBILE_STATIC_INFO_TELEPORT                     =  13 ,
    MOBILE_STATIC_INFO_WEEPING_STONE                =  14 ,
    MOBILE_STATIC_INFO_WEEPING_STONE_REWARD         =  15 ,
    MOBILE_STATIC_INFO_BOULDER1_CHALK               =  16 ,
    MOBILE_STATIC_INFO_BOULDER1_LIME                =  17 ,
    MOBILE_STATIC_INFO_BOULDER1_SAND                =  18 ,
    MOBILE_STATIC_INFO_BOULDER1_VOLCANIC            =  19 ,
    MOBILE_STATIC_INFO_BOULDER2_CHALK               =  20 ,
    MOBILE_STATIC_INFO_BOULDER2_LIME                =  21 ,
    MOBILE_STATIC_INFO_BOULDER2_SAND                =  22 ,
    MOBILE_STATIC_INFO_BOULDER2_VOLCANIC            =  23 ,
    MOBILE_STATIC_INFO_BOULDER3_CHALK               =  24 ,
    MOBILE_STATIC_INFO_BOULDER3_LIME                =  25 ,
    MOBILE_STATIC_INFO_BOULDER3_SAND                =  26 ,
    MOBILE_STATIC_INFO_BOULDER3_VOLCANIC            =  27 ,
    MOBILE_STATIC_INFO_FLATROCK_CHALK               =  28 ,
    MOBILE_STATIC_INFO_FLATROCK_LIMESTONE           =  29 ,
    MOBILE_STATIC_INFO_FLATROCK_SANDSTONE           =  30 ,
    MOBILE_STATIC_INFO_FLATROCK_VOLCANIC            =  31 ,
    MOBILE_STATIC_INFO_LONGROCK_CHALK               =  32 ,
    MOBILE_STATIC_INFO_LONGROCK_LIMESTONE           =  33 ,
    MOBILE_STATIC_INFO_LONGROCK_SANDSTONE           =  34 ,
    MOBILE_STATIC_INFO_LONGROCK_VOLCANIC            =  35 ,
    MOBILE_STATIC_INFO_ROCK_CHALK                   =  36 ,
    MOBILE_STATIC_INFO_ROCK_LIMESTONE               =  37 ,
    MOBILE_STATIC_INFO_ROCK_SANDSTONE               =  38 ,
    MOBILE_STATIC_INFO_ROCK_VOLCANIC                =  39 ,
    MOBILE_STATIC_INFO_SHARPROCK_CHALK              =  40 ,
    MOBILE_STATIC_INFO_SHARPROCK_LIMESTONE          =  41 ,
    MOBILE_STATIC_INFO_SHARPROCK_SANDSTONE          =  42 ,
    MOBILE_STATIC_INFO_SHARPROCK_VOLCANIC           =  43 ,
    MOBILE_STATIC_INFO_SQUAREROCK_CHALK             =  44 ,
    MOBILE_STATIC_INFO_SQUAREROCK_LIMESTONE         =  45 ,
    MOBILE_STATIC_INFO_SQUAREROCK_SANDSTONE         =  46 ,
    MOBILE_STATIC_INFO_SQUAREROCK_VOLCANIC          =  47 ,
    MOBILE_STATIC_INFO_STANDALONE_ALTAR             =  48 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_APE               =  49 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_BLANK             =  50 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_COW               =  51 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_TIGER             =  52 ,
    MOBILE_STATIC_INFO_TOY_BALL                     =  53 ,
    MOBILE_STATIC_INFO_TOY_CUDDLY                   =  54 ,
    MOBILE_STATIC_INFO_TOY_DIE                      =  55 ,
    MOBILE_STATIC_INFO_TOY_SKITTLE                  =  56 ,
    MOBILE_STATIC_INFO_TOY_BOWLING_BALL             =  57 ,
    MOBILE_STATIC_INFO_SCULPTURE_IN_PROGRESS        =  58 ,
    MOBILE_STATIC_INFO_COUNTRY_LANTERN              =  59 ,
    MOBILE_STATIC_INFO_METEOR                       =  60 ,
    MOBILE_STATIC_INFO_MARBLE1                      =  61 ,
    MOBILE_STATIC_INFO_MARBLE2                      =  62 ,
    MOBILE_STATIC_INFO_MARBLE3                      =  63 ,
    MOBILE_STATIC_INFO_MARBLE4                      =  64 ,
    MOBILE_STATIC_INFO_MARBLE5                      =  65 ,
    MOBILE_STATIC_INFO_MARBLE6                      =  66 ,
    MOBILE_STATIC_INFO_MARBLE7                      =  67 ,
    MOBILE_STATIC_INFO_MARBLE8                      =  68 ,
    MOBILE_STATIC_INFO_MARBLE9                      =  69 ,
    MOBILE_STATIC_INFO_MARBLE10                     =  70 ,
    MOBILE_STATIC_INFO_MARBLE11                     =  71 ,
    MOBILE_STATIC_INFO_MARBLE12                     =  72 ,
    MOBILE_STATIC_INFO_EGG                          =  73 ,
    MOBILE_STATIC_INFO_SOFT_BALL                    =  74 ,
    MOBILE_STATIC_INFO_BASE_ONLY_BATS               =  75 ,
    MOBILE_STATIC_INFO_BASE_ONLY_CREATURE_FIGHT     =  76 ,
    MOBILE_STATIC_INFO_BASE_ONLY_CREATURE_SPEED     =  77 ,
    MOBILE_STATIC_INFO_BASE_ONLY_FUNGUS             =  78 ,
    MOBILE_STATIC_INFO_BASE_ONLY_ICE                =  79 ,
    MOBILE_STATIC_INFO_BASE_ONLY_NO_ENCOUNTER       =  80 ,
    MOBILE_STATIC_INFO_BASE_ONLY_SWAMP              =  81 ,
    MOBILE_STATIC_INFO_BASE_ONLY_TELEPORT           =  82 ,
    MOBILE_STATIC_INFO_BASE_ONLY_SWAP               =  83 ,
    MOBILE_STATIC_INFO_BASE_ONLY_BROTHERHOOD        =  84 ,
    MOBILE_STATIC_INFO_BASE_ONLY_BROTHERHOOD_SMALL  =  85 ,
    MOBILE_STATIC_INFO_WATER_CANNON                 =  86 ,
    MOBILE_STATIC_INFO_WATER_CANNON_AMMO            =  87 ,
    MOBILE_STATIC_INFO_BASE_ONLY_MARBLE_BASE        =  88 ,
    MOBILE_STATIC_INFO_LAST                         =  89 ,
};
 
Thanx so much it's a big help.

Kratzean said:
Here is the list from the enum.h (part of B&W CI Scripting tools):

Code:
//*****************************************************************************
// ENUM Values: MOBILE_STATIC_INFO
//*****************************************************************************
enum     MOBILE_STATIC_INFO
{
    MOBILE_STATIC_INFO_NONE                         = -1 ,
    MOBILE_STATIC_INFO_CELT_FENCE_SHORT             =  0 ,
    MOBILE_STATIC_INFO_CELT_FENCE_TALL              =  1 ,
    MOBILE_STATIC_INFO_ROCK                         =  2 ,
    MOBILE_STATIC_INFO_DEAD_TREE                    =  3 , 
    MOBILE_STATIC_INFO_PHYSICAL_SHIELD              =  4 ,
    MOBILE_STATIC_INFO_SINGING_STONE_1              =  5 ,
    MOBILE_STATIC_INFO_SINGING_STONE_BASE           =  6 ,
    MOBILE_STATIC_INFO_STREET_LANTERN               =  7 ,
    MOBILE_STATIC_INFO_BONFIRE                      =  8 ,
    MOBILE_STATIC_INFO_CREATURE_CAGE                =  9 ,
    MOBILE_STATIC_INFO_IDOL                         =  10 ,
    MOBILE_STATIC_INFO_IDOL_REWARD                  =  11 ,
    MOBILE_STATIC_INFO_VORTEX                       =  12 ,
    MOBILE_STATIC_INFO_TELEPORT                     =  13 ,
    MOBILE_STATIC_INFO_WEEPING_STONE                =  14 ,
    MOBILE_STATIC_INFO_WEEPING_STONE_REWARD         =  15 ,
    MOBILE_STATIC_INFO_BOULDER1_CHALK               =  16 ,
    MOBILE_STATIC_INFO_BOULDER1_LIME                =  17 ,
    MOBILE_STATIC_INFO_BOULDER1_SAND                =  18 ,
    MOBILE_STATIC_INFO_BOULDER1_VOLCANIC            =  19 ,
    MOBILE_STATIC_INFO_BOULDER2_CHALK               =  20 ,
    MOBILE_STATIC_INFO_BOULDER2_LIME                =  21 ,
    MOBILE_STATIC_INFO_BOULDER2_SAND                =  22 ,
    MOBILE_STATIC_INFO_BOULDER2_VOLCANIC            =  23 ,
    MOBILE_STATIC_INFO_BOULDER3_CHALK               =  24 ,
    MOBILE_STATIC_INFO_BOULDER3_LIME                =  25 ,
    MOBILE_STATIC_INFO_BOULDER3_SAND                =  26 ,
    MOBILE_STATIC_INFO_BOULDER3_VOLCANIC            =  27 ,
    MOBILE_STATIC_INFO_FLATROCK_CHALK               =  28 ,
    MOBILE_STATIC_INFO_FLATROCK_LIMESTONE           =  29 ,
    MOBILE_STATIC_INFO_FLATROCK_SANDSTONE           =  30 ,
    MOBILE_STATIC_INFO_FLATROCK_VOLCANIC            =  31 ,
    MOBILE_STATIC_INFO_LONGROCK_CHALK               =  32 ,
    MOBILE_STATIC_INFO_LONGROCK_LIMESTONE           =  33 ,
    MOBILE_STATIC_INFO_LONGROCK_SANDSTONE           =  34 ,
    MOBILE_STATIC_INFO_LONGROCK_VOLCANIC            =  35 ,
    MOBILE_STATIC_INFO_ROCK_CHALK                   =  36 ,
    MOBILE_STATIC_INFO_ROCK_LIMESTONE               =  37 ,
    MOBILE_STATIC_INFO_ROCK_SANDSTONE               =  38 ,
    MOBILE_STATIC_INFO_ROCK_VOLCANIC                =  39 ,
    MOBILE_STATIC_INFO_SHARPROCK_CHALK              =  40 ,
    MOBILE_STATIC_INFO_SHARPROCK_LIMESTONE          =  41 ,
    MOBILE_STATIC_INFO_SHARPROCK_SANDSTONE          =  42 ,
    MOBILE_STATIC_INFO_SHARPROCK_VOLCANIC           =  43 ,
    MOBILE_STATIC_INFO_SQUAREROCK_CHALK             =  44 ,
    MOBILE_STATIC_INFO_SQUAREROCK_LIMESTONE         =  45 ,
    MOBILE_STATIC_INFO_SQUAREROCK_SANDSTONE         =  46 ,
    MOBILE_STATIC_INFO_SQUAREROCK_VOLCANIC          =  47 ,
    MOBILE_STATIC_INFO_STANDALONE_ALTAR             =  48 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_APE               =  49 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_BLANK             =  50 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_COW               =  51 ,
    MOBILE_STATIC_INFO_GATE_TOTEM_TIGER             =  52 ,
    MOBILE_STATIC_INFO_TOY_BALL                     =  53 ,
    MOBILE_STATIC_INFO_TOY_CUDDLY                   =  54 ,
    MOBILE_STATIC_INFO_TOY_DIE                      =  55 ,
    MOBILE_STATIC_INFO_TOY_SKITTLE                  =  56 ,
    MOBILE_STATIC_INFO_TOY_BOWLING_BALL             =  57 ,
    MOBILE_STATIC_INFO_SCULPTURE_IN_PROGRESS        =  58 ,
    MOBILE_STATIC_INFO_COUNTRY_LANTERN              =  59 ,
    MOBILE_STATIC_INFO_METEOR                       =  60 ,
    MOBILE_STATIC_INFO_MARBLE1                      =  61 ,
    MOBILE_STATIC_INFO_MARBLE2                      =  62 ,
    MOBILE_STATIC_INFO_MARBLE3                      =  63 ,
    MOBILE_STATIC_INFO_MARBLE4                      =  64 ,
    MOBILE_STATIC_INFO_MARBLE5                      =  65 ,
    MOBILE_STATIC_INFO_MARBLE6                      =  66 ,
    MOBILE_STATIC_INFO_MARBLE7                      =  67 ,
    MOBILE_STATIC_INFO_MARBLE8                      =  68 ,
    MOBILE_STATIC_INFO_MARBLE9                      =  69 ,
    MOBILE_STATIC_INFO_MARBLE10                     =  70 ,
    MOBILE_STATIC_INFO_MARBLE11                     =  71 ,
    MOBILE_STATIC_INFO_MARBLE12                     =  72 ,
    MOBILE_STATIC_INFO_EGG                          =  73 ,
    MOBILE_STATIC_INFO_SOFT_BALL                    =  74 ,
    MOBILE_STATIC_INFO_BASE_ONLY_BATS               =  75 ,
    MOBILE_STATIC_INFO_BASE_ONLY_CREATURE_FIGHT     =  76 ,
    MOBILE_STATIC_INFO_BASE_ONLY_CREATURE_SPEED     =  77 ,
    MOBILE_STATIC_INFO_BASE_ONLY_FUNGUS             =  78 ,
    MOBILE_STATIC_INFO_BASE_ONLY_ICE                =  79 ,
    MOBILE_STATIC_INFO_BASE_ONLY_NO_ENCOUNTER       =  80 ,
    MOBILE_STATIC_INFO_BASE_ONLY_SWAMP              =  81 ,
    MOBILE_STATIC_INFO_BASE_ONLY_TELEPORT           =  82 ,
    MOBILE_STATIC_INFO_BASE_ONLY_SWAP               =  83 ,
    MOBILE_STATIC_INFO_BASE_ONLY_BROTHERHOOD        =  84 ,
    MOBILE_STATIC_INFO_BASE_ONLY_BROTHERHOOD_SMALL  =  85 ,
    MOBILE_STATIC_INFO_WATER_CANNON                 =  86 ,
    MOBILE_STATIC_INFO_WATER_CANNON_AMMO            =  87 ,
    MOBILE_STATIC_INFO_BASE_ONLY_MARBLE_BASE        =  88 ,
    MOBILE_STATIC_INFO_LAST                         =  89 ,
};
 
Back
Top