Jump to content

What does blockedArea array do?


Kronky

Recommended Posts

I am trying to import panthera which is not supported yet and I am using the description.ext of another map.

 

I can see a class with the name of the map and I want to understand what does the blockedArea array does?

 

In fact while I am at it what are the other arrays are used for ? The ones regarding trees, rocks, wrecks, trash?

 

considering that this map is not ported should i even use the sample of the arrays from my sample class?

 

Link to comment
Share on other sites

the other ones like:

Rocks[] = {
            "sharpstone_03_lc.p3d",
            "sharpstone_02_lc.p3d",
            "sharpstone_01_lc.p3d",
            "sharpstone_02.p3d",
            "sharpstone_03.p3d",
            "sharprock_monolith.p3d",
            "sharprock_apart.p3d",
            "sharpstones_erosion.p3d",
            "bluntstone_01_lc.p3d",
            "bluntstone_02_lc.p3d",
            "bluntstone_03_lc.p3d",
            "bluntstones_erosion.p3d",
            "bluntstone_01.p3d",
            "bluntstone_03.p3d",
            "sharprock_spike.p3d",
            "sharprock_wallh.p3d",
            "w_sharpstone_03.p3d",
            "w_sharpstone_02.p3d",
            "w_sharpstone_01.p3d",
            "bluntrock_apart.p3d",
            "bluntstone_02.p3d",
            "bluntrock_monolith.p3d",
            "bluntrock_wallh.p3d",
            "sharprock_wallv.p3d",
            "stonesharp_medium.p3d",
            "stone_medium_f.p3d",
            "stonesharp_big.p3d",
            "stonesharp_small.p3d",
            "small_stone_02_f.p3d",
            "stone_small_f.p3d",
            "stone_big_f.p3d",
            "bluntrock_spike.p3d"
        };
        ATM[] = {
            "atm_01_f.p3d",
            "phonebooth_01_f.p3d",
            "atm_02_f.p3d",
            "phonebooth_02_f.p3d"
        };

 

Is what he means. Those tell the server what that is. For example "atm_01_f.p3d" thats an atm. It tell the server that this is an atm and it uses the object file instead of classname to define what is what. So you could be this rock "stone_medium_f.p3d" in the atm array and the server will make that rock an atm.

Link to comment
Share on other sites

Is what he means. Those tell the server what that is. For example "atm_01_f.p3d" thats an atm. It tell the server that this is an atm and it uses the object file instead of classname to define what is what. So you could be this rock "stone_medium_f.p3d" in the atm array and the server will make that rock an atm.

 

thank you for your explanation.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...