isau
Deity
- Joined
- Jan 15, 2007
- Messages
- 3,071
Hi all,
I've managed to add a fifth commerce type to my mod. (Doing this involved adding an extra value to the CommerceTypes enum, and adding the new commerce type to the CommerceInfos xml). I also added an image of the commerce to the GameFonts and GameFonts_75 targa files.
The commerce works, but anywhere that CvCommerceType.getChar is called in the SDK, no image of the commerce shows up. I looked at the method setChar and also the property m_iChar but can't figure out how getChar know which character to display? Can anyone point me in the right direction?
Isau
I've managed to add a fifth commerce type to my mod. (Doing this involved adding an extra value to the CommerceTypes enum, and adding the new commerce type to the CommerceInfos xml). I also added an image of the commerce to the GameFonts and GameFonts_75 targa files.
The commerce works, but anywhere that CvCommerceType.getChar is called in the SDK, no image of the commerce shows up. I looked at the method setChar and also the property m_iChar but can't figure out how getChar know which character to display? Can anyone point me in the right direction?
Isau