Page 1 of 1
Adding HUD
Posted: Fri Jul 13, 2012 6:05 am
by Anakin
Hi,
you all know the problem of the floating icons when doing own icons.
And we all know this great tutorial
http://www.gametoast.com/forums/viewtop ... =64&t=9703
But for me it doesn't work. i added all the files etc, but nothing works. no matter what changes i do the icons do not move. i hope you can help me.
Re: Floating Icons
Posted: Fri Jul 13, 2012 6:22 am
by AQT
Anakin wrote:i added all the files etc, but nothing works. no matter what changes i do the icons do not move.
Please explain this by providing said files and what you actually did.
Re: Floating Icons
Posted: Fri Jul 13, 2012 7:25 am
by Anakin
Ok i replaced the munge.bat. than i added the extraweapons.hud to my rep folder. added this part
Code: Select all
REQN
{
"model"
"com_inv_mesh"
}
REQN
{
"config"
"extraweapons"
}
to my rep.req.
put the com_inv_msh in my msh folder.
than i added this part
Code: Select all
MeshInfo("ande_dc17_rifle")
{
Position(-0.222832, 0.361293, 0.014590, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
to the extraweapons.hud file for testing it. i changed the values, but the icon didn't move. i made a manuel clean and noticed, that the munge.bat doesn't work. there was no rep.lvl build. so i decided to use my old munge.bat and get the rep.lvl again, but the icons do not move.
Re: Floating Icons
Posted: Fri Jul 13, 2012 2:10 pm
by Dreadnot9
If you're using vista/windows 7 you'll need the code in
this topic for the munge_side.bat to work properly. I had this problem a little while ago as well.
Re: Floating Icons [Solved]
Posted: Mon Jul 16, 2012 8:15 am
by Anakin
what is the deifferent to my munge bat, that works for the sides? Can i use this munge bat code for munge the sides too or only for the HUD thing?
==EDIT==
You get it thank you a lot. the first weapon is fixed
==EDIT2==
i want an RC HUD and added this to the extraweapon thing.
Code: Select all
Group("RC_HUD")
{
PropagateAlpha(1)
Viewport(1)
Position(0.000000, 1.00000, 0.000000, "Viewport")
ZOrder(255)
EventEnable("player1.spawn")
EventDisable("player1.die")
Model3D("RC_HUD")
{
Mesh("RC_HUD")
Viewport(1)
Position(0.00000, 0.000000, -2.212803, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.27000, 0.26000, 0.260000)
ZOrder(8)
EventEnable("player1.spawn")
EventDisable("player1.die")
}
}
but no HUD is shown.
==EDIT3==
ok the HUD isn't shown in the debugger, but it's there ingame. My only problem is, i cannot move it anymore. first it worked very good, but now it's not moving.
Code: Select all
Group("RC_HUD")
{
PropagateAlpha(1)
Viewport(1)
Position(0.000000, 1.00000, 0.000000, "Viewport")
ZOrder(255)
EventEnable("player1.spawn")
EventDisable("player1.die")
Model3D("RC_HUD")
{
Mesh("RC_HUD")
Viewport(1)
Position(0.50000, 50.00000, 50.000000, "Viewport")
Rotation(0.000000, 0.000000, 359.999695)
Scale(100.00000, 100.00000, 100.000000)
ZOrder(8)
EventEnable("player1.spawn")
EventDisable("player1.die")
}
}