Raised This Month: $ Target: $400
 0% 

Help with wolverine


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-09-2005 , 12:31   Help with wolverine
Reply With Quote #1

Hey.
I am once again trying to set Wolverine's healpoints by the players level.
I only get one error, when I compile.
I am looking at the new version of PoisonIvy, and uses some of the things from that hero.
I hope somone can help me, cuz I really need it to "work against" the new PoisonIvy.
Here is the error:
Attached Images
File Type: jpg wolv_error.JPG (37.7 KB, 202 views)
Attached Files
File Type: sma Get Plugin or Get Source (sh_wolverine.sma - 152 views - 5.2 KB)
__________________
//ShadowLeader - 123
123 is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-11-2005 , 14:09  
Reply With Quote #2

vittu can you help with this one ?
__________________
//ShadowLeader - 123
123 is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 04-11-2005 , 14:20  
Reply With Quote #3

why vittu? why not jtp or Freecode?
Freecode is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-11-2005 , 14:29  
Reply With Quote #4

Oh... You may also help..
It was just because it was vittu who updated the PoisonIvy that I used some code from...
__________________
//ShadowLeader - 123
123 is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 04-11-2005 , 15:33  
Reply With Quote #5

whats line 95?
Freecode is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-11-2005 , 16:14  
Reply With Quote #6

Line 95:
Code:
			shAddHPs(id, gHealPoints, gPlayerMaxHealth[id] )
__________________
//ShadowLeader - 123
123 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-11-2005 , 16:15  
Reply With Quote #7

here and you should have had gHealPoints[id] on line 95

cvars are a bit different

edit: reposted below
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-11-2005 , 16:27  
Reply With Quote #8

vittu -> You don't heal when it is in xpbased...
__________________
//ShadowLeader - 123
123 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-11-2005 , 16:33  
Reply With Quote #9

works fine you need to respawn if you just chaned it...


Edit: It was when xpbased was off that it wasn't working, cause I didn't notice you misnamed a cvar when checking... (on line 159 of your version)
reposted here, like I said above I changed your cvars....
Attached Files
File Type: sma Get Plugin or Get Source (sh_wolverine.sma - 610 views - 5.2 KB)
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-11-2005 , 16:54  
Reply With Quote #10

This one works..
But I think that wolv_healpoints needs to be 1 if he should heal with the same amount as the players level.
I was level 7 and got 10 hp per time.
(Did you fix the missing code in PoisonIvy?)
__________________
//ShadowLeader - 123
123 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 05:38.


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