|
|
|
|
|
|
|
|
|
|
|
Re: [preview] rotating weaponlist [message #415004 is a reply to message #414950] |
Tue, 22 December 2009 16:23 |
Tunaman
Messages: 1190 Registered: January 2005
Karma: 2
|
General (1 Star) |
|
|
Thanks for all the nice comments.
Sorry, but my knowledge of 3d graphics is very limited so I'm not sure I would have any idea about how to make it 3d.
For the images, I've just been using the standard images shown on the default weaponlist or the bottom right. I made settings in hud.ini that allows you to change the color, but I just wanted to show off the functionality of it so I made everything the exact same as the default ren weapon list(the color & fade time are exactly the same). ^^ I also made settings so you can change the radius of the circle the weapons rotate, how long the weapons stay shown after changing them, the time it takes to fade, and the time it takes for the weapons to turn to the newly selected one.
Also it shouldn't have a problem when there are lots of weapons, I tried it in one server where there were weapons all over the place and it didn't seem to have a problem with like 20 weapons.. Do you know of how I could test to see if there are any problems with a bunch of weapons?
[Updated on: Tue, 22 December 2009 16:23] Report message to a moderator
|
|
|
Re: [preview] rotating weaponlist [message #415047 is a reply to message #414950] |
Tue, 22 December 2009 23:10 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
void Grant_Powerup(GameObject *obj,const char *Preset_Name); //grants a powerup
You'll need to modify a server, but using that function will allow you to grant a player weapons.
|
|
|
|
|
|
|
|
|
Re: [preview] rotating weaponlist [message #415249 is a reply to message #415047] |
Thu, 24 December 2009 00:57 |
Tunaman
Messages: 1190 Registered: January 2005
Karma: 2
|
General (1 Star) |
|
|
reborn wrote on Wed, 23 December 2009 01:10 | void Grant_Powerup(GameObject *obj,const char *Preset_Name); //grants a powerup
You'll need to modify a server, but using that function will allow you to grant a player weapons.
|
Cool, thanks.
I ended up just running around on the Haunted2 map and picking up lots of weapons.. it seemed like the easiest way to do it. What I found that when you have a very large amount of weapons they begin to overlap a little bit. =( I'm not quite sure of a way to fix that besides making the circle they revolve around bigger.. on small resolutions it is already a very large part of the screen so I think that I'll just leave it like it is currently, and if there's a glaring problem then I'll try to fix it. ^^
And thanks everyone for all of the nice comments!
[Updated on: Thu, 24 December 2009 00:58] Report message to a moderator
|
|
|
|
|
|
|
|