R.I.P
  • R.I.P
  • 50.25% (Neutral)
  • Captain Topic Starter
10 years ago
I've gotten pretty competent with modding and all, Im just in the dark when It comes
to portraits.

If someone could Tell me how to do that, That'd be great.

Thanks
It's me your friendly modder ZOMBATAR!
Sponsor
Zatsupachi
10 years ago
get image.

make sure its on .tga or .dds

then put in Art/Textures

then put this code in HandCreatedMappedImages.ini

MappedImage NameOfImage
  Texture = yourimage.tga
  TextureWidth = 120 ;width of the texture
  TextureHeight = 96 ;height
  Coords = Left: 0 Top: 0 Right: 119 Bottom: 95 ;what portion of the image will be used
  Status = NONE
End

then after, you can slap it on ButtonImage or SelectPortrait
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
R.I.P
  • R.I.P
  • 50.25% (Neutral)
  • Captain Topic Starter
10 years ago
thank you very much

It's me your friendly modder ZOMBATAR!
R.I.P
  • R.I.P
  • 50.25% (Neutral)
  • Captain Topic Starter
10 years ago
i changed a civilian building and i gived it to the american army and i maked a command set for the building to produce units and vehicle but the buttons appear and every thing is ok but when i press it nothing happens and the money dont get less and nothing appear in the building build list but the button is clickable so if you know how to make it build that will be great
It's me your friendly modder ZOMBATAR!
klingondragon
9 years ago
Sorry to bring back a dead post but:

i changed a civilian building and i gived it to the american army and i maked a command set for the building to produce units and vehicle but the buttons appear and every thing is ok but when i press it nothing happens and the money dont get less and nothing appear in the building build list but the button is clickable so if you know how to make it build that will be great

Originally Posted by: R.I.P 



Make sure the commandbutton is a dozer build button and the object is set to your new building.

CommandButton Command_ConstructNewBuilding
  Command       = DOZER_CONSTRUCT
  Object        = NewBuilding
  TextLabel     = New_label_in_english.csf
  ButtonImage   = NewTexture
  ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  DescriptLabel           = New_label_in_english.csf
End