Jump to content

makavelii

Members
  • Posts

    49
  • Joined

  • Last visited

makavelii's Achievements

Newbie

Newbie (1/14)

35

Reputation

  1. Okay, i will try that.. But how to make the server force download of the menu into etmain? Added into etmain on fastdl + etmain directory but doesnt work
  2. and how to force people downloading it into ETmain, I read somewhere about the .campaign thingy but not quite sure of how to use it. + I changed the global.menu but seems not to work :/
  3. Hey guys, I've recently tried to change the IN-Game menu for example add buttons such as other server connection, etc etc. But I don't know what to do so it replaces the current 'mod' menu.. Can someone help me? Thanks in advance.
  4. Hey, I have question about the autopromo lua. My level system on the server is 15,20,25.. <- levels for regular players and my friend edited for me the lua as I wasn't sure what to do.. Is this right? --------------------------------------------------------------------- -- AutoPromo - An Enemy Territory Auto Promoting Mod ---------------------------------------------------------------------- description = "AutoPromo" version = "1.1" ---------------------------------------------------------------------- -- This script can be freely used and modified as long as the original -- authors are mentioned. -- Created by Perlo_0ung, edited by Dragon -- Adapted for silEnT mod 0.5.0 and higher ---------------------------------------------------------------------- -- CONFIGURATION ---------------------------------------------------------------------- lvl15xp = 1000 -- XP needed for level 1 lvl20xp = 5000 -- XP needed for level 2 lvl25xp = 25000 -- XP needed for level 3 ---------------------------------------------------------------------- -- DO NOT EDIT BELOW THIS LINE -- UNLESS YOU KNOW WHAT YOU'RE DOING ---------------------------------------------------------------------- function et_InitGame(levelTime,randomSeed,restart) local modname = string.format("%s v%s", description, version) et.G_Print(string.format("%s loaded\n", modname)) et.RegisterModname(modname) end -- TheSilencerPL - To make it better, faster and less aggravating -- for the game, store the XP locally and reuse it function et_ClientSpawn(clientNum, revived, teamChange, restoreHealth) local valXP = getXP(clientNum) if valXP >= lvl15xp and valXP < lvl20xp then setlevel(clientNum,1,lvl15xp) elseif valXP >= lvl20xp and valXP < lvl25xp then setlevel(clientNum,2,lvl20xp) elseif valXP >= lvl25xp then setlevel(clientNum,5,lvl25xp) end end function getXP(playerID) return et.gentity_get(playerID, "ps.persistant", 0) end function getlevel(playerID) return et.G_shrubbot_level(playerID) end function setlevel(playerID, newlevel, xp) local name = et.gentity_get(playerID,"pers.netname") if isBot(playerID) or noGuid(playerID) then return end if newlevel <= getlevel(playerID) then return end et.trap_SendServerCommand(-1,"bp \"^nCongratulations ^7"..name.."^n, ^nyou have ^nbeen ^npromoted ^nto ^na ^nlevel ^7"..newlevel.." ^nuser!\"") et.trap_SendConsoleCommand( et.EXEC_APPEND, "setlevel ".. playerID.." "..newlevel.."\n" ) et.trap_SendConsoleCommand( et.EXEC_APPEND, "readconfig\n" ) end function noGuid(playerID) local userinfo = et.trap_GetUserinfo( playerID ) local guid = et.Info_ValueForKey( userinfo, "sil_guid" ) if guid == "NO_GUID" or guid == "unknown" then return true end end function isBot(playerID) if et.gentity_get(playerID,"ps.ping") == 0 then return true end end Best regards.
  5. Solved, execd the objectivecycle.cfg and works. thanks all
  6. Hey, I have my game type set to 6 (map voting). Unfortunately it doesnt load any maps as there was no map rotation. Yesterday I've put a few maps in the rotation but it doesnt seem to work.. When I do nextmap and don't vote on any maps it still restarts the same.. my objective.cfg set d1 "set g_gametype 6 ; map goldrush ; set nextmap vstr d2" set d2 "set g_gametype 6 ; map purefrag ; set nextmap vstr d3" set d3 "set g_gametype 6 ; map te_valhalla ; set nextmap vstr d4" set d4 "set g_gametype 6 ; map goldendunk_a2 ; set nextmap vstr d5" set d5 "set g_gametype 6 ; map fun_beach_final_fv1 ; set nextmap vstr d6" set d6 "set g_gametype 6 ; map caen2 ; set nextmap vstr d7" set d7 "set g_gametype 6 ; map supplydepot3 ; set nextmap vstr d8" set d8 "set g_gametype 6 ; map SuperGoldrush_Final ; set nextmap vstr d9" set d9 "set g_gametype 6 ; map UJE_ambush_b2 ; set nextmap vstr d10" set d10 "set g_gametype 6 ; map UJE_2_towns_b2 ; set nextmap vstr d11" set d11 "set g_gametype 6 ; map italyfp2 ; set nextmap vstr d12" set d12 "set g_gametype 6 ; map venice_ne4 ; set nextmap vstr d13" set d13 "set g_gametype 6 ; map UJE_christmas_tank_2010 ; set nextmap vstr d14" set d14 "set g_gametype 6 ; map nfl_b2 ; set nextmap vstr d15" set d15 "set g_gametype 6 ; map italyfp2 ; set nextmap vstr d16" set d16 "set g_gametype 6 ; map oasis ; set nextmap vstr d17" set d17 "set g_gametype 6 ; map fueldump ; set nextmap vstr d18" set d18 "set g_gametype 6 ; map baserace_b3c ; set nextmap vstr d19" set d19 "set g_gametype 6 ; map mlb_egypt_fixed ; set nextmap vstr d20" set d20 "set g_gametype 6 ; map pirates ; set nextmap vstr d21" set d21 "set g_gametype 6 ; map railgun ; set nextmap vstr d22" set d22 "set g_gametype 6 ; map battery ; set nextmap vstr d23" set d23 "set g_gametype 6 ; map mml_minastirith_fp3 ; set nextmap vstr d24" set d24 "set g_gametype 6 ; map mlb_daybreak ; set nextmap vstr d25" set d25 "set g_gametype 6 ; mml_helmsdeep_b4 ; set nextmap vstr d1" vstr d1 Do I need to edit any other cfg so that it works? Thanks
  7. makavelii

    Vsays

    From what silencer told me i had around 170, where only 150 worked
  8. Okay, Unfortunately the disable falling damage still slows down when jumping from higher distances which unables to do TJ:/
  9. makavelii

    Jumping

    Is it possible to disable the thing when you fall that it slows you down? + how can you change the map time for example from 60 to 15minutes etc.
  10. makavelii

    Vsays

    i've sorted it out with the help of SIlencer. There was too many sounds had to delete some and they work fine
  11. Hey I was wondering if these commands are usable and if they will work. [command] command = tjmodeon exec = g_misc 231 ; g_mode 7 ; g_medicChargeTime 0 ; giba desc = ^7Turns on ^1TrickJump ^7settings. syntax = levels = 175 200 225 250 300 [command] command = tjmodeoff exec = g_misc 214 ; g_mode 0 ; g_medicChargeTime 10000 ; giba desc = ^7Turns off ^1TrickJump ^7settings. syntax = levels = 175 200 225 250 300
  12. Okay I'll check if 31 works, had 21 before didn't work, i've set it to 23 and didn't work. Have no Idea what the problem is.. But why do the levels disappear with the xp? + whats xpdecayfloor and damagexp? Yeah, I know I was just bored and really didn't know what to put in there:P sorry boss, i'll fix it right away so you don't slap me for insulting your work!
×
×
  • Create New...