Removing Trees

1174
4
06-19-2014 03:40 PM
MarcusLee1
New Contributor
Hello, I'd like a quick way to remove all of the trees from the provided International City 2 map in wizard cities.  Thanks!
Tags (2)
0 Kudos
4 Replies
MatthiasBuehler1
Frequent Contributor
Hi !

I assume you mean how to remove the trees in the code, right ?

matt
0 Kudos
MarcusLee1
New Contributor
Hello,

Yes I want the trees out of the map entirely so that when I export the map the buildings are still there, all of the floor is still there just the trees are gone.  The collision boxes go into the street which is an issue for me.

Thanks
0 Kudos
MarcusLee1
New Contributor
Or is there any way to edit the current International City 2 rule file so that it doesn't create trees?
0 Kudos
MatthiasBuehler1
Frequent Contributor
yes, you can edit the rule.


just open the rules and check for locations where you have something like i(tree).

there, write 'NIL' instead of inserting the tree geometry.


note that if you select 1 model which has a tree:
- open the model hierarchy window ( Window > Model Hierarchy )
- enter 'edit model mode' button in the taskbar ( check docs if you can't find it )
- the model should turn transparent
- click in model hierarchy
- press 'f' to frame all nodes.
- select a tree in the viewport > a node in the model hierarchy should get selected.
- double click that node > the rule should open where exactly that tree is inserted.
- remove all trees this way you find ( I assume there's only 1 or 2 places where trees are called.


ok ?

lemme know if it works.

matt