Raised This Month: $ Target: $400
 0% 

Edit Frostnade effect/design by XxAvalanchexX


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
chaotix911
Junior Member
Join Date: Jun 2010
Old 06-11-2011 , 06:00   Edit Frostnade effect/design by XxAvalanchexX
Reply With Quote #1

I recently download XxAvalanchexX's frostnade plugin for my HNS mod server but the people are not used to the effect and color. They said they want it like in the sorpack servers where the frostnades have an indigo tint and dont have an ice below you when you get freezed but have a small glow around the player that breaks like glass.

I was able to edit the color of the tint using the plugin's CVARS but how do you take off the ice shards wrapped below your feet when you get freezed?
chaotix911 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-11-2011 , 16:36   Re: Edit Frostnade effect/design by XxAvalanchexX
Reply With Quote #2

It creates an entity with that model and places it at your feet.

An easy fix to this without changing a lot of code would be to do this:
PHP Code:
// make a frost nova at a player's feet
create_nova(id)
{
    
/*new nova = engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_target"));

    engfunc(EngFunc_SetSize,nova,Float:{-8.0,-8.0,-4.0},Float:{8.0,8.0,4.0});
    engfunc(EngFunc_SetModel,nova,"models/frostnova.mdl");

    // random orientation
    new Float:angles[3];
    angles[1] = random_float(0.0,360.0);
    set_pev(nova,pev_angles,angles);

    // put it at their feet
    new Float:playerMins[3], Float:novaOrigin[3];
    pev(id,pev_mins,playerMins);
    pev(id,pev_origin,novaOrigin);
    novaOrigin[2] += playerMins[2];
    engfunc(EngFunc_SetOrigin,nova,novaOrigin);

    // make it translucent
    get_rgb_colors(isFrozen[id],angles); // let's just use angles
    set_pev(nova,pev_rendercolor,angles); // ^
    set_pev(nova,pev_rendermode,kRenderTransColor);
    set_pev(nova,pev_renderamt,100.0);

    novaDisplay[id] = nova;*/

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
chaotix911
Junior Member
Join Date: Jun 2010
Old 06-12-2011 , 02:51   Re: Edit Frostnade effect/design by XxAvalanchexX
Reply With Quote #3

Thanks man! I couldn't find that part of the code. I didnt think that they were called frostnova xD +karma(how to?)
chaotix911 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode