Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Custom IMP Portrait Issues
Custom IMP Portrait Issues[message #336841]
|
Mon, 20 October 2014 01:13
|
|
Vherid |
|
Messages:6
Registered:October 2013 |
|
|
So I've been implementing my own custom imp portraits and etc, everything is working fine except for animations.
Personally I could care less for the animations, just the icon is good enough for me, but apparently using only a 1 image stacked STI because it doesn't animate froze the hell out of the game for a period of 30-90 seconds on every animation attempt, I assume it trying to look for the files and not finding anything and getting locked.
So I simply fixed the issue by giving it "fake" animations, and basically just copying the face on all 7 stacks, so it has things to blink between and is happy, but none of them are actually different so no animation shows.
The problem I have now, is that even with coordinates set to 0 on everything, and this is for sure on a new campaign, the portraits are constantly flashing when they animate, the consecutive images being about 1-5 pixels southeast of where the static image lays.
Looking in the face viewer, all 0 should sit the images perfectly over the static without moving, but for some reason it seems like the game refuses to acknowledge that I have it all set to 0 for the coords.
Any ideas?
Report message to a moderator
|
Private
|
|
|
|
Re: Custom IMP Portrait Issues[message #336843]
|
Mon, 20 October 2014 01:27
|
|
Vherid |
|
Messages:6
Registered:October 2013 |
|
|
FlugenteAs you found out yourself, the subsequent images are used to display the eye and mouth movement. These are overlays over the original image. So you have a face and then images of slightly different mouths and eyes. These are then drawn over the face.
If I recall correctly,TableData/IMPPortraits.xml tells the game the offsets it should use for this. For example,
0
200
0
8
5
8
21
3
0
7
2
1
tells the game to use any 'eye'-pictures it has with an offset of 8/5 over the original face. In your case, this will copy over the same image then... I think setting the offsets to 0/0 should help you.
Right, so basically what I'm saying is that's what I've done, and it's still offset and flashing, despite all being 0/0.
[Updated on: Mon, 20 October 2014 01:27] by Moderator Report message to a moderator
|
Private
|
|
|
|
|
Re: Custom IMP Portrait Issues[message #336848]
|
Mon, 20 October 2014 01:46
|
|
Flugente |
|
Messages:3509
Registered:April 2009 Location: Germany |
|
|
Nope, the 1.13 one should be enough...
What happens if you, say, overwrite the data of slot 18/218.sti with your picture instead?
[Updated on: Mon, 20 October 2014 01:47] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 06:45:22 GMT+2 2024
Total time taken to generate the page: 0.01578 seconds
|