Popups & sound libary
Popups & sound libary
Hi,
I think those 2 are the next 2 major necessary python libs, once these are done, most of the more useful libs are there. Especially popups would be great to see, because it doesn't really make sense for plugins to have their own implementation (as it causes problems as soon other plugins override the current popup).
Sound would also be rather useful, since the Engine API is rather complex and also different for CS:GO/CSS :P
Anychance popups are next ? (and sounds)
I think those 2 are the next 2 major necessary python libs, once these are done, most of the more useful libs are there. Especially popups would be great to see, because it doesn't really make sense for plugins to have their own implementation (as it causes problems as soon other plugins override the current popup).
Sound would also be rather useful, since the Engine API is rather complex and also different for CS:GO/CSS :P
Anychance popups are next ? (and sounds)
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm
If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm
If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Hey Omega_K2,
Popups are currently beeing worked on and should be available soon. For the sounds, I don't see the need of a library because you can directly use IEngineSound or even easier, execute "play" or "playsound" using engine.ClientCommand on the clients of your choice...
L'In20Cible
Popups are currently beeing worked on and should be available soon. For the sounds, I don't see the need of a library because you can directly use IEngineSound or even easier, execute "play" or "playsound" using engine.ClientCommand on the clients of your choice...
L'In20Cible
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
L'In20Cible wrote:Hey La Muerte,
Actually, there's no plan of a "pending system" once the base is not fully working. But if one is implemented, I think that they will simply take the last spot of the tail if the popup was already sent to the given players.
L'In20Cible
ehm i created a class to do menus like this in under 75 lines ? what does the api for poups have since it's sounding like it's taking time? :P
-Tuck
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
L'In20Cible wrote:Hey Tuck,
We are not all pro as you are! → L'In20Cible bows at Tuck.
L'In20Cible
I just made something simple that overwrites current menu for testing the menus quick, i just read your post as in it would take some time to code
but im sure the one you guys are making have many more features
-Tuck
satoon101 wrote:I guess my question on the sound module is what would you want that module to do? I have nothing against adding one, but I just need to know what all functionality to look to implement.
Satoon
maybe in the timer that calls the menu back every x could have an appending list so we could append menus to user? without messing with the menu items
-Tuck
satoon101 wrote:Well, I was asking about a "sound" module, not menus, but thanks for the suggestion.
Satoon
Taking care of all the related things you need to do, i.e. precaching and stopping sounds easily though the engine (not being much harder then to do then just creating a object). It should also be compatible thoughout orangebox/csgo engine
Syntax: Select all
s = MySound('path/to/file')
s.play()
#later..
s.stop()
But while still keeping some possibilities:
Syntax: Select all
s = MySound('path/to/file',users=(1,2,3), attenuation=0.7, volume=0.5)
s.play()
#later..
s.stop()
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm
If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm
If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
Is there/will there be a way of streaming audio to a player, without having them download the file in advance? (I'm not talking about an motd with an embedded music player, I'm talking about doing this through the Engine's sound system.)
Also a general popup/menu library would be nice, since plugins that override each other's popups are quite annoying, and pointless to code atm.
Also a general popup/menu library would be nice, since plugins that override each other's popups are quite annoying, and pointless to code atm.
Doldol wrote:Is there/will there be a way of streaming audio to a player, without having them download the file in advance? (I'm not talking about an motd with an embedded music player, I'm talking about doing this through the Engine's sound system.)
Also a general popup/menu library would be nice, since plugins that override each other's popups are quite annoying, and pointless to code atm.
I wrote my own popup library, working very well.
https://svn.german-slaughterhouse.de/svn/k2tools/trunk/addons/source-python/packages/custom/k2tools/popup/
https://www.german-slaughterhouse.de/wiki/K2Tools:Popup.manager
I think they changed the API a lot again, so it may need some tweaking though to get it to work with the current dev version, it was working with the last release last time I checked though.
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm
If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm
If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
Omega_K2 wrote:I wrote my own popup library, working very well.
https://svn.german-slaughterhouse.de/svn/k2tools/trunk/addons/source-python/packages/custom/k2tools/popup/
https://www.german-slaughterhouse.de/wiki/K2Tools:Popup.manager
I think they changed the API a lot again, so it may need some tweaking though to get it to work with the current dev version, it was working with the last release last time I checked though.
The problem is that it isn't official, and that when there is an official library yours will have to be switched out for that one.
Who is online
Users browsing this forum: No registered users and 39 guests