pa3ck Posted January 30, 2014 Share Posted January 30, 2014 Hi there, I'm trying to make a new rectangle radar, I know its pretty hard to do it ( for me at least ), I dont know how to go about it. The maths part is the hardest part, hence, I stuck. Any ideas / help on it? Link to comment
TrapLord Studios™ Posted January 30, 2014 Share Posted January 30, 2014 Create a Shader : engineApplyShaderToWorldTexture(shader, texturesimg[]) (shader, imageName) Link to comment
pa3ck Posted January 31, 2014 Author Share Posted January 31, 2014 Shader wont make the map rectangle, it will still be a circle. Link to comment
Bonsai Posted January 31, 2014 Share Posted January 31, 2014 Shader wont make the map rectangle, it will still be a circle. You create a rectangle, camera targets blip always in middle, other player blips according to distance. If u want the SA map to be shown u have find one and draw image section, or, bit more laggy probably, create a rendertarget for it. Link to comment
pa3ck Posted January 31, 2014 Author Share Posted January 31, 2014 Exactly, dxDrawImageSection, but I stuck at the maths part. Link to comment
Bonsai Posted January 31, 2014 Share Posted January 31, 2014 https://wiki.multitheftauto.com/wiki/GetCameraRotation https://wiki.multitheftauto.com/wiki/Ge ... ceRotation https://wiki.multitheftauto.com/wiki/FindRotation Thats what you will need. Link to comment
Djdidier Posted January 31, 2014 Share Posted January 31, 2014 So you want to make this? http://bcscripting.com/#!mta-screen_201 ... 9/imagetzu Anyway, Good Luck Link to comment
pa3ck Posted January 31, 2014 Author Share Posted January 31, 2014 Yea, but not like that. Radar like GTA 5 has, you will see the roads, buildings etc as well. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now