New Metamod Plugin

[WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
edited January 2003 in General Server Discussion
<div class="IPBDescription">Marines can see where the commander is</div> Here's a plugin I've been working on this morning and just finished up (i think).

What it does is create a particle implosion on the floor directly under wherever the commander is hovering.

ONLY marines can see this particle effect so don't worry about giving away strategic locations to aliens.


Here's a sample of what it looks like (no, it isn't a gun shot effect, i promise)
<img src='http://stats.clanwho.com/commghost_ss.jpg' border='0' alt='user posted image'>


and here's the plugin itself + source, standard 2 line banner <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->

Comments

  • GelantiousGelantious Join Date: 2002-11-01 Member: 2576Members, Constellation
    Thx, will try it out and see if players like it or not.
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    This is nice, The only problem i see is your doing the effect every server frame (60+ frames per second) its sending the particle effect to all the team mates 60+ times a second, this could cause lag. Maybe only do it 10 times a second (which is what i do with most things).

    Just a suggestion, I havent tested it to see if it lags but the way it looks like it would.
  • ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
    This looks neat, but could you make the effect a little less taxing...like a small circle or something? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • NeroNero Join Date: 2002-12-20 Member: 11236Members
    <!--QuoteBegin--Arkaine+Jan 5 2003, 07:02 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Arkaine @ Jan 5 2003, 07:02 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->This looks neat, but could you make the effect a little less taxing...like a small circle or something? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    yep, i think for this kind of action should be more cool with a circle
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    well if you're thinking that the "taxing" is because it takes more cpu time to make particles than circles, then don't worry, all the particle generation is actually done clientside. No 2 marines are seeing the same set (except by random chance or something)
  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    Them, any chance we can get you to compile all these different plugins into one plugin?

    Running one or two + of your plugins with all the banner spam makes haveing a consgreet useless as it gets pushed off the screen. Keep up the good work btw.
  • ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
    <!--QuoteBegin--[WHO]Them+Jan 5 2003, 07:49 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([WHO]Them @ Jan 5 2003, 07:49 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->well if you're thinking that the "taxing" is because it takes more cpu time to make particles than circles, then don't worry, all the particle generation is actually done clientside. No 2 marines are seeing the same set (except by random chance or something)<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    It'd still be almost as annoying as waypoints in the middle of a fire-fight...a small circle on the floor would be perfect. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    WHOOPS,

    I'm sorry to everyone that tried to install this on a windows server, I made a booboo that wouldn't let it load.

    Here's a re-build of the previous version but now it should actually work on windows servers, no difference for linux servers.
  • SpiffyJrSpiffyJr Join Date: 2002-12-06 Member: 10518Members
    I had it up for one map. Players complained the "sparklies were to large" and said if it was maybe "a small circle" it would be helpful... soo how bout it <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    i'll see what i can do, temporary entities are a new thing for me so I'll have to kludge it around a bit
  • GoleXGoleX Join Date: 2002-11-07 Member: 7681Members
    For some reason, tehre was a hell of a lot more particles in the ghost on my server then in your screenshot, I mean there was no way to see through it. It also crashed my server 5 mins after I loaded it up. But it was still damn cool for those few minutes <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->

    If you could make it smaller, and make it not crash my server, I'd be happy <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    hmmmmmm, it *might* have something to do with the host_framerate cvar, not quite sure....


    because it basically just spawns a new set of like 50 every server "frame", and on my server it's more than the screenie, but still see-through-able
  • ECA_ShocK-TroopeRECA_ShocK-TroopeR Join Date: 2002-12-24 Member: 11472Banned
    why not use one a sprite? a minimised version of the marine health would look pretty good i think.

    you could also use the comm chair auto help sprite, and make it an entirety instead of something that refreshes so often.
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    still wanting a modified version of this toy.

    i like the idea of maybe using something smaller or fewer frames per second.

    i still think the rines should be able to see comm site. nano tech.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    uhhh, I've actually made a modified version of this over the last weekend that was "less intense" (specifically 1/10 as intense) and also fixed a potential bug.

    The bug being that my assumptions about the "TraceLine" function in halflife were not 100% correct and the commander ghost/presence was actually being cast towards a fixed point extremely far below the map instead of a moving point extremely far below the map (which actually causes the presence to be cast at a slight angle (or a very large angle if the z position gets close to -16000, which could conceivably happen on weird maps))

    so here ya go....
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    ****, forgot to attach file, I'll get it this time
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    Has there been any complaints about this getting the the way of the marines vision? I know for me it's really annoying when a comm puts a way point out there that totally blocks my view. I could see the as a potential problem.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    edited January 2003
    well, the reason that brought about the reduced intensity was a complaint by a player whom I considered being a good commander having a 3 round losing streak and saying it was because he couldn't see what he was placing.

    so, meh, i got off my butt and changed it, it's still open source so anyone can go ahead and change the intensity even more if they want, you'll find the actual code for setting the intensity in hookedfunctions.cpp under "StartFrame", line 65....

    UTIL_ParticleImplosion_Player( pTempEnt->pev, trTrace.vecEndPos, 200, 1, 2 );

    where the 200 is the radius of particle creation, 1 is the number of particles to create, and 2 is the number of "tenths of seconds" that each particle will take to get to it's destination.
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    tanx again... <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • SuicideDogSuicideDog Join Date: 2002-11-10 Member: 8104Members
    Do you think you could make it a cvar?

    me + programming = server crash <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo-->
Sign In or Register to comment.