|
Title: [Item idea] Amulet of the cat Post by: DoPe^ on September 12, 2010, 09:18:51 AM like the good old wc3 mod for cs, when you buy this item your footsteps will be silent when you run.
would be awesome to get this item back :) Helm of Excellence would also be awesome, where you are immune to headshots. Title: Re: [Item idea] Amulet of the cat Post by: Necavi on September 12, 2010, 04:06:34 PM If one were to make a Helm of Excellence, it would be a good idea to have an internal cooldown of at LEAST one second.
Title: Re: [Item idea] Amulet of the cat Post by: Ownz on September 12, 2010, 09:09:21 PM i dont exactly how to do these functions myself, id need sample code or someone makes it for us
Title: Re: [Item idea] Amulet of the cat Post by: Rambomst on September 13, 2010, 12:45:57 AM Making silent footsteps is pretty much impossible to do without breaking other things in the process. I found a way to make your footsteps silent but it stopped working for a second after you had jumpedand you couldn't activate triggers etc when you had silent footsteps. I could give you the code if you want.
Title: Re: [Item idea] Amulet of the cat Post by: DoPe^ on September 13, 2010, 01:44:04 AM Making silent footsteps is pretty much impossible to do without breaking other things in the process. I found a way to make your footsteps silent but it stopped working for a second after you had jumpedand you couldn't activate triggers etc when you had silent footsteps. I could give you the code if you want. so it's not possible to like make "sv_footsteps 0" for just the client that has the item? meh :( Title: Re: [Item idea] Amulet of the cat Post by: Ownz on September 13, 2010, 07:43:08 AM or hook sound?
Title: Re: [Item idea] Amulet of the cat Post by: stinkyfax on September 13, 2010, 03:05:39 PM or hook sound? Hooking sound works. Though I don't know how difficult it's going to be to find out who is the owner of footstep sound to analyze whether lock it or not.and hooking will fail for people with >150 ms ping. Title: Re: [Item idea] Amulet of the cat Post by: Anthony Iacono on September 13, 2010, 03:59:40 PM After looking into this, it seems that footstep sounds exist on the client side. However, I have not given up. Maybe you could set sv_footsteps to 0 and manually play footstep sounds to a proper list of clients. This seems like it would be a big enough modification to make it into the core.
If there is alot of interest in this, we can try to do some testing on manually handling footstep sounds. Title: Re: [Item idea] Amulet of the cat Post by: Ownz on September 13, 2010, 09:45:39 PM wow thats gonna be epically intense, u should try the helm first
Title: Re: [Item idea] Amulet of the cat Post by: DoPe^ on September 14, 2010, 07:45:06 AM After looking into this, it seems that footstep sounds exist on the client side. However, I have not given up. Maybe you could set sv_footsteps to 0 and manually play footstep sounds to a proper list of clients. This seems like it would be a big enough modification to make it into the core. If there is alot of interest in this, we can try to do some testing on manually handling footstep sounds. would be awesome mate Title: Re: [Item idea] Amulet of the cat Post by: Ben on September 14, 2010, 11:46:47 PM Maybe two other ways:
1. Repeating Timer doing CBasePlayer.m_fFlags 4 2. Isnt there a way to hook player_air ? (i remember in times of eventscripts that extended events used that hook) Title: Re: [Item idea] Amulet of the cat Post by: stinkyfax on September 15, 2010, 11:44:39 AM Maybe two other ways: there is no player_air event, and wtf player_air means? if you want to make people float, this isn't a solution since you're running into way more trouble.1. Repeating Timer doing CBasePlayer.m_fFlags 4 2. Isnt there a way to hook player_air ? (i remember in times of eventscripts that extended events used that hook) Title: Re: [Item idea] Amulet of the cat Post by: Ben on September 15, 2010, 01:01:43 PM there is no player_air event, and wtf player_air means? I didnt say that it was an standard event. player_air was fired when a player is in the air (from jumping, falling, etc.). It checked every tick Playerprop CBasePlayer.localdata.m_Local.m_flFallVelocity and CBasePlayer.localdata.m_hGroundEntity ... forget it, crap idea... Anyway, there is no way to hook changes to m_fFlags :( Thats how you set it: Code: m_Offset=FindSendPropOffs("CBasePlayer","m_fFlags") entvalue=GetEntData(client,m_Offset,4) SetEntData(client, m_Offset, 4, 4, true) manually handling footstep sounds? depending on ground? (grass, metal, wood, etc. ..) Title: Re: [Item idea] Amulet of the cat Post by: zero on December 31, 2010, 02:14:39 PM could just block client game sound in a radius instead.
Title: Re: [Item idea] Amulet of the cat Post by: [Oddity]TeacherCreature on December 31, 2010, 02:22:45 PM I belevie their is an off set for this that you can activate pretty easy.
The way WCS worked is if you had amulet and press crouch then footstep porperty was removed and if you jumped it was back It was always a worthless featue hardly anyone purchased anyway lol Title: Re: [Item idea] Amulet of the cat Post by: Gliderā ā µ on December 31, 2010, 08:33:21 PM Try messing with any of these?
CBasePlayer::UpdateStepSound(surfacedata_t *,Vector const&,Vector const&) CBasePlayer::PlayStepSound(Vector &,surfacedata_t *,float,bool) CBasePlayer::GetStepSoundVelocities(float *,float *) CBasePlayer::SetStepSoundTime(stepsoundtimes_t,bool) Title: Re: [Item idea] Amulet of the cat Post by: qwerty on January 01, 2011, 12:52:07 AM the way i'm unerstanding what you're asking, you want an item that allows you to run w/out footsteps?
instead of trying to remove footsteps, why not increase crouch movement speed up to whatever the player's normal running speed is? since crouching produces no sound, it stands to reason that moving faster while crouched wouldn't either. i'm not sure if you can do it, but it has to be alot easier than selectively removing a single player's footsteps. Title: Re: [Item idea] Amulet of the cat Post by: [Oddity]TeacherCreature on January 01, 2011, 08:14:21 AM I dont think they want to hold a button to use this
Title: Re: [Item idea] Amulet of the cat Post by: qwerty on January 01, 2011, 01:41:24 PM maybe not, but it's gotta be better than nothing at all, right?
Title: Re: [Item idea] Amulet of the cat Post by: [Oddity]TeacherCreature on January 01, 2011, 03:08:02 PM Well personally I would rather have nothing lol even if it worked as intended I always thought it was a waste of an item
Title: Re: [Item idea] Amulet of the cat Post by: em-eukal on January 01, 2011, 04:51:03 PM Amulet was the best item and it always would be ;)
I hope u will find a way to get it working... Title: Re: [Item idea] Amulet of the cat Post by: qwerty on January 01, 2011, 05:44:31 PM the wcs implementation sucked. it basically made you move at crouch speed.
it's an overall useless item, but if people want it then modding crouch speed is the way to go. Title: Re: [Item idea] Amulet of the cat Post by: Ben on January 02, 2011, 02:28:20 AM Its an awesome feature if you have a race which is hard to see ;)
Title: Re: [Item idea] Amulet of the cat Post by: em-eukal on January 02, 2011, 06:03:30 AM Modding crouch speed is useless.
There must be a way to get footsteps silent >:( Title: Re: [Item idea] Amulet of the cat Post by: Hamm on October 08, 2011, 02:08:36 PM I noticed in the old cs WAr3ft they did this:
// Amulet of the Cat if ( ITEM_Has( id, ITEM_AMULET ) > ITEM_NONE ) { entity_set_int( id, EV_INT_flTimeStepSound, 999 ); } } is there a way to alter this coding idea for use in War3:Source? Title: Re: [Item idea] Amulet of the cat Post by: Ownz on October 08, 2011, 02:09:31 PM IDK if source engine client has such a property
Title: Re: [Item idea] Amulet of the cat Post by: Hamm on October 08, 2011, 02:12:17 PM yeah that is what a buddy and I were discussing, we used to run war3ft back in cs 1.6 years ago and wanted to start up again, and saw the garbage eventscript shit, and said F**K that garbage, and I was destined to find a source mod one, and found your wonderful one, and we are running it now, but i noticed as soon as we were testing our server we had no amulet of the cat, so ill deff look into seeing if the source coding has something similar to this that will make the footsteps stop always, and not screw up jumping and such
Title: Re: [Item idea] Amulet of the cat Post by: Ownz on October 08, 2011, 02:14:50 PM best quote ever:
yeah that is what a buddy and I were discussing, we used to run war3ft back in cs 1.6 years ago and wanted to start up again, and saw the garbage eventscript shit, and said F**K that garbage, and I was destined to find a source mod one, and found your wonderful one, and we are running it now Title: Re: [Item idea] Amulet of the cat Post by: Hamm on October 08, 2011, 02:18:52 PM hahaha thanks, i'll look more into ways to code continuous working silent steps that work with war3 source and i will get back to you!
|