maxpublic said:So, what do you do? Just replace the ArtDefineTag with NONE? Will the game simply not draw the building on the map, or will it leave a blank space in the city?
Max
Actually I tried that and it worked, but the result was an ugly Red sphere placeholder. There is a None tag in the system that "works, but its horrid.
Instead I simply used this:
<BuildingArtInfo>
<Type>ART_DEF_BUILDING_RITUALS</Type>
<bAnimated>0</bAnimated>
<fScale>1.0</fScale>
<fInterfaceScale>0</fInterfaceScale>
<NIF>Art/Structures/Buildings/Obelisk/Obelisk.nif</NIF>
<KFM/>
< Button >Art/Interface/Buttons/Buildings/rituals.dds</ Button >
</BuildingArtInfo>
The result is a building of 0 Scale so it becomes effectively non-existant.
in truth you could use anything as the .nif file, but I chose obelisk because the building I was making was closest to an obelisk in its origin and function. But it would look nothing like an obelisk, so I neded to make it invisible.
The result works perfectly.
And in the BuildingInfo itself is where you place the building relative to the city...I simply left it in the same location as the obelisk. The game has no problem with intersecting models...and since the Ritual is a 0 size...it really is no problem visually.