Raised This Month: $ Target: $400
 0% 

[HELP] Different lighting on different maps


Post New Thread Reply   
 
Thread Tools Display Modes
mastera40
Member
Join Date: Jul 2014
Old 07-23-2014 , 08:08   Re: [HELP] Different lighting on different maps
Reply With Quote #21

H.RED.ZONE,
Please help me fix two bugs.
1. I found a way to fix the model bug. Please modify the human/zombie.sma files so that when you connect you will always choose the first human or zombie class which is available in the ZPXP list. If you need to set the specific names set "HumanLevel1" for humans and "Infected Human" for zombies.
2. I have an infection zombie. What it does is it spawns with 2 infection grenades and you can throw them at people to infect them. The problem is that when you are the last human you get killed. Can you modify it so that it only infects and if you are the last human the grenade doesn't do anything to you ?
P.S. Also, is there any way to change the grenade model when it is thrown ? I have changed mine to a virus bottle but I also want zombies to throw that bottle, not a regular grenade.
Attached Files
File Type: sma Get Plugin or Get Source (zp50_item_infection_bomb.sma - 338 views - 11.6 KB)
File Type: sma Get Plugin or Get Source (zp50_class_human.sma - 362 views - 19.0 KB)
File Type: sma Get Plugin or Get Source (zp50_class_zombie.sma - 345 views - 24.2 KB)

Last edited by mastera40; 07-23-2014 at 16:01.
mastera40 is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-23-2014 , 17:11   Re: [HELP] Different lighting on different maps
Reply With Quote #22

Quote:
Originally Posted by mastera40 View Post
H.RED.ZONE,
Please help me fix two bugs.
1. I found a way to fix the model bug. Please modify the human/zombie.sma files so that when you connect you will always choose the first human or zombie class which is available in the ZPXP list. If you need to set the specific names set "HumanLevel1" for humans and "Infected Human" for zombies.
I can't change default zombie classes of zombie plague i can only set your default classes inside that xp plugin you are using with costume plugins.
Quote:
Originally Posted by mastera40 View Post
2. I have an infection zombie. What it does is it spawns with 2 infection grenades and you can throw them at people to infect them. The problem is that when you are the last human you get killed. Can you modify it so that it only infects and if you are the last human the grenade doesn't do anything to you ?
Last human needs to be killed it can't be infected the round must end. O.o
Quote:
Originally Posted by mastera40 View Post
P.S. Also, is there any way to change the grenade model when it is thrown ? I have changed mine to a virus bottle but I also want zombies to throw that bottle, not a regular grenade.
There was a tutorial on this forum if i find it ill post it and send you pm that i edited this post. I really can't make it.
__________________
H.RED.ZONE is offline
Just4Games
Senior Member
Join Date: Jan 2013
Location: Romania
Old 07-23-2014 , 17:47   Re: [HELP] Different lighting on different maps
Reply With Quote #23

I guess by number 2 he meant that the infection bomb won't affect him.
__________________

Just an old fart revisiting the nostalgia.
---------
Oh yeah
|[[ZPA/ZPS]NoSound]|[[ZPA/ZPS]Hud Stats(Edited)]|

PS: I go by MoistWomble nowadays.
Just4Games is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-23-2014 , 18:02   Re: [HELP] Different lighting on different maps
Reply With Quote #24

Quote:
Originally Posted by Just4Games View Post
I guess by number 2 he meant that the infection bomb won't affect him.
He wrote "The problem is that when you are the last human you get killed"

If it was a mistake
Then if he is last human just block it before he gets infected.
__________________
H.RED.ZONE is offline
mastera40
Member
Join Date: Jul 2014
Old 07-24-2014 , 06:08   Re: [HELP] Different lighting on different maps
Reply With Quote #25

Yes, I only want the infection grenade to INFECT. If it is thrown at the last human it simply doesn't infect him. The zombies have to find another way to kill him.
mastera40 is offline
Just4Games
Senior Member
Join Date: Jan 2013
Location: Romania
Old 07-24-2014 , 06:13   Re: [HELP] Different lighting on different maps
Reply With Quote #26

As H.RED.ZONE said, the round must end... No last human = no round end...
__________________

Just an old fart revisiting the nostalgia.
---------
Oh yeah
|[[ZPA/ZPS]NoSound]|[[ZPA/ZPS]Hud Stats(Edited)]|

PS: I go by MoistWomble nowadays.
Just4Games is offline
mastera40
Member
Join Date: Jul 2014
Old 07-24-2014 , 06:25   Re: [HELP] Different lighting on different maps
Reply With Quote #27

The zombies will find another way to KILL THE HUMAN. If they don't, the humans win. SIMPLE AS THAT. But since you keep spamming on my thread you might as well LEAVE.

Let me repeat again... I. Only. Want. The. Grenade. To. Infect !

Last edited by mastera40; 07-24-2014 at 06:26.
mastera40 is offline
mastera40
Member
Join Date: Jul 2014
Old 07-24-2014 , 06:30   Re: [HELP] Different lighting on different maps
Reply With Quote #28

Quote:
I can't change default zombie classes of zombie plague i can only set your default classes inside that xp plugin you are using with costume plugins.
I will post my zp_xp.sma. Please make sure whenever a player logs in they will be set to the first available class on the ZPXP menu.
For humans - HumanLevel1
For zombies - Infected Human
Those are the class's names.
Attached Files
File Type: sma Get Plugin or Get Source (zp_xp.sma - 368 views - 62.1 KB)
mastera40 is offline
Just4Games
Senior Member
Join Date: Jan 2013
Location: Romania
Old 07-24-2014 , 06:44   Re: [HELP] Different lighting on different maps
Reply With Quote #29

Quote:
Originally Posted by mastera40 View Post
I. Only. Want. The. Grenade. To. Infect !
In ZP 4.3/ZPA/ZPS you have to edit the main plugin.
In ZP 5.0.x, no idea, maybe the infection grenade plugin (not using ZP 5.0)
__________________

Just an old fart revisiting the nostalgia.
---------
Oh yeah
|[[ZPA/ZPS]NoSound]|[[ZPA/ZPS]Hud Stats(Edited)]|

PS: I go by MoistWomble nowadays.
Just4Games is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-24-2014 , 08:29   Re: [HELP] Different lighting on different maps
Reply With Quote #30

Quote:
Originally Posted by mastera40 View Post
Yes, I only want the infection grenade to INFECT. If it is thrown at the last human it simply doesn't infect him. The zombies have to find another way to kill him.
Remove this line in zp50 infect grenade
Code:
        // Last human is killed
        if (zp_core_get_human_count() == 1)
        {
            ExecuteHamB(Ham_Killed, victim, attacker, 0)
            continue;
        }
but you will see what happens (When he gets infected the round won't end)

Ill continue to edit things that you wanted in this post....

EDIT:
Spoiler
__________________

Last edited by H.RED.ZONE; 07-24-2014 at 08:32.
H.RED.ZONE 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 15:16.


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