03-12-2006, 06:25 AM
Sorry for bringing back this old tut guys,but im Quake. Im new to VB and Mirage. I was testing out this tutorial and i thought i could help DarkX a bit. I hope you dont get offended if you think im trying to make my way look better im only trying to help
Well, I placed
AFTER
By doing this, it makes the NPC tops over the players.
Now for some reason this bit of code didnt work well for me
So i just removed the * 2 after PIC_Y and it worked. I dont actually know what i did lol but it works. BTW nice tut i used it
Well, I placed
Code:
' Blit out the npcs top
For i = 1 To MAX_MAP_NPCS
Call BltNpcTop(i)
Next iAFTER
Code:
' Blit out players
For i = 1 To MAX_PLAYERS
If IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) Then
Call BltPlayer(i)
End If
Next iBy doing this, it makes the NPC tops over the players.
Now for some reason this bit of code didnt work well for me
Code:
With rec
.top = Npc(MapNpc(MapNpcNum).Num).Sprite * PIC_Y * 2
.Bottom = .top + PIC_Y
.Left = (MapNpc(MapNpcNum).Dir * 3 + Anim) * PIC_X
.Right = .Left + PIC_X
End WithSo i just removed the * 2 after PIC_Y and it worked. I dont actually know what i did lol but it works. BTW nice tut i used it
