Not logged inOpenClonk Forum
![](https://attach.openclonk.org/avatars/1-0778.png)
I mentioned this topic earlier but during the beginning of the development we were not sure whether the portraits will be used in the future so the feature was not removed. As it turned out, portraits are not used any more.
The portraits implementation should still be functional but it can be removed completely. Additionally:
+ Options about the portraits need to be removed in the graphics options+ Display of (player) portraits in the player selection dialogue and it's file selection should be replaced with something else (f.e. a BigIcon which may have a size similar as the portrait) or removed
+ Functions make use of the portrait need to be removed (f.e. SetPortrait) or remodelled to work with Graphics (f.e. CustomMessage)
I don't really dare to dive that deep into the engine code (as I expect the implementation to be). So anyone of the more experienced engine coders up for this?
Edit: Removed the portraits related options (from the GUI only though!)
![](https://attach.openclonk.org/avatars/24-4666.png)
I still don't really understand what the purpose of BigIcon is. The portrait should have been used for that.
![](https://attach.openclonk.org/avatars/1-0778.png)
IIRC the BigIcon existed before portraits. We could rename the BigIcon.
![](https://attach.openclonk.org/avatars/24-4666.png)
Not at all. (Player) Portraits were already in Clonk4, BigIcons are a weird duplicate introduced in NET2.
![](https://attach.openclonk.org/avatars/1-0778.png)
Ah.
![](https://attach.openclonk.org/avatars/29-2030.png)
Portraits were too large. They were deleted before the player was transferred via network. Iiirc, they also used to have no transparency and some stupid, light gray background in players created in C4/CP. So using the portraits would have resulted in pretty ugly lobby icons.
I think BigIcons also have some kind of size restriction, so people cannot put huge pictures in there (like they can do for portraits).
I don't know if the distinction is still necessary. We could drop it and just keep the BigIcon.
Still, I'd rather name it "Icon" than portrait, because it might stop people from putting large files there.
![](https://attach.openclonk.org/avatars/24-4666.png)
Those were all fixable back then. Instead of adding a new file, players could just have swapped out their protrait. Okay, if a bigger picture for other parts of the UI is necessary, image scaling code for reduced network traffic would be extra work.
![](https://attach.openclonk.org/avatars/59-2177.png)
Well, what about the portraits for the clonk in menu-dialogs? They where quite a nice thing in CR.
![](https://attach.openclonk.org/avatars/1-0778.png)
CustomMessage? The portrait displayed there should be replaced by displaying a graphic there.
![](https://attach.openclonk.org/avatars/29-2030.png)
Then it would be useful if there were some kind of method to identify and show just the head of a Clonk in the model (possibly animated) - like an action. Because if you just want to display a message spoken by a specific Clonk, you would have to associate a second definition just for the portrait to each Clonk type.
![](https://attach.openclonk.org/avatars/1-0778.png)
Yeah, that could be done with SetGraphics + SetObjDrawTransform, right?
![](https://attach.openclonk.org/avatars/29-2030.png)
No
![](https://attach.openclonk.org/avatars/1-0778.png)
Why so?
Can you control models that way?
![](https://attach.openclonk.org/avatars/126-5136.png)
Perhaps a property, "PortraitTransformation", which works exactly the same as PictureTransformation, except it is used for crew objects' portraits.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill