Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [HUD] Rotating Weaponlist  () 3 Votes
Re: [HUD] Rotating Weaponlist [message #417764 is a reply to message #417716] Sat, 16 January 2010 05:02 Go to previous messageGo to next message
Scrin is currently offline  Scrin
Messages: 1310
Registered: January 2007
Location: Cold City
Karma: 0
General (1 Star)

Gen_Blacky wrote on Fri, 15 January 2010 20:04

I cant change the weapon list x y positions for some reason. I change the values of WeaponListXPos and WeaponListYPos but the weapon list did not move. WeaponListXCentered and
WeaponListYCentered are turned off.

index.php?t=getfile&id=12351&private=0





ehh, what have you done with my hud... (made me l0L) Big Grin Big Grin Big Grin
btw, why you still play teh game?

Tunaman wrote on Thu, 24 December 2009 01:38

Hey, here's my rotating weaponlist

OMFG U ARE DUDAMAN!


[Updated on: Sat, 16 January 2010 05:05]

Report message to a moderator

Re: [HUD] Rotating Weaponlist [message #417790 is a reply to message #415239] Sat, 16 January 2010 12:44 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
way to spam scrin. That is your health bar and radar. Just using it as a concept before I make my own.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: [HUD] Rotating Weaponlist [message #418399 is a reply to message #415239] Sun, 24 January 2010 17:35 Go to previous messageGo to next message
Tunaman
Messages: 1188
Registered: January 2005
Karma: 1
General (1 Star)
Hey Blacky, I checked and it seems everything was OK with changing the X and Y positions for me. I did notice a bug with WeaponListYCentered, and fixed it. I will upload a new copy that fixes this.

Sorry for the slow reply again, I think you know why I have been slow. Razz


http://img694.imageshack.us/img694/9055/tunamanlmao.png
Re: [HUD] Rotating Weaponlist [message #418400 is a reply to message #415239] Sun, 24 January 2010 17:39 Go to previous messageGo to next message
Raptor RSF is currently offline  Raptor RSF
Messages: 210
Registered: July 2007
Location: Netherlands
Karma: 0
Recruit
Well, Tunaman found a mistake in his source code.


		if(WeaponListXCentered)
		{
			WeaponListXPos += ScreenResolution->Right/2;
		}
		else if(WeaponListXPos < 0)
		{
			WeaponListXPos += ScreenResolution->Right;
		}
		if(WeaponListYCentered)
		{
			WeaponListYPos += ScreenResolution->Right/2;
		}
		else if(WeaponListYPos < 0)
		{
			WeaponListYPos += ScreenResolution->Right;
		}



should be changed to:


		if(WeaponListXCentered)
		{
			WeaponListXPos += ScreenResolution->Right/2;
		}
		else if(WeaponListXPos < 0)
		{
			WeaponListXPos += ScreenResolution->Right;
		}
		if(WeaponListYCentered)
		{
			WeaponListYPos += ScreenResolution->Bottom/2;
		}
		else if(WeaponListYPos < 0)
		{
			WeaponListYPos += ScreenResolution->Bottom;
		}




And in the HUD.ini add :


WeaponListXP=0
WeaponListYP=0
WeaponListDistance=250




Rencom server Fan - Marathon#1

http://bfbc2.statsverse.com/sig/clean1/pc/Raptor_RSF.png
Re: [HUD] Rotating Weaponlist [message #418401 is a reply to message #415239] Sun, 24 January 2010 17:52 Go to previous messageGo to next message
Tunaman
Messages: 1188
Registered: January 2005
Karma: 1
General (1 Star)
I'm not referencing "WeaponListXP" anywhere in my code, is that something you guys have changed? On mine it says(and works with) the exact string "WeaponListXPos". Surprised

Also you don't have to add those in hud.ini, those are the default values anyways. ^^


http://img694.imageshack.us/img694/9055/tunamanlmao.png
Re: [HUD] Rotating Weaponlist [message #418418 is a reply to message #418401] Mon, 25 January 2010 02:56 Go to previous messageGo to next message
Raptor RSF is currently offline  Raptor RSF
Messages: 210
Registered: July 2007
Location: Netherlands
Karma: 0
Recruit
Tunaman wrote on Sun, 24 January 2010 18:52

I'm not referencing "WeaponListXP" anywhere in my code, is that something you guys have changed? On mine it says(and works with) the exact string "WeaponListXPos". Surprised

Also you don't have to add those in hud.ini, those are the default values anyways. ^^


It gets WeaponListXP and WeaponListYP from the ini file.

		WeaponListXPos = hudini->Get_Float("General","WeaponListXP",0);
		WeaponListYPos = hudini->Get_Float("General","WeaponListYP",0);




Lol at Tunaman for posting at the same time XD Big Grin


Rencom server Fan - Marathon#1

http://bfbc2.statsverse.com/sig/clean1/pc/Raptor_RSF.png

[Updated on: Mon, 25 January 2010 02:56]

Report message to a moderator

Re: [HUD] Rotating Weaponlist [message #418835 is a reply to message #415239] Fri, 29 January 2010 23:22 Go to previous messageGo to next message
InternetThug is currently offline  InternetThug
Messages: 1036
Registered: October 2005
Location: vagina
Karma: 0
General (1 Star)
nice product tunaman, it helped me get 100x better at renegade, almost as proficient as my strategy guide in the strategy forum
Re: [HUD] Rotating Weaponlist [message #418888 is a reply to message #418835] Sat, 30 January 2010 13:30 Go to previous messageGo to next message
dr3w2 is currently offline  dr3w2
Messages: 485
Registered: September 2006
Location: Ottawa,Canada
Karma: 0
Commander
Ralph wrote on Sat, 30 January 2010 00:22

nice product tunaman, it helped me get 100x better at renegade, almost as proficient as my strategy guide in the strategy forum

rofl


n00bstories Server Administrator
Re: [HUD] Rotating Weaponlist [message #420096 is a reply to message #415239] Tue, 16 February 2010 20:04 Go to previous messageGo to next message
Russ is currently offline  Russ
Messages: 3
Registered: September 2009
Location: Southern United
Karma: 0
Recruit

Is there anyway that anyone can describe to a complete n00b & virtually computer illiterate person (Me) of how & where to put what files & what files to remove in order for this to work properly?

Does it work in cooperation with any HUDs w/o interference or error?


Riggggghhhhhhtttt....................
Re: [HUD] Rotating Weaponlist [message #420127 is a reply to message #415239] Wed, 17 February 2010 08:53 Go to previous messageGo to next message
Raptor RSF is currently offline  Raptor RSF
Messages: 210
Registered: July 2007
Location: Netherlands
Karma: 0
Recruit
I think you better can wait until Tunaman or I release a HUD with this feature because its complicated.

Rencom server Fan - Marathon#1

http://bfbc2.statsverse.com/sig/clean1/pc/Raptor_RSF.png
Re: [HUD] Rotating Weaponlist [message #476397 is a reply to message #417716] Mon, 22 October 2012 16:46 Go to previous messageGo to next message
Sean is currently offline  Sean
Messages: 822
Registered: February 2009
Karma: 0
Colonel
Bump:

I assume this doesn't work with Scripts 4.0?

It would be awesome if it could be edited to work, as its a cool initiative.


Head admin at TmX (The Matrix Sniper server)

irc.thematrixserver.com
The Matrix Sniper: 188.138.84.134:4576
Re: [HUD] Rotating Weaponlist [message #476405 is a reply to message #476397] Mon, 22 October 2012 20:43 Go to previous message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Croatoan wrote on Mon, 22 October 2012 18:46

Bump:

I assume this doesn't work with Scripts 4.0?

It would be awesome if it could be edited to work, as its a cool initiative.

Doubtful. This was no doubt a modification of the then open source shaders.dll, which is with 4.0 closed source. Jonwil or the like would be able to answer this better, however.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Previous Topic: C&C_Hon_DM
Next Topic: [SSGM 4.0 Plugin] Random Rotation
Goto Forum:
  


Current Time: Tue Apr 23 16:41:54 MST 2024

Total time taken to generate the page: 0.00855 seconds