B Native Other Polished Landscapes [RELEASED][news pg. 19]

Currently Viewing (Users: 0, Guests: 1)

laius

Knight
Best answers
0
What values in the flora_kinds determine the number of trees in generated battle maps? I tried changing a few numbers to test but most of them seem to point to meshes.
 

Mad Skillz

Baron
WBM&BVC
Best answers
0
laius said:
What values in the flora_kinds determine the number of trees in generated battle maps? I tried changing a few numbers to test but most of them seem to point to meshes.
All the flags for flora get combined into one long number string in flora_kinds.txt. But if you have the module system you can use xenoargh's Flora Kinds Source (search for it in OSP Resources board.) In there entries look like this:
Code:
 ("grass",fkf_grass|fkf_on_green_ground|fkf_guarantee|fkf_align_with_ground|fkf_point_up|fkf_plain|fkf_plain_forest|density(1500),[["grass_a","0"],["grass_b","0"],["grass_c","0"],["grass_d","0"],["grass_e","0"]]),
You can see |density(1500) in there which determines the number generated.
 

phoen!x

Sergeant
Best answers
0
how do I install this for the Napoleon DLC ?
I don t get it to work the values are different.

Thanks
 

KnowsCount

Recruit
Best answers
0
In module.ini add
load_mod_resource = env_materials
load_mod_resource = map_tree_meshes
load_mod_resource = particle_meshes
load_mod_resource = tree_meshes
load_mod_resource = xtree_meshes
load_mod_resource = grass_meshes
load_mod_resource = plant_meshes
load_mod_resource = xtree_meshes_b
load_mod_resource = xtree_meshes_c
load_mod_resource = grass_meshes_b
load_mod_resource = tree_e_meshes
load_mod_resource = terrain_borders
load_mod_resource = particles_2

And delete lines:

load_resource = map_tree_meshes
load_resource = particle_meshes
load_resource = tree_meshes
load_resource = xtree_meshes
load_resource = grass_meshes
load_resource = plant_meshes
load_resource = xtree_meshes_b
load_resource = xtree_meshes_c
load_resource = grass_meshes_b
load_resource = tree_e_meshes
load_resource = terrain_borders
load_resource = particles_2
so... add them & then delete them?
 

NPC99

Baron
M&BWBWF&SVC
Best answers
26
so... add them & then delete them?
No. Load_mod_resource looks in the resources folder of your mod whereas load_resource looks for brf files with the same name in Warbands CommonRes folder. You are merely loading the same named brfs with different assets from different locations.