-
[release] Some useful scripts for promod
Ok i fixed it lool apadayo only u noticed it fixed now
-
[release] Some useful scripts for promod
u have to comile it first then u put it in scripts forlder then add in .cfg LoadScript "scriptname"
-
[release] Some useful scripts for promod
who said is it?
-
[release] Some useful scripts for promod
ok paulo but i posted it to let all ppls see it because every day they come to me and they want to get it
-
[release] Some useful scripts for promod
hello guys many ppls are asking me to get scripts applied in my server this scripts are very usefil for promod Search & destroy Team names namespace InfinityScript.Examples { using InfinityScript; using System; public class namesv1 : BaseScript { public namesv1() { base.Call("setDvar", new Parameter[] { "g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan" }); base.Call("setDvar", new Parameter[] { "g_teamname_axis", "^2Visitantes" }); base.PlayerConnected += delegate (Entity entity) { entity.SetClientDvar("g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan"); entity.SetClientDvar("g_teamname_axis", "^2Visitantes"); }; } } } Alive players: using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; using System.Timers; namespace Alive_Players { public class Alive : BaseScript { public Alive() { PlayerConnected += new Action(entity => { HudElem LabelA = HudElem.CreateFontString(entity, "hudbig", 0.8f); LabelA.SetPoint("TOPLEFT", "TOPLEFT", 30, 110); LabelA.SetText("FRIENDLY"); LabelA.HideWhenInMenu = true; HudElem LabelB = HudElem.CreateFontString(entity, "hudbig", 0.8f); LabelB.SetPoint("TOPLEFT", "TOPLEFT", 30, 130); LabelB.SetText("ENEMY"); LabelB.HideWhenInMenu = true; HudElem LabelANum = HudElem.CreateFontString(entity, "hudbig", 0.8f); LabelANum.SetPoint("TOPLEFT", "TOPLEFT", 110, 110); LabelANum.HideWhenInMenu = true; HudElem LabelBNum = HudElem.CreateFontString(entity, "hudbig", 0.8f); LabelBNum.SetPoint("TOPLEFT", "TOPLEFT", 110, 130); LabelBNum.HideWhenInMenu = true; OnInterval(50, () => { string sessionteam = entity.GetField("sessionteam"); string axis = Call("getteamplayersalive", "axis").ToString(); string allies = Call("getteamplayersalive", "allies").ToString(); LabelANum.SetText((sessionteam.Equals("allies")) ? allies : axis); LabelBNum.SetText((sessionteam.Equals("allies")) ? axis : allies); return true; }); }); } } } Enabling Plant Sound using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace LE3 { public class Learn2Code : BaseScript { public Learn2Code() :base() { PlayerConnected += new Action(entity => { entity.OnNotify("weapon_change", (player, weap) => { if (weap.ToString() == "briefcase_bomb_mp") { Call("PlaySoundAtPos", entity.Origin, "mp_bomb_plant"); } }); }); } } } Little promod: using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace PingFix { public class PingFix : BaseScript { public PingFix() : base() { PlayerConnected += new Action(entity => { entity.SpawnedPlayer += new Action(() => { entity.Call("setClientDvar", "cl_maxpackets", 100); entity.Call("setClientDvar", "cl_packetdup", 1); entity.Call("setClientDvar", "snaps", 30); entity.Call("setClientDvar", "rate", 25000); }); }); } } } messages on hud using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace messageS { public class messageS : BaseScript { private HudElem info; public messageS() : base() { PlayerConnected += new Action(entity => { info = HudElem.CreateServerFontString("hudbig", 0.6f);//TYPE AND FONT SIZE info.SetPoint("BOTTOMCENTER", "BOTTOMCENTER", 0, 1);//COORDINATES AND LOCATION:CENTER, LEFT, RIGHT, TOP, BOTTOM info.HideWhenInMenu = true; info.SetText("^1M^2E^3S^4S^5A^6G^7E");//HERE'S WHERE THE MESSAGE GO }); } } } Credits: Me- Idea and collecting scripts apadayo/dukip- helping in alive players script dekart811- Team names script Aalalex- enabling plant sound Tonejo[A]- Team names MegMak 2907- messages on hud
-
Why my stats were reset!? I'm lvl 1 again!
also my frind had this problem unlucky
-
(help) pls help in this code
zxz00 it works 100% thx alalex
-
(help) pls help in this code
im learning also my bro advising me to learn it he wont help me in coding
-
(help) pls help in this code
with this code i can do any thing my friend told me that i need to addput it in public void namespace() but idk how pls if u can give me ready code to compile thx
-
(help) pls help in this code
sry alalex but this code is missing headers...(sry im nrw just started learning c#)
-
(help) pls help in this code
no answer? :S
-
[INFO]XLRstats Player Documentation
more clear
-
[INFO]XLRstats Player Documentation
hello everybody this a good tutorial to explain xlrstats plugin on b3(how skill depends,ratio...) ****Introduction.**** XLRstats is a statistics generation and publication plugin for the BigBrotherBot, short B3. So it is not a standalone program, it's a plugin for the platform and game independant administration facility for online games called B3 (more information about B3 can be found at www.bigbrotherbot.net) As a gamer you should not have to worry about how this works exactly, you would only have to know how to interpret the statistics, what is in there, what's not and why it's not in there. XLRstats is a REAL-TIME statistics plugin. It keeps track of the actual status on our gameserver(s) right up to the point you press the link on the website or refresh the page! ****The Player, Map and Weaponpages*** If you click on a playername, a mapname or a weaponname you will see a page with all available stats for that specific player or item. In other words, a playerpage will show you the stats for that specific player. Same goes for mappages and weaponpages. ***Available info.*** Most columns in the statstables speak for themselves. For example: kills shows you the number of kills made, and rounds the number of rounds played... simple as that. Two colums might need a little extra explanation though. Ratio. The ratio is only available for players. It is the number of kills devided by the number of deaths. So if you kill 10 players, and get shot 10 times, your ratio is 1. Hence, a ratio higher than 1 is a good thing (more kills than deaths), and a ratio between 0 and 1 indicates that you need some practice (more deaths than kills). ***Skill.*** Skill is a complicated thing. In XLRstats it indicates your actual level of how good you are. Our basic skillcalculation formula is taken from the scientific method used in more online competitions like chess and online tacticall games. Because this game is not exactly chess we had to modify it so it works for our game. We've added penalties and weaponmodifiers so there is a way to include them in the calculation. We also added a team-work factor in the calculation to award teamplay. Your skill increases when you kill, it decreases when you die. Keep the next things in mind when playing for skill: Extra skillpoints are received when: you kill a player with a better skill than yourself you kill with a difficult weapon like a pistol, rifle or by bashing an opponent you make an assist (damage a player before another kills him) you complete an action (like capture a flag, defuse a bomb etc.) Extra skillpoints are deducted (you receive a skillpenalty) when: you kill a teammate you fall from a roof you damage a teammate that falls to death as a consequence you damage a teammate that gets shot shortly after (a negative assist) Basicly skill is calculated after each kill or death. After a bad day your skill would be down significantly, while on a good day your skill might go up to the point where you show up in the top list - skill. Common sence is the main thing, if you choose the team that has a hard time winning, you have better chances on improving your skill, because the skilled players are probably in the opposite team, and killing them gives you extra skillpoints! On the other hand, if you are number 1 on the skill ranking, you will not be able to earn extra skillpoints. Simply because there is no one better than you! You will have to defend your position without the possibility to receive extra points Choose your weapon carefully, killing with a thompson or MP-40 (typicall spraying weapons) will make you improve less on skill, while setting guns to semi will give you more skillpoints. More on weaponmodifiers in the next chapter. ****Weaponmodifiers.*** As you might have read in the previous chapter we included a weapon modifier for each weapon. Based on the policy of the gameserver running the plugin, it multiplies skillimprovement or skilldeduction with a factor configurable in the plugin itself. Printing the different factors is not possible, simply because each serveradmin can set these modifiers in the config. With a default install it would be wise to switch an automatic rifle to semi (usually with the m-key ingame) simply because it would add more to your skill. Also a pistol and bashing an opponent gives better increase of skill. source:www.bigbrotherbot.net
-
(help) pls help in this code
if i know how why i post there so
-
(help) pls help in this code
heello i want to enable planting sound to be same as diffusing i got this code from server addon public override void OnPlayerUse(ServerClient Client) { Vector origin = new Vector(Client.OriginX, Client.OriginY, Client.OriginZ); base.PlaySoundAtOrigin(origin, "mp_bomb_plant"); } can some 1 edit it to work in 4d1? thx
LE3*
Игрок
-
Зарегистрирован
-
Посещение