Jump to content

Help - Suggestion Making Theatre / TV


Recommended Posts

How to set the image resolution ? I got this

2w7gy7m.png

You mean the resolution of the material line?

Just set the start and end cords they are vertical though , starting x,y and z is the upper position and ending ones are at the bottom. If i got the question wrong, you can explain it once more. Also make sure the material you are drawing the line with exists, since you are getting that error.

EDIT : Did you read this?

faceTowardX/Y/Z: The position the front of the line should face towards. If this is not set, the camera position is used, so the front of the line faces toward the camera.

set a cord where the screen will force at, if not specified it will move according to the camera.

Link to comment

here is my script , so what to do about face toward to stop rotating ? What should i add on the line of this script ?

  
  
  
local img =   dxCreateTexture( "images/bstatus.png"  ) 
addEventHandler("onClientRender", root, 
    function()  -- x,y,z, targetx,targety,targetz,texture,width,color 
        dxDrawMaterialLine3D (1757.3798828125, -1665.0810546875, 20.4108648300173,1756.3798828125, -1665.0810546875, 16,img, 2, tocolor(255,255,255,255)) 
    end) 
  

Link to comment
here is my script , so what to do about face toward to stop rotating ? What should i add on the line of this script ?
  
  
  
local img =   dxCreateTexture( "images/bstatus.png"  ) 
addEventHandler("onClientRender", root, 
    function()  -- x,y,z, targetx,targety,targetz,texture,width,color 
        dxDrawMaterialLine3D (1757.3798828125, -1665.0810546875, 20.4108648300173,1756.3798828125, -1665.0810546875, 16,img, 2, tocolor(255,255,255,255)) 
    end) 
  

  
local img =   dxCreateTexture( "images/bstatus.png"  ) 
addEventHandler("onClientRender", root, 
    function()  -- x,y,z, targetx,targety,targetz,texture,width,color 
        dxDrawMaterialLine3D (1757.3798828125, -1665.0810546875, 20.4108648300173,1756.3798828125, -1665.0810546875, 16,img, 2, tocolor(255,255,255,255),posX,posY,posZ )-- the camera will always face these cords 
    end) 
  

Link to comment

Well if you don't mention the faceto arguments the front will be faced to your camera so everytime you move your camera or move yourself it will rotate as well, give in the cords i showed you in the code above and the thing should just face it and not rotate. Rotation is due to movement of your camera.

Link to comment

As i told you earlier,

  
local img =   dxCreateTexture( "images/bstatus.png"  ) 
addEventHandler("onClientRender", root, 
    function()  -- x,y,z, targetx,targety,targetz,texture,width,color 
        dxDrawMaterialLine3D (1757.3798828125, -1665.0810546875, 20.4108648300173,1756.3798828125, -1665.0810546875, 16,img, 2, tocolor(255,255,255,255),posX,posY,posZ )-- the camera will always face these cords 
    end) 
  

posX,posY,posZ

Enter that cord there at which your Material Line will face. That will work.

Link to comment
ah thank you so much , it's working fine now :) :) ,, btw can i play video with 'dxCreateTexture' function ?

Glad it helped :P Yes you can try texture , but i recommend a browser if you are going to play from internet(like most guys do).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...