Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,147 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

XForceP

[WIP] IV Squared Minimap

Recommended Posts

XForceP

This mod was/is part of GTA V to IV Package, but I decided to make a topic for that.

This mod is open source.

You need ASI Loader: http://dev-c.com/gtaiv/asiloader
Download: http://crix-dev.org/mods/download.php?file=IVSquaredMap_1.8.1.asi
Source code: http://development.crix-dev.com/gta-mods/iv-squared-map

Roadmap:
1.8: Background for all Versions [DONE]
1.9: Stretch fix
2.0: 3D Map in Vehicle

 

Changelog 1.8.1:

Fixed ring issue when loading save game

Changelog 1.8:
Fixed background is circle
Fixed background stuff so it works with all versions

Changelog 1.7.1:
Hotfix for 1.7

Changelog 1.7:
Fixes for transparency in 1.0.4.0
Added Background to minimap (works only in EFLC and IV 1.0.7.0)

Changelog 1.6:
Fixes for blip calculation
Added configurable blipDistance
Blips are now fully inside minimap(not cut off)

Known Issues:


See 1.5 version in action (current is 1.8):

Edited by XForceP

Share this post


Link to post
Share on other sites
ssalil

So when is the next fix coming?

Share this post


Link to post
Share on other sites
XForceP

This week

Share this post


Link to post
Share on other sites
DK22Pac

So this is made with enlarging the rendering viewport, right? How do you plan to improve it?

Share this post


Link to post
Share on other sites
XForceP

So this is made with enlarging the rendering viewport, right? How do you plan to improve it?

Well I planned to modify the vertices. So that the minimap tiles will be not draw to the full viewport and not stretched then i planned to add a drawing function before drawing the blips so you can add a texture which is drawn behind a the blips

and the blips are not cut off.

I think you know what I mean. If you have a better idea pls tell me.

Edited by XForceP

Share this post


Link to post
Share on other sites
bst81

Ok ,good luck XForceP.

I used 800x600 resolution, hope it will be fit

Share this post


Link to post
Share on other sites
DesmondMMP

any solution? im using 800x600

 

ma1JMK1.jpg?1

Share this post


Link to post
Share on other sites
DGamer01

This mod was/is part of GTA V to IV Package, but I decided to make a topic for that.

 

This mod is open source.

 

You need ASI Loader: http://dev-c.com/gtaiv/asiloader

Download: http://crix-dev.org/mods/IVSquaredMap_1.5_RC2.asi

Source code: http://development.crix-dev.org/mods/iv-squared-map

 

Known Issues:

-Sometimes some blips disappear

-Sometimes blips are not correct on border if you are near the position

-Blips are cut off

 

See current version in action:

 

 

hey bro why all blips are shown on the map can u please make it like some blips appear which are close to us and the blips which are far from us do not appear please.

any solution? im using 800x600

 

ma1JMK1.jpg?1

are you using auto aspect ratio?

try using 16:9 ratio that might help i play at 1366x768 though so i have no problems just change the aspect ratio to 16:9 it might help you

Share this post


Link to post
Share on other sites
Lorenzo3024

man could you place the far blips into the radar? because they are cut off and this isn't good

Share this post


Link to post
Share on other sites
XForceP

Update 1.6:

 

Fixes for blip calculation

Added configurable blipDistance

Blips are now fully inside minimap(not cut off)

 

Download: http://crix-dev.org/mods/IVSquaredMap_1.6.asi

Edited by XForceP

Share this post


Link to post
Share on other sites
julionib

nice, just tested in patch 1.0.7.0 and its working fine

Share this post


Link to post
Share on other sites
Lorenzo3024

man it's perfect. the dimensions weren't good because it was too large, but now i fixed by the hud.dat.

Share this post


Link to post
Share on other sites
ssalil

man it's perfect. the dimensions weren't good because it was too large, but now i fixed by the hud.dat.

How you did that? Can you give which value & line you fixed?

Share this post


Link to post
Share on other sites
Amir Hussain Khan

it's not adjusting at 1280*1024 or 1280*960 please make it for these resoluction

Share this post


Link to post
Share on other sites
flak0x

Does anyone know how to remove that annoying yellow half circle from the radar? Great work btw.

Share this post


Link to post
Share on other sites
ssalil

You have to remove the whole character mod for that ^^ @flakOx or download v1.3 having the option to disable it :)

Share this post


Link to post
Share on other sites
G{}{}@ngsTer

Hey XForceP Why is my minimap is not transparent? i'm using patch 1.0.4.0 is the transparent minimap is only support 1.0.7.0?

Share this post


Link to post
Share on other sites
julionib

who uses V Style may like to update your version to the latest one :)

Share this post


Link to post
Share on other sites
XForceP

Hey XForceP Why is my minimap is not transparent? i'm using patch 1.0.4.0 is the transparent minimap is only support 1.0.7.0?

Well in 1.0.4.0 the minimap rendering is a bit different and as I dont have 1.0.4.0 I have not tested it. I will try to find a way to fix it but this will take some days.

Share this post


Link to post
Share on other sites
julionib

hey XForceP can you add some darker background to the map area? something like black with 75 as alpha value.

sometimes when the stripes on streets are behind map its hard to see the map

Share this post


Link to post
Share on other sites
G{}{}@ngsTer

 

Hey XForceP Why is my minimap is not transparent? i'm using patch 1.0.4.0 is the transparent minimap is only support 1.0.7.0?

 

Well in 1.0.4.0 the minimap rendering is a bit different and as I dont have 1.0.4.0 I have not tested it. I will try to find a way to fix it but this will take some days. Thank you

Share this post


Link to post
Share on other sites
ssalil

@XForceP- All the blips ensemble & overlaps each other when in the wanted zone or whenever it starts. Please fix that in the next version.

@julionib- Health colour changes to red when the bar decreases to less than 25%, also when using special god mode via Simple Native Trainer, the health bar becomes too long. Kindly fix these two :)

@julionib- I mean health colour remains green, it should change into red. Fix this and the above mentioned bug. :)

Share this post


Link to post
Share on other sites
Lorenzo3024

@julionib- Health colour changes to red when the bar decreases to less than 25%, also when using special god mode via Simple Native Trainer, the health bar becomes too long. Kindly fix these two :)

@julionib- I mean health colour remains green, it should change into red. Fix this and the above mentioned bug. :)

thank you very much man! i worked a lot on the script and now you use the julionib's radar! thanks!

I have endured a lot of criticism, people who put me in a hurry and I have always given my best to get good results, but this apparently was needless.

 

however i have to show you that his minimap isn't like gta 5, because is too big and the position isn't correct.

Share this post


Link to post
Share on other sites
ssalil

Lorenzo3024- man why you and Sharing becoming so rude over Julio's work. I totally respect and appreciate your work too but at present you were busy in fixing your version so just tested and reported him back, I do the same with you also

Share this post


Link to post
Share on other sites
XForceP

Ah I love this childish behaviour.

//Sarcasm

Share this post


Link to post
Share on other sites
ssalil

same here @XForceP look at the other thread how much things have gone worse after I posted about that update.

Share this post


Link to post
Share on other sites
julionib

first: i didnt made a squared map, just made borders and bars to work with the squared map version that works here in my gta copies (1.0.4.0, 1.0.7.0, EFLC and ViIV), unfortunately version from package didnt worked here even trying other ASI loaders.

second: its completely compatible with squared map from that package, user just need to disable borders and bars drawing in .ini, i have a note about this on blog post release

 

third: i dont think i need a third argument ^^


my objective is not make people change to another mod, is just make possible use the features in any condition

Share this post


Link to post
Share on other sites
ssalil

@julionib- Hey man can you please help @Lorenzo3024 over how you correctly aligned or placed map borders very properly with that to squared map in your own version of Character Switch mod :santa: I believe a experienced scripter & a famous modder like you should help newbies so that their ideas also help the communities enjoy & use it as a proper mod & I am requesting it from my side too :beerhat: Anyways thanks for giving attention to my suggestion about the bugs. :santa: The latest version 1.4.2 is fabulous & works like a charm without any errors. :r*:

Share this post


Link to post
Share on other sites
julionib

i use a method to obtain radar position and size, then based on this i draw my lines, the size and position returned is on screen percent and i need to convert to pixel because i use perFrameDrawing event:

this is the code in vb.net:

        Dim tmpx, tmpy, tmpw, tmph As Native.Pointer        tmpx = New Native.Pointer(GetType(Single))        tmpy = New Native.Pointer(GetType(Single))        tmpw = New Native.Pointer(GetType(Single))        tmph = New Native.Pointer(GetType(Single))        Dim tmpId As Native.Pointer = New Native.Pointer(GetType(Int32))        Native.Function.Call("GET_RADAR_VIEWPORT_ID", tmpId)        Dim sId As String = tmpId.Value.ToString        Native.Function.Call("GET_VIEWPORT_POS_AND_SIZE", Int16.Parse(sId), tmpx, tmpy, tmpw, tmph)        Dim X As Single = Single.Parse(DirectCast(tmpx.Value.ToString, String))        Dim Y As Single = Single.Parse(DirectCast(tmpy.Value.ToString, String))        Dim W As Single = Single.Parse(DirectCast(tmpw.Value.ToString, String))        Dim H As Single = Single.Parse(DirectCast(tmph.Value.ToString, String))        radarSize.X = W * Game.Resolution.Width        radarSize.Y = H * Game.Resolution.Height        X += W * 0.5        Y += H * 0.5        radarPosition.X = X * Game.Resolution.Width        radarPosition.Y = Y * Game.Resolution.Height - 1        radarPosition.X += barOffset_X        radarPosition.Y += barOffset_Y        radarSize.X *= barSize_W        radarSize.Y *= barSize_H

barOffset_X and barOffset_Y are used to apply position change if user want, not sure if its useful

barSize_W and barSize_H are used to apply size change by user if needed

i do the following part to make the returned position be the Center position of radar:

X += W * 0.5Y += H * 0.5
Edited by julionib

Share this post


Link to post
Share on other sites
LordOfTheBongs

oh u wrote this?? i thought it was that sharing guy who wrote this mod... i mean he did try to steal credit on anything he could

Share this post


Link to post
Share on other sites

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

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.