Raised This Month: $51 Target: $400
 12% 

Suggestion / Subplugin Request [REQ] How to edit the lighting map in assassin mod cs 1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Acer.7
Junior Member
Join Date: Sep 2014
Old 11-04-2014 , 05:41   [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #1

Hello guys, I have added Zombie Mod
from the link #

OK ?

but in assassin mod the map become darkness

i need edit lighting map

example :








How to Make the lighting so?
Acer.7 is offline
happy_2012
Senior Member
Join Date: Aug 2012
Old 11-04-2014 , 05:50   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #2

Go to assassin gamemod SMA file and edit it from there
__________________
Discord contacts:
I rarely look at private messages here, but I am very active on Discord!
happy_2012 is offline
Acer.7
Junior Member
Join Date: Sep 2014
Old 11-04-2014 , 07:30   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #3

Quote:
Originally Posted by happy_2012 View Post
Go to assassin gamemod SMA file and edit it from there
who ?? can you give me example
Acer.7 is offline
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 11-04-2014 , 08:03   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #4

Find the .sma file and open it with notepad
Then use ctrl+F and enter keyword "lighting"
Keep searching until you see something like this - * assassin lighting "a"
Change the value and compile it
Done
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
Acer.7
Junior Member
Join Date: Sep 2014
Old 11-04-2014 , 08:20   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #5

Quote:
Originally Posted by Chihuahuax View Post
Find the .sma file and open it with notepad
Then use ctrl+F and enter keyword "lighting"
Keep searching until you see something like this - * assassin lighting "a"
Change the value and compile it
Done
thx bro, can you tell me who to edit ??

PHP Code:
// Lighting Effects Task
public lighting_effects()
{
    
// Cache some CVAR values at every 5 secs
    
cache_cvars()
    
    
// Get lighting style
    
static lighting[2]
    
get_pcvar_string(cvar_lightinglightingcharsmax(lighting))
    
strtolower(lighting)
    
    
// Lighting disabled? ["0"]
    
if (lighting[0] == '0')
        return;
    
    
// No light for assassin round
    
if (g_assassinround)
    {
        
engfunc(EngFunc_LightStyle0,"a")
    }
    else
    {
        if (
lighting[0] >= 'a' && lighting[0] <= 'd')
        {
            static 
thunderclap_in_progressFloat:thunder
            thunderclap_in_progress 
task_exists(TASK_THUNDER)
            
thunder get_pcvar_float(cvar_thunder)
            
            
// Set thunderclap tasks if not existant
            
if (thunder 0.0 && !task_exists(TASK_THUNDER_PRE) && !thunderclap_in_progress)
            {
                
g_lights_i 0
                ArrayGetString
(lights_thunderrandom_num(0ArraySize(lights_thunder) - 1), g_lights_cyclecharsmax(g_lights_cycle))
                
g_lights_cycle_len strlen(g_lights_cycle)
                
set_task(thunder"thunderclap"TASK_THUNDER_PRE)
            }
        
            
// Set lighting only when no thunderclaps are going on
            
if (!thunderclap_in_progressengfunc(EngFunc_LightStyle0lighting)
        }
        else
        {
            
// Remove thunderclap tasks
            
remove_task(TASK_THUNDER_PRE)
            
remove_task(TASK_THUNDER)
            
            
// Set lighting
            
engfunc(EngFunc_LightStyle0lighting)
        }
    }

Acer.7 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-04-2014 , 10:09   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #6

I just want to recommend you to use this version: https://forums.alliedmods.net/showthread.php?t=244269
zmd94 is offline
Acer.7
Junior Member
Join Date: Sep 2014
Old 11-04-2014 , 12:22   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #7

Quote:
Originally Posted by zmd94 View Post
I just want to recommend you to use this version: https://forums.alliedmods.net/showthread.php?t=244269

bro watch this cods

PHP Code:
}

    
// Setting Dark Lightning For The Mode
    
get_cvar_string "zp_lighting"g_LValue )
    if ( !
equali"g_LValue" "a" ) )
    {

        
set_cvar_string "zp_lighting" "a" )

    } 


he say [ zp_lighting = a ] a = Darkness
Acer.7 is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 11-04-2014 , 13:08   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #8

The light is still "a" you just need to enable FOG. So it will be like your picture you attached above.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Acer.7
Junior Member
Join Date: Sep 2014
Old 11-04-2014 , 13:21   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #9

Quote:
Originally Posted by yokomo View Post
The light is still "a" you just need to enable FOG. So it will be like your picture you attached above.
bro can you tell me how to enable FOG ???
Acer.7 is offline
New.ZM.Life
Veteran Member
Join Date: Sep 2014
Location: Iran
Old 11-04-2014 , 14:22   Re: [REQ] How to edit the lighting map in assassin mod cs 1.6
Reply With Quote #10

Your answer is here

https://forums.alliedmods.net/showthread.php?t=79057

Open zombieplague.ini in configs folder

Find this

PHP Code:
Rain 1
Snow 
1
Fog 

And set fog = 1 to enable that

And set value of zp_lighting on "e" then compile the sma and replace with old one.
__________________
PLUGINS

Zombie Plague 5.0 + New Modes

Added NightCrawler Mode to ZP






Last edited by New.ZM.Life; 11-04-2014 at 14:27.
New.ZM.Life 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 17:05.


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