Hey I want to know if there's any way on making a condition compare the graphics of the player's computer, I mean, in transmission I want the shown portrait to be a .dds file (static portrait) if the player has the 2D Portrait graphic option, and I want to be shown the Portrait model (.m3) if the player has the 3D Portrait enabled.
And is there any way of doing this? Because if I put the 2D Portraits when the transmission of my trigger runs it just shows a blue rectangle on the portrait but this is ot happening if I put 3D Portrait.
Depends. Usually 3D Portraits automatically scale down to 2D when the players have low graphics settings enabled, however this just works if the portrait model supports this (In other words, if its a default portrait model and not a unit model or smth else custom).
So, if you are using a standard portrait model you should be able to hardcode it to 3D (since it automatically scales down if necessary), but if you dont use a standard portrait model there is pretty much nothing you can do. :(
I know what's the problem right now. I only had to set an static protrait in the (Basic) Art: Image field at the Portrait Model. I'm making the custom statics portraits right now (because I've downloaded lots of assets fgrom here and some don't have statics).
EDIT: I'll upload the static portraits I make when I release my custom campaign. I have already done 2: the one for the DominionMarine4Portrait.m3 (think the name is like it) and the DrakkenSiegeBurnerPortrait.m3 (a custom portrait downloaded from this site).
EDIT2: My static portraits doesn't seem to have a good quality. Anyway I can "increse" them quality?
Slight correction, you can not use triggers to determine a players graphics setting, however Actors can with Event Terms. So you could conditionally create an actor based on options set. For a transmission, the unit actor has a field to specify the model to be used in Portraits, so for a specific unit, you could create a duplicate actor, with all the same events, but have 1 use the static portrait model, the other use the dynamic one, and have a term in each actor checking for the player graphic setting (Failing a term = failing a condition, actor isn't created).
That said, yes, the simplest solution is to just set the Image in the Portrait model
Slight correction, you can not use triggers to determine a players graphics setting, however Actors can with Event Terms. So you could conditionally create an actor based on options set. For a transmission, the unit actor has a field to specify the model to be used in Portraits, so for a specific unit, you could create a duplicate actor, with all the same events, but have 1 use the static portrait model, the other use the dynamic one, and have a term in each actor checking for the player graphic setting (Failing a term = failing a condition, actor isn't created).
That said, yes, the simplest solution is to just set the Image in the Portrait model
Late, I got the solution. I didn't put the (Basic) Art: Image on the model's portrait, so no static was shown. But thank you otherwise.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey I want to know if there's any way on making a condition compare the graphics of the player's computer, I mean, in transmission I want the shown portrait to be a .dds file (static portrait) if the player has the 2D Portrait graphic option, and I want to be shown the Portrait model (.m3) if the player has the 3D Portrait enabled.
Sadly no, this is not possible. Blizzard is afraid of unfair treatment of players with worse computers if they allowed reading graphics settings.
@Mille25: Go
And is there any way of doing this? Because if I put the 2D Portraits when the transmission of my trigger runs it just shows a blue rectangle on the portrait but this is ot happening if I put 3D Portrait.
Depends. Usually 3D Portraits automatically scale down to 2D when the players have low graphics settings enabled, however this just works if the portrait model supports this (In other words, if its a default portrait model and not a unit model or smth else custom).
So, if you are using a standard portrait model you should be able to hardcode it to 3D (since it automatically scales down if necessary), but if you dont use a standard portrait model there is pretty much nothing you can do. :(
I know what's the problem right now. I only had to set an static protrait in the (Basic) Art: Image field at the Portrait Model. I'm making the custom statics portraits right now (because I've downloaded lots of assets fgrom here and some don't have statics).
EDIT: I'll upload the static portraits I make when I release my custom campaign. I have already done 2: the one for the DominionMarine4Portrait.m3 (think the name is like it) and the DrakkenSiegeBurnerPortrait.m3 (a custom portrait downloaded from this site).
EDIT2: My static portraits doesn't seem to have a good quality. Anyway I can "increse" them quality?
Slight correction, you can not use triggers to determine a players graphics setting, however Actors can with Event Terms. So you could conditionally create an actor based on options set. For a transmission, the unit actor has a field to specify the model to be used in Portraits, so for a specific unit, you could create a duplicate actor, with all the same events, but have 1 use the static portrait model, the other use the dynamic one, and have a term in each actor checking for the player graphic setting (Failing a term = failing a condition, actor isn't created).
That said, yes, the simplest solution is to just set the Image in the Portrait model
Late, I got the solution. I didn't put the (Basic) Art: Image on the model's portrait, so no static was shown. But thank you otherwise.