Well Ive made a feature placer thing for SM3 maps, and ive basically got it working, just a few steps to go. Ive made the actual placer thingy and it creates a feature file that works, I just have to work out how to get the features working ingame. A few questions:
1) How do you tell the map what features to use? The wiki says to use something like this, but where do you put it?
2) Where do you place the feature .tdf's? Are they set out the same as SMF maps?
3) How do you place the default trees and geothermals?
4) In the feature file, does the Y axis positioning actually do anything, or is it there just cause?
SM3 features
Moderator: Moderators
1) It goes in [map]
2) Yes, the same code is used for loading TDF's
3) Use "TreeType0" "TreeType1" "TreeType2" ... as feature type for different tree models, and "GeoVent" as featuretype for a geothermal. I'm not sure how many tree types there are though.
4) Just cause
Code: Select all
[map] {
featuredata="file"
[featuretypes] {
...
}
}
2) Yes, the same code is used for loading TDF's
3) Use "TreeType0" "TreeType1" "TreeType2" ... as feature type for different tree models, and "GeoVent" as featuretype for a geothermal. I'm not sure how many tree types there are though.
4) Just cause
I couldnt get the different tree types working, or GeoVents, or features for that matter. Ive set up the SM3 file exactly as youve set out and it only spawns trees of the same type (probably type 0, but I havnt checked).
The features all spawn in the right spots, they are just all trees.
Heres the features bit of the sm3 file im using:
The features all spawn in the right spots, they are just all trees.
Heres the features bit of the sm3 file im using:
Code: Select all
featuredata=Maps/whakamatungariri/f.features;
[FeatureTypes]
{
NumTypes=3;
type0=TreeType7; // a geothermal
type1=TreeType12; // a geothermal
type2=GeoVent; // a geothermal
}