Raised This Month: $66 Target: $400
 16% 

de_survivor map fix


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Technical/Development        Approver:   Emp` (115)
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-22-2009 , 01:29   de_survivor map fix
Reply With Quote #1

de_survivor fix v1.1
Author: Digi (aka Hunter-Digital)

A verry simple plugin that removes all 2D sprite snow and iritating flares from de_survivor map and adds a more realistic snowing environment. Plugin acts only on de_survivor map.

And a screenshot, before it's in left, after it's in right:

[IMG]http://img36.**************/img36/2046/desurvivor.jpg[/IMG]

But you best notice it in-game!

New version: 1.1 - using Hamsandwich and optimized!

Old version 1.0 still available and also was a little optimized but still uses only engine for backwards compatibility.
Updated engine version, some small optimization done :}
---------
Small update to both versions, removes the probability of plugin beeing active in maps starting with "de_survivor".

This plugin can be compiled via Web Compiler (aka "Get Plugin")
Attached Files
File Type: sma Get Plugin or Get Source (de_survivor_fix1.1b.sma - 1584 views - 2.0 KB)
File Type: sma Get Plugin or Get Source (de_survivor_fix1.0c.sma - 1368 views - 1.9 KB)
__________________

Last edited by Hunter-Digital; 11-06-2009 at 06:56.
Hunter-Digital is offline
-Acid-
Senior Member
Join Date: Feb 2009
Old 05-22-2009 , 02:42   Re: de_survivor map fix
Reply With Quote #2

Cool am using it! GJ
__________________
-Acid- is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 05-22-2009 , 07:05   Re: de_survivor map fix
Reply With Quote #3

in plugin_init you didnt get the mapname oO
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-22-2009 , 07:29   Re: de_survivor map fix
Reply With Quote #4

He did it in plugin_precache() which is called before plugin_init(). IMO a boolean that tells if the map is de_survivor would be better than check it with equal() in plugin_init().
__________________
hleV is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-22-2009 , 07:33   Re: de_survivor map fix
Reply With Quote #5

You can remove de_survivor.zip, because its standart cs map, and all got it.
__________________
xPaw is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-22-2009 , 11:39   Re: de_survivor map fix
Reply With Quote #6

hleV, every little optimization helps, thanks

xPaw, oh... forgot xD

re-uploaded, not a new version but it has the boolean optimization :}
__________________

Last edited by Hunter-Digital; 05-22-2009 at 11:46.
Hunter-Digital is offline
Old 05-22-2009, 11:39
Hunter-Digital
This message has been deleted by Hunter-Digital. Reason: pff, internal server error ... posted twice xD
ingmar13
Member
Join Date: Jun 2008
Old 05-22-2009 , 12:08   Re: de_survivor map fix
Reply With Quote #7

don't make fun of 3D_mike!

he's our legend!

NETHERLANDS FTW
__________________
will make maps for food!
ingmar13 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-22-2009 , 12:11   Re: de_survivor map fix
Reply With Quote #8

I would even use
PHP Code:
public plugin_precache( ) {
    new 
szMap32 ];
    
get_mapnameszMap31 );
    
    if( 
equalszMap"de_survivor" ) ) {
        
create_entity"env_snow" );
        
        new 
szModel[32], ent = -1;

        while((
ent find_ent_by_class(ent"env_sprite")) != 0) {
            
entity_get_string(entEV_SZ_modelszModel31);

            if(
equal(szModel"sprites/snow.spr") || equal(szModel"sprites/flare1.spr"))
                
remove_entityent );
        }
    }

Or even filetring when env_sprite spawns :d

Quote:
Originally Posted by ingmar13 View Post
don't make fun of 3D_mike!
We already did. ;)
__________________

Last edited by xPaw; 05-22-2009 at 12:16.
xPaw is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-22-2009 , 20:08   Re: de_survivor map fix
Reply With Quote #9

aww C'MON it's just a simple plugin =)

oh... but wait a second, that doesn't work, deleting in precache... so leave I'll it as it is
__________________
Hunter-Digital is offline
D-TOX
Member
Join Date: Mar 2008
Old 05-22-2009 , 23:14   Re: de_survivor map fix
Reply With Quote #10

Does this plugin higher the brightness/gamma option ? Looks like Its pretty bright, most CS players use "Gamasutra" and that program gives you more gamma and brighness so you can see people in dark places on some maps. Could be pretty bright for some players
D-TOX is offline
Reply


Thread Tools
Display Modes

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 04:27.


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