Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Dennys

Members
  • Posts

    268
  • Joined

  • Last visited

    Never

Everything posted by Dennys

  1. Dennys

    My main menu

    whats anno 1404? and thanks
  2. Dennys

    My main menu

    im talking about scripts here not the actual files.
  3. i even see some green lines on the buttons? is that supposed to be there?
  4. Dennys

    My main menu

    thing is for my game i need to sadscript alot of things and they say the sadscripting methods will be different not to mention the source will be java. One of the thigns i want to script is a Summoning sytem which i will later adapt into a Pet system. and it would be hell if i had to translate such a thing into the new sadscripting? no? but im defenately going to go with 3.0 when it comes out.
  5. the backgroudn looks good. The buttons not so much needs some more detail and maybe texture? border? 3d? idk lol im a beginner too.
  6. Dennys

    My main menu

    its far from production still, but i have most of it planned out in my head and on paper. Im just waiting for 3.0 to come out.
  7. Dennys

    My main menu

    maybe ill go with smaller buttons on the new game im making
  8. Dennys

    My main menu

    ha yeah i also wanted the title centered and a gradient from one to the other but the big buttons wouldn't let me xD
  9. Dennys

    My main menu

    well its supposed to have an old antique brownish look to it.
  10. Dennys

    My main menu

    y not? it all has the same color scheme? and i like the big buttons
  11. Dennys

    My main menu

    well this was the Main menu of a game i was making before but I'm not anymore, its the first GUI i ever made, tell me what you think about it and what i can do to improve upon it. I would say if you want it take it but i changed the source on my client to fit the GUI.
  12. its not that its small its that The phrase New Account was too long to fit at the same font size as the rest of the buttons, and the quit is large cause she wanted to make it large? isint it large on the original GUI too?
  13. im sorry for asking this, but its because im not very experienced with source editing. How would you go about changing the indices?
  14. I am trying to find out a way to make the Maximun amount of NPCs in a map more than just 15\. Is it possible? i tryed changing the Constant in the source called MAX_MAP_NPCS but then it started giving me Runtime error 9 on server load. any ideas? Edit: @Dennys: > Sorry for the DOuble Post: I DID IT WOO I GOT 18 NPCs TO Spawn :D Heres some Pics:
  15. I just did this recently and it worked so you must be doing something wrong Heres the steps i toook: In ModGameLogic, Search for this: ``` NewX = 10 NewY = 7 NewPlayerY = Player(MyIndex).y - NewY NewPlayerX = Player(MyIndex).X - NewX NewX = NewX * PIC_X NewY = NewY * PIC_Y NewXOffset = Player(MyIndex).xOffset NewYOffset = Player(MyIndex).yOffset If Player(MyIndex).y - 7 < 1 Then NewY = Player(MyIndex).y * PIC_Y + Player(MyIndex).yOffset NewYOffset = 0 NewPlayerY = 0 If Player(MyIndex).y = 7 And Player(MyIndex).Dir = DIR_UP Then NewPlayerY = Player(MyIndex).y - 7 NewY = 7 * PIC_Y NewYOffset = Player(MyIndex).yOffset End If ElseIf Player(MyIndex).y + 9 > MAX_MAPY + 1 Then NewY = (Player(MyIndex).y - (MAX_MAPY - 14)) * PIC_Y + Player(MyIndex).yOffset NewYOffset = 0 NewPlayerY = MAX_MAPY - 14 If Player(MyIndex).y = MAX_MAPY - 7 And Player(MyIndex).Dir = DIR_DOWN Then NewPlayerY = Player(MyIndex).y - 7 NewY = 7 * PIC_Y NewYOffset = Player(MyIndex).yOffset End If End If If Player(MyIndex).X - 10 < 1 Then NewX = Player(MyIndex).X * PIC_X + Player(MyIndex).xOffset NewXOffset = 0 NewPlayerX = 0 If Player(MyIndex).X = 10 And Player(MyIndex).Dir = DIR_LEFT Then NewPlayerX = Player(MyIndex).X - 10 NewX = 10 * PIC_X NewXOffset = Player(MyIndex).xOffset End If ElseIf Player(MyIndex).X + 11 > MAX_MAPX + 1 Then NewX = (Player(MyIndex).X - (MAX_MAPX - 19)) * PIC_X + Player(MyIndex).xOffset NewXOffset = 0 NewPlayerX = MAX_MAPX - 19 If Player(MyIndex).X = MAX_MAPX - 9 And Player(MyIndex).Dir = DIR_RIGHT Then NewPlayerX = Player(MyIndex).X - 10 NewX = 10 * PIC_X NewXOffset = Player(MyIndex).xOffset End If End If ScreenX = GetScreenLeft(MyIndex) ScreenY = GetScreenTop(MyIndex) ScreenX2 = GetScreenRight(MyIndex) ScreenY2 = GetScreenBottom(MyIndex) If ScreenX < 0 Then ScreenX = 0 ScreenX2 = 20 ElseIf ScreenX2 > MAX_MAPX Then ScreenX2 = MAX_MAPX ScreenX = MAX_MAPX - 20 End If If ScreenY < 0 Then ScreenY = 0 ScreenY2 = 15 ElseIf ScreenY2 > MAX_MAPY Then ScreenY2 = MAX_MAPY ScreenY = MAX_MAPY - 15 End If ``` Replace with this: ``` NewX = 12 NewY = 9 NewPlayerY = Player(MyIndex).y - NewY NewPlayerX = Player(MyIndex).x - NewX NewX = NewX * PIC_X NewY = NewY * PIC_Y NewXOffset = Player(MyIndex).xOffset NewYOffset = Player(MyIndex).yOffset If Player(MyIndex).y - 9 < 1 Then NewY = Player(MyIndex).y * PIC_Y + Player(MyIndex).yOffset NewYOffset = 0 NewPlayerY = 0 If Player(MyIndex).y = 9 And Player(MyIndex).Dir = DIR_UP Then NewPlayerY = Player(MyIndex).y - 9 NewY = 9 * PIC_Y NewYOffset = Player(MyIndex).yOffset End If ElseIf Player(MyIndex).y + 11 > MAX_MAPY + 1 Then NewY = (Player(MyIndex).y - (MAX_MAPY - 18)) * PIC_Y + Player(MyIndex).yOffset NewYOffset = 0 NewPlayerY = MAX_MAPY - 18 If Player(MyIndex).y = MAX_MAPY - 9 And Player(MyIndex).Dir = DIR_DOWN Then NewPlayerY = Player(MyIndex).y - 9 NewY = 9 * PIC_Y NewYOffset = Player(MyIndex).yOffset End If End If If Player(MyIndex).x - 12 < 1 Then NewX = Player(MyIndex).x * PIC_X + Player(MyIndex).xOffset NewXOffset = 0 NewPlayerX = 0 If Player(MyIndex).x = 12 And Player(MyIndex).Dir = DIR_LEFT Then NewPlayerX = Player(MyIndex).x - 12 NewX = 12 * PIC_X NewXOffset = Player(MyIndex).xOffset End If ElseIf Player(MyIndex).x + 14 > MAX_MAPX + 1 Then NewX = (Player(MyIndex).x - (MAX_MAPX - 24)) * PIC_X + Player(MyIndex).xOffset NewXOffset = 0 NewPlayerX = MAX_MAPX - 24 If Player(MyIndex).x = MAX_MAPX - 12 And Player(MyIndex).Dir = DIR_RIGHT Then NewPlayerX = Player(MyIndex).x - 12 NewX = 12 * PIC_X NewXOffset = Player(MyIndex).xOffset End If End If ScreenX = GetScreenLeft(MyIndex) ScreenY = GetScreenTop(MyIndex) ScreenX2 = GetScreenRight(MyIndex) ScreenY2 = GetScreenBottom(MyIndex) If ScreenX < 0 Then ScreenX = 0 ScreenX2 = 25 ElseIf ScreenX2 > MAX_MAPX Then ScreenX2 = MAX_MAPX ScreenX = MAX_MAPX - 25 End If If ScreenY < 0 Then ScreenY = 0 ScreenY2 = 19 ElseIf ScreenY2 > MAX_MAPY Then ScreenY2 = MAX_MAPY ScreenY = MAX_MAPY - 19 End If ``` In ModDirectX, Search for this ``` Public Function GetScreenLeft(ByVal Index As Long) As Long GetScreenLeft = GetPlayerX(Index) - 11 End Function Public Function GetScreenTop(ByVal Index As Long) As Long GetScreenTop = GetPlayerY(Index) - 8 End Function Public Function GetScreenRight(ByVal Index As Long) As Long GetScreenRight = GetPlayerX(Index) + 10 End Function Public Function GetScreenBottom(ByVal Index As Long) As Long GetScreenBottom = GetPlayerY(Index) + 8 End Function ``` Replace with this ``` Public Function GetScreenLeft(ByVal Index As Long) As Long GetScreenLeft = GetPlayerX(Index) - 13 End Function Public Function GetScreenTop(ByVal Index As Long) As Long GetScreenTop = GetPlayerY(Index) - 10 End Function Public Function GetScreenRight(ByVal Index As Long) As Long GetScreenRight = GetPlayerX(Index) + 13 End Function Public Function GetScreenBottom(ByVal Index As Long) As Long GetScreenBottom = GetPlayerY(Index) + 10 End Function ``` Next, visit frmMirage and you should put things similiar to this ![](http://i44.tinypic.com/2uzs2f4.png) After that just fix around everything else on the screen to make sure it all fits, also make sure you extend the Window itself, and you GUI
  16. I sent you a PM hope you read it.
  17. hey mushu, is this ready to be loaded? i downlaoded your source, compiled it and when i tried to log in it gives me runtime error 9
×
×
  • Create New...