Custom images on signs

Home / INDEX / Map Editing and Scripting / Custom images on signs

This topic contains 4 replies, has 4 voices, and was last updated by  ReaperSmurf 1 year, 4 months ago.

  • Creator
    Topic
  • #23668

    Anyone got some handy hints on applying custom images to signs or objects, in the same way we have the ASOR briefing signs etc?
    Do the images need to be .paa?
    Do they scale, wrap or truncate etc. when applied to objects?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #23673

    I’ve applied images to sign in PVP before, and it’s pretty straight forward. You need to click on the object and put this in the init field

    this setObjectTexture [0, “YOURPICTURENAME.jpg”]

    (use .jpg)

    The picture just needs to be in the mission folder before you extract it. I don’t know if it wraps, and I’ve only tested it on flag objects, but the pictures seem to resize to suit the object you’re putting it on.

    #23675

    Your better off using paa files but you can use others, I would use png before jpg. I think they will stretch the size of the sign you just need to have the right ratio for the size of the sign. If its any of the ones ASOR uses I can see you our images and you can use that to get the size at least.

    #23676

    PAA files need to be square too.. so best way to make them is to create it in an aspect ratio the same as the sign (just have to do it by eye), then when you’re done resize it to be square 256×256, 512×512, 1024×1024 or 2048×2048.

    #23681

    Thanks guys, I’ll give it a shot.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.