Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

[WIP] IV Squared Minimap


XForceP
 Share

Recommended Posts

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
Link to post
Share on other sites

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

Link to post
Share on other sites

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
Link to post
Share on other sites

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

  • Like 1
Link to post
Share on other sites

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?

Link to post
Share on other sites

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

Link to post
Share on other sites

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?

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

Link to post
Share on other sites

 

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
Link to post
Share on other sites

@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. :)

Link to post
Share on other sites

@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.

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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

  • Like 2
Link to post
Share on other sites

@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*:

Link to post
Share on other sites

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
  • Like 3
Link to post
Share on other sites

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

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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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