Raised This Month: $ Target: $400
 0% 

Module: Orpheu (v2.6.3)


Post New Thread Reply   
 
Thread Tools Display Modes
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 02-04-2010 , 17:52   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #91

Yeah, I think I understand it. I'll run some tests and post back if I run into any problems. Thanks for taking the time to explain it.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-05-2010 , 01:53   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #92

Quote:
Originally Posted by DarkGod View Post
Yeah, I think I understand it. I'll run some tests and post back if I run into any problems. Thanks for taking the time to explain it.
Also beware that the number you use in the plugin for the slot is smaller than the one for the hud slot that you tell visually.

That's why you see the screenshot in the slot 4 but you have 3 in code. They are just different representations. And of course this is for this special case. Is something I realized after trying to mess with the slot and that you can easily see in the code.

To learn more about what you can do with orpheu grab the hlsdk that, if you don't know, is an API given for those who want to extend the game (normally modders) but that ended up being useful for us because we use amxx (that is a way of modding the mods).

What orpheu adds to amxx is that it increases its range of what it can do.

Anyway what I want to express is:

If you haven't yet browsed to the code of hlsdk do it now.
And if you see something you want to use just read some and ask us.
__________________
joaquimandrade is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 02-05-2010 , 02:19   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #93

Hi, joaq, also arkshine, great job! what more I can say?!
My old shit computer has broken finally, now I am temply back.
I just want to say that you lead hl scripting to a brandnew level.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-05-2010 , 02:36   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #94

Quote:
Originally Posted by jim_yang View Post
Hi, joaq, also arkshine, great job! what more I can say?!
My old shit computer has broken finally, now I am temply back.
I just want to say that you lead hl scripting to a brandnew level.
Thanks and I owe much of that to you because I don't know if I would have pursuit the desire of making this if you didn't help me starting. And of course, for your code also.
__________________
joaquimandrade is offline
hjkwe654
Senior Member
Join Date: Sep 2005
Location: Taiwan
Old 02-05-2010 , 08:04   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #95

through this module, maybe we can fix the health integer bug (255 -> 0)
hjkwe654 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-05-2010 , 08:06   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #96

Quote:
Originally Posted by hjkwe654 View Post
through this module, maybe we can fix the health integer bug (255 -> 0)
http://forums.alliedmods.net/showthread.php?p=594746
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
hjkwe654
Senior Member
Join Date: Sep 2005
Location: Taiwan
Old 02-05-2010 , 08:25   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #97

uh, my mean is health can over 255 (like 1000)
hjkwe654 is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 02-05-2010 , 08:30   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #98

Quote:
Originally Posted by hjkwe654 View Post
uh, my mean is health can over 255 (like 1000)
I'm not sure but I guess hud has a bitmask for health.
If you try to get over that, you will some some weird icons...
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 02-05-2010 , 08:48   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #99

Alright, so I tried it out. I made both auto-snipers able to be in the 6th slot. I ran into one problem, though. You can only pick one of the guns in slot 6. I could, however, select the sg550 (it was only g3sg1 which was pickable through hitting slot6) by doing weapon_sg550 in console.

I could also not pick up any more primary weapons. Is it possible to find a way to do that, if they're in different slots?
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-05-2010 , 12:14   Re: Module: Orpheu2.1 (Change max money and weapon slots in the end of the thread :D
Reply With Quote #100

Quote:
Originally Posted by DarkGod View Post
Alright, so I tried it out. I made both auto-snipers able to be in the 6th slot. I ran into one problem, though. You can only pick one of the guns in slot 6. I could, however, select the sg550 (it was only g3sg1 which was pickable through hitting slot6) by doing weapon_sg550 in console.

I could also not pick up any more primary weapons. Is it possible to find a way to do that, if they're in different slots?
About changing multiple weapons to be on a same new slot, you probably have to play with "iPosition" or with "m_pNext".

About picking up multiple same category weapons I don't know. Will see about that.
__________________
joaquimandrade is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode