Raised This Month: $ Target: $400
 0% 

[Tutorial] Ninth lesson in a series develop [ZPA 1.61] - Remove Darkness.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
arvEL.
Senior Member
Join Date: Dec 2014
Location: Iraq
Old 12-09-2015 , 15:43   [Tutorial] Ninth lesson in a series develop [ZPA 1.61] - Remove Darkness.
Reply With Quote #1

Ninth Lesson Remove (Darkness)
- all rights reserved to arvEL.-, in : 9/12/2015
In these lesson i will explain how to develop [Zombie Plague Advance v1.6.1]
remove darkness when the assassin round ended.

first go to this topic [ # ] and download
[ZPA 1.6.1]
after that open the file [zombie_plague_advance_v1-6-1.sma] in [notepad++]

first press [Ctrl + F] and find this line:

PHP Code:
engfunc(EngFunc_LightStyle0g_assassinround "a" lighting// no lighting in assassin round 
replace it to:

PHP Code:
engfunc(EngFunc_LightStyle0, (g_assassinround && !g_endround) ? "a" "e"// no lighting in assassin round? 
now press [Ctrl + F] and find this line:

PHP Code:
public logevent_round_end() 
put inside it this codes:

PHP Code:
    // Lighting task
    
set_task(2.0"lighting_effects"

now make compile and ejnoy
all rights reserved to arvEL.-


__________________

Last edited by arvEL.; 12-10-2015 at 09:07.
arvEL. is offline
Send a message via Skype™ to arvEL.
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 12-10-2015 , 00:23   Re: [Tutorial] Ninth lesson in a series develop [ZPA 1.61] - Remove Darkness.
Reply With Quote #2

Something is wrong here
PHP Code:
set_task(2.0"lighting_effects"___"b"
Dont use _, _, _, "b" bcuz it repeats the task every 2 seconds, which is alrdy done by default
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
arvEL.
Senior Member
Join Date: Dec 2014
Location: Iraq
Old 12-10-2015 , 03:46   Re: [Tutorial] Ninth lesson in a series develop [ZPA 1.61] - Remove Darkness.
Reply With Quote #3

Quote:
Originally Posted by Chihuahuax View Post
Something is wrong here
PHP Code:
set_task(2.0"lighting_effects"___"b"
Dont use _, _, _, "b" bcuz it repeats the task every 2 seconds, which is alrdy done by default
so what is the correct code ?
__________________
arvEL. is offline
Send a message via Skype™ to arvEL.
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 12-10-2015 , 07:45   Re: [Tutorial] Ninth lesson in a series develop [ZPA 1.61] - Remove Darkness.
Reply With Quote #4

PHP Code:
set_task(2.0"lighting_effects"
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
arvEL.
Senior Member
Join Date: Dec 2014
Location: Iraq
Old 12-10-2015 , 09:07   Re: [Tutorial] Ninth lesson in a series develop [ZPA 1.61] - Remove Darkness.
Reply With Quote #5

Quote:
Originally Posted by Chihuahuax View Post
PHP Code:
set_task(2.0"lighting_effects"
thank you chu chu ^^
my lesson update now...
__________________
arvEL. is offline
Send a message via Skype™ to arvEL.
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 18:29.


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