Doug Posted May 25, 2020 Share Posted May 25, 2020 I wanna add a Sound Effect to Critical, and I would like to type a Different name for it. Â Can someone show me what to code, and how to add? This should be server-side since its a Live Sound to Everyone on the map. Link to comment Share on other sites More sharing options...
1 Cheshire Posted May 31, 2020 Share Posted May 31, 2020 You simply can't as it stands, and would need to program it in. You could start looking at the TryAttack methods on the Entity class. Link to comment Share on other sites More sharing options...
0 Doug Posted May 30, 2020 Author Share Posted May 30, 2020 I'm trying to edit this code:Â https://ibb.co/TrJPpgG Â I wanna simply code PlaySound: [Sound Name] Â Everytime a Critical Hit is done it make the sound I want. Â Anyone can help me with the simple code add? -Server Side. Link to comment Share on other sites More sharing options...
0 Cheshire Posted May 30, 2020 Share Posted May 30, 2020 Unfortunately, that just defines the string and is unrelated to the actual combat logic you're going to need to edit. Â Personally, I'd use animations for this. Much more flexible, everyone can hear it, the sound fades out nicely for people further away and you can even add an extra animation to it. Â Then maybe make it server configurable and have a list of crit animations the server can choose from so players don't constantly hear the same sound. Or maybe have different ones for magic, projectile, melee and unarmed hits. Link to comment Share on other sites More sharing options...
0 Doug Posted May 31, 2020 Author Share Posted May 31, 2020 @joyce How can I select the animation for Critical when it pops up that you hit a Crit? Â Edit: I setup my Levelup sound perfectly, and works amazing! But I just need critical sound thats it, and i'm do for coding or editing the source, or if I can simply make the sound in the editor some how that be amazing! Link to comment Share on other sites More sharing options...
0 Doug Posted May 31, 2020 Author Share Posted May 31, 2020 It's ok, I code it in later by fulling around with the coding methods.  Thank you big time btw @Joyce  And not sure if you know, but Intersect has a sick Attendance System for Daily Logins! Link to comment Share on other sites More sharing options...
Question
Doug
I wanna add a Sound Effect to Critical, and I would like to type a Different name for it.
Â
Can someone show me what to code, and how to add? This should be server-side since its a Live Sound to Everyone on the map.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts