mefy mod fix?
Moderator: Moderators
mefy mod fix?
hey guys...i was helping a friend with some mods and he asked me if i could help him with the bombs planting error in FT mod....on southern france and in omaha maps when u set a bomb it says it was set by axis but was actually set by allies.....im guessing it does it on other maps too but those r the two he showed me.....i went thru the mefy script and saw the allies have and the axis have then chased that to another script then chased that to another script all in the global libmef folder but didnt see anything i could detect as an error or typo.....anyone here know how to fix it or already have?.....thx guys
-
$oldier Of Ra
- Lieutenant Colonel
- Posts: 404
- Joined: Sun Oct 16, 2005 7:16 pm
- Location: Belgium
- Contact:
The problem's only a name change? I could fix that no prob.
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)
For all your bot needs!!!!
$oldier Of Ra.
- LilChefDeath
- Corporal
- Posts: 36
- Joined: Sun Nov 26, 2006 7:48 am
Tazz check in your mefy pk3 in global/bomb.scr
Maybe replace part of it with
not really sure havent touched it and dont know alot about it x]
Code: Select all
bomb_message local.bomb local.action local.player:
local.name = waitthread global/libmef/util.scr::get_player_name local.player
if (local.name != NIL)
{
local.str = level.mef_team[local.player.dmteam].desc + " player (" + local.name + ") "
if (level.mef_settings["logevents"])
{
if (local.action == "planted")
{
local.logstring = "PLANT"
} else
{
local.logstring = "DEFUSE"
}
println ("MEF " + local.logstring + " " + local.player.dmteam + " " + (waitthread global/libmef/util.scr::escape_string local.name " " "&"))
}
} else
{
if (local.team == "allies")
{
local.str = "The Allies have "
} else
{
local.str = "The Axis have "
}
}
local.str += (local.action + " a Bomb!")
if (local.bomb.desc != NIL)
{
local.str += (" [" + local.bomb.desc + "]")
}
local iprintlnbold_noloc local.str
endCode: Select all
} else
{
if (local.team == "allies")
{
local.str = "The Allies have "
} else
{
if (local.team == "axis")
{
local.str = "The Axis have "
}
}
