Jump to content

[WIP] IV Squared Minimap


XForceP

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 comment
Share on other sites

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

Link to comment
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 comment
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 comment
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

Link to comment
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.

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

Amir Hussain Khan

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

Link to comment
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 comment
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?

Link to comment
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 comment
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 comment
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
Link to comment
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 comment
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.

Link to comment
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 comment
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 comment
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 comment
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 comment
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 comment
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

Link to comment
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
  • 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.