Jump to content
Sign in to follow this  
Ringhejm

Pictures in the game like the change flag.

Recommended Posts

Hey every one.

I know how to change the flag on the flagpole.

But how do i change the map/picture on the bilbord to one of mine or just how to add a picture on a object. I have tryed many things but cant make them to work.

The latest one i tryed is this one.

this lnbSetPicture [101,[0,1],mylogo]

I put it in the init line of the obejct i have placed in the editor.

can someone help me

cheers

Share this post


Link to post
Share on other sites

dossent matter now, i have solved it.

this setobjecttexture [0,"mypic.jpg"]

Share this post


Link to post
Share on other sites

Weel if you want to know what this is usefuul for look at this.

the pictures you are using to do this is 512*512 or 256*256 keep that in mind.

Share this post


Link to post
Share on other sites

Looks very interesting! A couple of questions:

- Where do you place the jpg in mission folder?

- this setobjecttexture [0,"mypic.jpg"] What is the "0" for?

Thanks for sharing

Share this post


Link to post
Share on other sites
Looks very interesting! A couple of questions:

- Where do you place the jpg in mission folder?

- this setobjecttexture [0,"mypic.jpg"] What is the "0" for?

Thanks for sharing

You place the picture in the mission folder and that's it (probably has to be a ^2 resolution, e.g. 128x128, 256x256, 512x256 and so on). The 0 in the example is the selection number. Some objects have more places to put the custom texture and the number defines which one it is (starts with 0).

Share this post


Link to post
Share on other sites

The flag isnt square, but the sizes you tell to use are. Won't that look awfull?

Share this post


Link to post
Share on other sites
The flag isnt square, but the sizes you tell to use are. Won't that look awfull?

The texture is stretched to accommodate the textureholder's shape in the game so it depends where you put the texture.

Share this post


Link to post
Share on other sites

Yes, so if i use a 512x512 on a Sign like in the movie, the motives height gets mushed. The format height should be smaller. (Widescreen like).

How can I make the proportions correct, if the picture size must be square?

BTW: this setobjecttexture [0,"mypic.jpg"] doesnt work for flagpoles?

Edit: Maybe it has to be .paa on flags?

Edited by MugAben

Share this post


Link to post
Share on other sites
Yes, so if i use a 512x512 on a Sign like in the movie, the motives height gets mushed. The format height should be smaller. (Widescreen like).

How can I make the proportions correct, if the picture size must be square?

If the original picture has the same proportions as the sign, just resize it to a square, don't worry about it looking stupid outside the game.

BTW: this setobjecttexture [0,"mypic.jpg"] doesnt work for flagpoles?

Edit: Maybe it has to be .paa on flags?

Use setFlagTexture "mypic.jpg"

Share this post


Link to post
Share on other sites

How can I set my picture on billboard using it's object ID number?

Any ideas?

I did not find a billboard in objects list to create a new one..

Probably combining with nearestObject command but how?

Edited by VanhA-ICON

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×