Raised This Month: $ Target: $400
 0% 

ZM + WAR3:FT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fanta110
Member
Join Date: May 2010
Old 03-26-2011 , 21:32   ZM + WAR3:FT
Reply With Quote #1

Hello everybody, i have problem with these mods to get work together, problem are on team changing, war3:ft use default get_user_team function, but Zombie Plague fm_cs_get_user_team which are custom, i have been changed default function from get_user_team to cs_get_user_team, a situation are better but not good enough, only part of team kills are fixed, now team kills are after round end when zombie plague mod again changes teams to block infecting, killing... So please help me to get these mods work together correctly! And there also are some bugs with ZP hardmoded move speed and gravity, that actualy dont work, i mean war3 skills, items, abilities, because humans and zombies have gravity and move speed limit! In attachments i have added WAR3:FT and Zombie Plague mods! I hope i got help
Attached Files
File Type: zip war3ft_v3.0rc13.zip (2.13 MB, 310 views)
File Type: zip zp_plugin_43.zip (353.5 KB, 249 views)
fanta110 is offline
543658883
Junior Member
Join Date: Mar 2011
Old 03-27-2011 , 08:18   Re: ZM + WAR3:FT
Reply With Quote #2

It so hard!!
543658883 is offline
GuTo
Senior Member
Join Date: Mar 2010
Location: Brazil - SP
Old 03-28-2011 , 00:23   Re: ZM + WAR3:FT
Reply With Quote #3

cool
__________________
GuTo is offline
Send a message via Skype™ to GuTo
fanta110
Member
Join Date: May 2010
Old 03-28-2011 , 09:20   Re: ZM + WAR3:FT
Reply With Quote #4

What is cool ? I actualy know everybody have these problems, who make zm + war3:ft server!
fanta110 is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 03-28-2011 , 14:11   Re: ZM + WAR3:FT
Reply With Quote #5

Your idea is foolish. It's 2 different mods. Do you imagine how much time it would take to make tease mods friendly? Mods are gameplay changes, they aren't connectable.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 03-28-2011 , 17:24   Re: ZM + WAR3:FT
Reply With Quote #6

Quote:
Originally Posted by aaarnas View Post
Your idea is foolish. It's 2 different mods. Do you imagine how much time it would take to make tease mods friendly? Mods are gameplay changes, they aren't connectable.
They are, but it's so long .
__________________
bboygrun is offline
C0ff33
New Member
Join Date: Oct 2010
Location: Hungary
Old 04-06-2011 , 11:38   Re: ZM + WAR3:FT
Reply With Quote #7

Search for this in "scripting/war3ft/XP.inl":

// Check for a team kill
if ( get_user_team( iAttacker ) == get_user_team( iVictim ) )
{
// Remove XP since he killed his teammate
iBonusXP = XP_Give( iAttacker, -1 * iXP );

// This message should be displayed no matter what XP_kill_objectives is, b/c it's a no-no
if ( iBonusXP != 0 )
{
client_print( iAttacker, print_chat, "%s You have lost %d XP for killing a teammate", g_MODclient, -1 * iBonusXP );
}

}

Change it to:

// Check for a team kill
if ( get_user_team( iAttacker ) == get_user_team( iVictim ) )
{
// Remove XP since he killed his teammate
iBonusXP = XP_Give( iAttacker, 1 * iXP );

// This message should be displayed no matter what XP_kill_objectives is, b/c it's a no-no
if ( iBonusXP != 0 )
{
client_print( iAttacker, print_chat, "%s You have lost %d XP for killing a teammate", g_MODclient, 1 * iBonusXP );
}

}

(only delete the " - " by the "iBonusXP = XP_Give( iAttacker, -1 * iXP );")

its easy, not very hard-.-"
C0ff33 is offline
Old 04-06-2011, 14:05
djodjo1990
This message has been deleted by djodjo1990.
fanta110
Member
Join Date: May 2010
Old 04-06-2011 , 16:07   Re: ZM + WAR3:FT
Reply With Quote #8

I am not asking about xp giving but i ask for correct team check, it means default get_user_team need change to custom fm_cs_get_user_team(maybe i think wrong) function(requires Fakemeta), maybe somebody can port it from zp ? Xp giving i am fixed by my self!

Last edited by fanta110; 04-06-2011 at 16:14.
fanta110 is offline
C0ff33
New Member
Join Date: Oct 2010
Location: Hungary
Old 04-09-2011 , 05:12   Re: ZM + WAR3:FT
Reply With Quote #9

ah ok i understand your problem now but i cant help in this, sorry
C0ff33 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 21:40.


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