I've narrowed down what parts of GunGame v4 use ESTools, and it's more than just DM, unfortunately. Knife Elite, voting, and triple level use it.
Knife Elite has a built in workaround for stripping the weapon, if EST isn't installed, and the blackhole simply isn't available to remove the dropped weapon.
I've rewritten es_gg_voting.txt as follows, to trigger sm_mapvote whenever the voting should occur, and prevent any multiple votes.
Code:
block load
{
// Check gg_vote_options
ifx false(gg_vote_options) do
{
es_xdbgmsg 0 Invalid map options set in cfg, unloading gg_voting addon
es_xunload gungame4/addons/gg_voting
}
else do
{
// Init vars
es_xset gg_file_id 0
es_xset gg_line_count 0
es_xset gg_line_num 0
es_xset gg_word 0
es_xset gg_vote_trigger 0
es_xset gg_vote_exclude 0
es_xset gg_vote_mapname 0
es_xset gg_voteleader_lvl 0
es_xset gg_vote_started 0
es_xsetinfo gg_vote_decided 0
gg_getmaxlevel gg_vote_trigger
es_xmath gg_vote_trigger - 2
}
}
event gg_start
{
es_xsetinfo gg_vote_decided 0
}
event gg_levelup
{
if (server_var(gg_vote_decided) == 0) do
{
es_xdoblock gungame4/addons/gg_voting/gg_call_mapvote
}
}
block gg_call_mapvote
{
if (server_var(gg_leader_lvl) == server_var(gg_vote_trigger)) do
{
sm_mapvote
es_xsetinfo gg_vote_decided 1
}
}
I'd love some syntax help in getting the es_gg_triplelevel.txt to work without ESTools. I'm trying to get it to do sm_gravity, but can't get it to work. I think it's missing the # symbol, and can't seem to get that inserted. Otherwise, we wouldn't need EST.