FOR STARTERS sorry if i post in the wrong section again,, i dont use forums much,, theres also nothing in vindictus section about coding,,, i ran into this once b4.. im an idiot when it comes to posting on forum..XD
in this theres unneeded code, 2 ways to make a in game menu,, one is simple drawing directx squares lines and text..
the other is drawing images. you will still need to draw alot.. this is a very small start for you
Code:
Dim MenuBack As New Drawing.SolidBrush(Color.Black)
Dim MenuRect As New Drawing.Pen(Color.Red, 5)
Dim MenuLine As New Drawing.Pen(Color.Red, 5)
Dim fontObj As Font
'Dim fontobj2 As Font
'-----------------------Image-------------------'
' Create image.
Dim newImage As Image = Image.FromFile("main.png")
Dim newimage2 As Image = Image.FromFile("main2.png")
Dim rectmain As New RectangleF(0.0F, 0.0F, 1600.0F, 32.0F)
Dim rect As New RectangleF(0.0F, 32.0F, 200.0F, 350.0F)
Dim rect2 As New RectangleF(1400.0F, 32.0F, 200.0F, 350.0F)
' Draw image to screen.
e.Graphics.DrawImage(newImage, rect2)
e.Graphics.DrawImage(newImage, rect)
e.Graphics.DrawImage(newimage2, rectmain)
'--------------------LEFT SIDE---------------' old switched to images
' e.Graphics.FillRectangle(MenuBack, 2, 2, 1600, 35)
'e.Graphics.FillRectangle(MenuBack, 2, 37, 200, 350)
' e.Graphics.DrawRectangle(MenuRect, 2, 2, 1595, 35)
' e.Graphics.DrawRectangle(MenuLine, 2, 37, 200, 350)
fontObj = New System.Drawing.Font("Times", 14, FontStyle.Bold)
e.Graphics.DrawString("Version 1.0", fontObj, Brushes.Red, 1450, 348)
' fontobj2 = New System.Drawing.Font("Times", 14, FontStyle.Bold)
' e.Graphics.DrawString("Fps" + "", fontobj2, Brushes.Red, 20, 348)
'-------------------------RIGHT SIDE--------'
' e.Graphics.FillRectangle(MenuBack, 1395, 37, 200, 350)
' e.Graphics.DrawRectangle(MenuLine, 1396, 37, 200, 350)
'-----------------------CENTER MIDDLE-------'
' e.Graphics.FillRectangle(MenuBack, 448, 37, 400, 350)
' e.Graphics.DrawRectangle(MenuLine, 448, 37, 400, 350)
' Dispose()
fps1.Enabled = True
fps2.Enabled = True
now this is for a real directx visual basic menu. i made for codbo and converted to vindictus.. i will not post the whole source if u cant get started from here sorry.. vb is an easy language... hooking dx in vb is very complex,,, theres also other ways to make menus in vb but they dont work so well.. theres pry another million ways to do this noones ever thought of... theres also more people then me from a learning site i cant say the name because id be insta banned that HAVE succesfully hooked games in visual basic so dont come here posting ur shit u cant do it..quiet down,,, study.. stop downloading others source and claiming its yours... learn.. in programing.. theres no limit.. the only limit is your knowledge its probably even possible u dont need to do any of this... somone can probably find a way to set your regular form as a child to the game and display over,, in mpgh codbo section somone released a console tool for the game,, *i bet theres some really useful info there for hacking vindictus in vb*
u can also use gdi to draw to other programs in vb....i have tested once.. was NOT happy with the results if u want to play here google vb gdi+ wrapper.. i recomend being very advanced in vb to take on this task.. theres also info on drawing fps here on this site in vb, i tried this at one point.. thats where i left it.. try..... it works, but its not clear at all, if u want to go that way theres many pros to it but i was far into this project when i ran across it, im sure u can find more ways to draw using the same method
i will upload an image or 2 showing both menus in the game.. actually on second thought i dont feel like reverting my code at the moment so ill just post one the current way drawing images
if u dont beleive it,like it, or want to flame please save us the time, im not here to argue im here to post stuff to inspire and help people learn,, all over the placce theres flamers knocking people down that are trying to learn,,, can we all understand each other and reach the same matuirty lvl.. thx