Can You Make A New Building Using An Old Building Model?

Ecglaf

Chieftain
Joined
Jul 23, 2006
Messages
29
Location
York
I'm having serious trouble trying to make a new temple for my mod. The idea is that I want the temple to use the stonehenge model, but I want it to be a temple. Right now, my building doesn't show up at all after researching Priesthood as it should. Moreover, in some previous attempts, Stonehenge itself appears twice on my list of buildings I can construct right at the start.

Any suggestions on how to go about doing this?
 
I just remembered another question:

Is it possible to just forgo having an actual model of the building in the city? You get the benefits, it's listed as being there, but doesn't actually appear on the map?

My problem is I can't model stuff, so I can't make new buildings for the religion I'm adding, or a missionary for that matter. So I increased the spread rate of the religion to make up for the lack of a missionary and decided to have just a temple (with the stonehenge model) with slightly increased benefits of the other religions' temples and allow it to be built three times within every city to make up for the inability to create the other religious buildings.
 
Its not nessary to have a model for the building (though I dont see why useing the StoneHenge ArtDefine wouldn't work, infact from the sound of it you DID get it to work when you said you saw 2 stonehenges, you need to change the TEXT references to give it a new name).

A Building can only be built ONCE in each city, its a boolean data member. You could create a series of 3 identical buildings with a series of pre-requisites 1st->2nd->3rd to in essense do the same thing but thats a rather ugly solution.
 
Well, see, I thought I had the new building totally defined. In the CIV4ArtDefines_Buildings in the art folder I have this for the temple:

<BuildingArtInfo>
<Type>ART_DEF_BUILDING_DRUIDISM_TEMPLE</Type>
<bAnimated>0</bAnimated>
<fScale>1.0</fScale>
<fInterfaceScale>0.5</fInterfaceScale>
<NIF>Art/Structures/Buildings/Stonehenge/Stonehenge.nif</NIF>
<KFM/>
<Button>,Art/Interface/Buttons/Religions/DRUIDISM_TEMPLE_BUTTON.dds</Button>
</BuildingArtInfo>

Now if I didn't want the stonehenge model used, should I just put in <NIF/> in place of the stonehenge.nif reference?
 
Sweet. I seem to have done something which now lists the Druidic Temple icon as being an Allowed Building after I finish researching Priesthood.

Problem is, the game crashes to the desktop without any error window or anything when I click the icon to start construction on it. Sigh.

That, and upon researching Nature Worship, the tech I made required for the Druidism religion, it displays a + 1 silver icon I think per city instead of the + 1 happiness it should give, then when I actually convert, it shows it in the city as being + 1 copper instead of + 1 happiness. I think the icons are somehow getting messed up and I'm not sure how. I have the small icon for my religion working fine on the city level and by my player name... huh. I recall reading something about this before but I can't seem to locate it now.
 
Ecglaf said:
Problem is, the game crashes to the desktop without any error window or anything when I click the icon to start construction on it. Sigh.

I am not sure but that is usually a graphic problem

the graphic size is very specific... it must be 64x64 dds file for the button or it crashes (in my experience)





Ecglaf said:
That, and upon researching Nature Worship, the tech I made required for the Druidism religion, it displays a + 1 silver icon I think per city instead of the + 1 happiness it should give, then when I actually convert, it shows it in the city as being + 1 copper instead of + 1 happiness. I think the icons are somehow getting messed up and I'm not sure how. I have the small icon for my religion working fine on the city level and by my player name... huh. I recall reading something about this before but I can't seem to locate it now.


this sounds like something was the tagline info in the CIV4CivicInfos.xml has the wrong info... check that file out



NOTE: I am unsure what you are using but my advise is for the CIV4 1.61 Patch... not expansion Warlord Expansion! (sorry I have not attempted to mod the expansion until I get more info on it :crazyeye: )


FYI: (also CIV4 1.61 Info :p ) you can use all the models you want (to show up in the civilopedia and not in the game) because I think the CIV4CityLSystem.xml or CIV4PlotLSystem.xml control the where the models are placed....

so if you dont edit one of those files (:confused:) then you will not have your model appear....

I have used many custom/edited buildings in my Civopedia but they dont show up in the game!

(I am not familiar with that XML file(s) and am too busy to work on it ... people who have said it crashes...and I dont have time to figure it out right now :rolleyes: so I skip it :lol: )

edited Buildings work fine in my games :king:

hope that helps ;)
 
Actually my problem appears to be related to the GameFont tgas I've edited to include my religion's symbol. Funny thing here is that I did aquire edited Python scripts to include the symbols and in fact, my religion symbols show up perfectly fine. However, happiness and health icons, and others, are sometimes mismatched with other icons. So instead of a happy face I have an elephant or copper icon.

No one seems to know how to fix this in any detail, and call the files cursed. The Alpha layers in them are good and as I said, the icons I added show up just fine. I even had enough common sense to add in the little cyan pixel on the grid without having to read that on a forum. Still, there is no love for me from this file.
 
Oh, and I'm modding the Warlords expansion. Which just requires adding in a few additional tags here and there in certain files, which the game is happy to let you know you're missing when you try to load the mod. Feh. All in all, my mod works fine sans Druidic Temple and with weird GameFont icons here and there. I started working on this mod by viewing the Shinto Religion mod, but have long since started from scratch since I'm using the Warlords expansion. Last night I attempted to add in a temple by gleening a little from the True Prophets mod (I think it is). It worked, except I removed it because the temple used was an Asian-style temple it seemed.

In light of all this, I'd be happy not having temples if I could just figure out how to increase happiness in a city with my religion as the state religion if there are nearby forests.
 
I don't know if this is true or not but if there is no tag in the religion files for no forest happiness it will have to be hardcoded into the game through the sdk. You say you are having trouble getting your temple to work, why not copy the stonehenge file from the buildinginfo xml into your mod's building info and edit it their, as well as putting in the building class info(to make sure its not a wonder) if you haven't tried that already.
 
Back
Top Bottom