• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Status
Not open for further replies.

testcharge

First Lieutenant
18 Badges
May 4, 2014
217
23
  • Europa Universalis IV
  • Hearts of Iron III
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Campus
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • Victoria 2
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
ok, so I am having some trouble with modding in a custom building. What i have done is coded in the building (cargo depot) into the "buildings.txt" in "common/buildings/buildings.txt". Then what I did is copy the gfx building icon from the shipyard to act as a temporary building icon in "interface/buildingicons.gfx" and placed it in a separate "macrobuildinterface.gfx" file. After this I went ahead to format the building into the building menu by going into "macrobuildinterface.gui" under the interface folder and got all the co-ords right for the building icon display+ the cost icon under it. I then went into "common/technologies/dip.txt" and put my building under tech 4 doing 'cargo_depot = yes'. Everything went to plan until this point.
When I launched the game I thought most of the toggling would have been done for me through the code but when I go to the macro build interface button and go to the buildings tab all the buildings are now purple. My building however is displayed with the cost under it while the rest still have the font 2000 thingy under it. The formatting is right but i can't tell what I have done wrong....

PLZ HELP
help will be much appreciated
image below: (srry not good with this attachment stuff, it will lead u to imgur)

http://i.imgur.com/undefined.png
 
Status
Not open for further replies.