| closedNeed DoD StatsSounds help |
| Started by blobby on 07-22-2007, 12:03 PM |
Threads: 47
Joined: Apr 2007
OOOO i just spotted this topic whats the file called tatsu and is the sma on my server maby nnRegardsnnblobby
Threads: 47
Joined: Apr 2007
Ok ignore my last post i whent and downloaded amx for dod and whent to the scripting folder in there and pulled out statssounds.sma witch looks like the followingnn/*n* Plugin for sounds precachen*/nn#include <amxmodx>nnpublic plugin_precache(){n precache_sound( "misc/impressive.wav")n precache_sound( "misc/headshot.wav")n precache_sound( "misc/multikill.wav")n precache_sound( "misc/doublekill.wav")n precache_sound( "misc/godlike.wav")n precache_sound( "misc/ultrakill.wav")n precache_sound( "misc/killingspree.wav")n precache_sound( "misc/rampage.wav")n precache_sound( "misc/unstoppable.wav")n precache_sound( "misc/monsterkill.wav")n precache_sound( "misc/humiliation.wav")nn precache_sound( "misc/takenlead.wav" ) n precache_sound( "misc/tiedlead.wav" ) n precache_sound( "misc/lostlead.wav" ) nn return PLUGIN_CONTINUEn}nnpublic plugin_init() {n register_plugin("DoD Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team")n}nnSo What im asking is if i add this to the code will it worknnprecache_sound( "misc/ludacrisskill.wav")nprecache_sound( "misc/holyshit.wav")nnAnd so on and so forth would my server read this and play the sounds any help will be appretiated also if any one could tell me exactly what i need to start writing plugin that would be greatnnRegardsnnBlobbynn=]
Threads: 47
Joined: Apr 2007
Would someone be as kind as to move my posts on this topic to scripting help please because i can see that my posts are in the wrong placennRegardsnnBlobby
Threads: 15
Joined: Jun 2007
when you add this:rn
precache_sound( "misc/ludacrisskill.wav")rnprecache_sound( "misc/holyshit.wav")rnrnrnto the plugin_precache function the sounds will be downloaded by the clientsrn(if they exist on the server), but they will not be played as there's norntrigger in the plugin for those sounds if i remember correctly.rnrnyou would have to add triggers for those two sounds, otherwise theyrnwon't be played at all.rnrnlet know when "ludacrisskill" and "holyshit" should be played andrni'll guide you through the changes.Threads: 47
Joined: Apr 2007
Ok right i have something going wrong here for a start i have ut_killing_spree on my server but i also have the stats sounds running but if i turn off ut_killing_spree the sounds dont play but yet the plugin is enabled the problem i have with ut_killing_spree is that it has too many sounds and the guy who made the plugin wont allow me to edit it so maby i am best starting from scratch with this but i wounder if you would be able to tell me where i can get some tutorials for making plugins ive downloaded the amxx studio and i have installed amx to my personal test server but i just don't have the knowledge to make the plugins so if you could point me in the right direction i would be so greatfull as ive always wanted to write plugins but i never new how to. nnRegardsnnBlobbynnP.S. Thank you for all of your time and i hope i will maby be able to make some useful plugins in the future
Threads: 15
Joined: Jun 2007
blobby, the crator of the UT KillingSpree plugin CANNOTrndisallow you to edit the plugin and use it for your own needs.rnrnit's all open source and everyone is allowed to edit the source codernfor his own needs.rnrnso if you have the source file, you definately CAN edit it and use it,rnif the source is not available you should get in touch with Bailopanrnat amxmodx.org and let him know as that would be a violation of thernopen source terms of amxx.rnrnbtw, best way to learn is to "read" easy plugins by other users, sorni wouldn't recommend to start learning with TK Revenge, TeamManager...rnjust look at some small plugins and try to understand what happens.rnfurthermore you should take a look at the *.inc files in the amxmodx/scripting/include/ folder!
Threads: 47
Joined: Apr 2007
Ahhh right wicked i know what a few of the things in the source code mean like the client chat parts but that was obvious and also the adding sound thanks to you showing me :p Im going to have a go at editing the ut_killingspree plugin first then for a test after i have read through eh code on the ones you said if i get stuck is it ok to pm you post it up here ??nnRegardsnnBlobby
Threads: 15
Joined: Jun 2007
Ahhh right wicked i know what a few of the things in the source code mean like the client chat parts but that was obvious and also the adding sound thanks to you showing me :p Im going to have a go at editing the ut_killingspree plugin first then for a test after i have read through eh code on the ones you said if i get stuck is it ok to pm you post it up here ??rnrnRegardsrnrnBlobbyrnrnsure, i'm always glad to help, you can post here, pm me or add me tornyour steam-friends, whatever you like.rnrnoh, btw, one question: how old are you?
Threads: 47
Joined: Apr 2007
Im 17 m8y but ive got all day every day to make plugins and play dod :p
Threads: 47
Joined: Apr 2007
Ok i have the following filesrnrnStatssounds.smarnstats.smarnrnrnOk the stats sounds sma has all the preaches for the downloads in it.rnThe stats.sma looks to be the actual code for the plugin as its got all the register cvars and things on it.rnrnrnSo i want to add the following sounds to this pluginrnrnwickedsick.wavrnholyshit.wavrnludacrisskill.wavrnrnI also wanted to edit the amount of kills you need for a certain wav file to play. So if you like get a spare moment i wounded if you would just bail me out lol as i haven't the foggiest where to start on this lolrnrnRegardsrnrnBlobbyrn=]
Threads: 54
Joined: May 2005
OOOO i just spotted this topic whats the file called tatsu and is the sma on my server maby n nRegardsn nblobbyn ndid I miss something ?
Threads: 47
Joined: Apr 2007
Lol it was from when i first saw this topic in the other forum lol i was asking you where i could find the stats sma files but i spotted them like 15mins after i made the post lolnnRegardsnnJS
Threads: 47
Joined: Apr 2007
Can any one help me with this please im tearing my hair out lol Ive added the preaches to the stats.sma with all the sound preaches in there i just need to know where i can change how many kills be fore the sound is played and where to add the other lines for the sounds to be playednnRegardsnnBlobby

