Script Development
Help and requests for InfinityScript development.
245 тем в этом разделе
-
Hi guys, im trying to learn how to make mods, its not easy so I started with a project that should be easy for a experienced scripter. I watched closely DeathMax's RollTheDice script cause there is tons of info, I wanted to make like a "wallhack" script that there will be red squares, its not to hack or something just for private use. Its a little script that I don't know the fuck how to fix it. Could someone fix it. By the way, I would like someone to fix it just to know how to fix it, the script is just a test, so I could learn...
-
- 4 ответа
- 118 просмотров
- 1 follower
-
-
So I was coding around today and when I start my server I get this error now What does it mean and how can I fix this?
-
- 4 ответа
- 149 просмотров
- 1 follower
-
-
This Addon/Mod is just tweaking the following dvars: cl_maxpackets 100 cl_packetdup 1 snaps 30 rate 25000 It's not much, but it reduces my ping about 20ms. I would recommend every serveradmin to use it, because people, that are playing on your server, will have a lower ping. Source: 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(() => { …
-
- 18 ответов
- 1,8k просмотра
- 1 follower
-
-
hi can any one tell me how i can create server please easy steps or some tools ? i wait my best wishes i arabic man please easy english &steps
-
- 2 ответа
- 91 просмотр
-
-
im trying to make a give me ammo plugin and i get a few errors if anyone could help me solve those errors than that be really cool using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace InfinityScript.Examples { public class givemeammo : BaseScript } if (message.StartsWith("!givemeAmmo ")) { var weapon = player.currentweapon; player.call("GiveMaxAmmo",weapon); { } } } return ChatType.ChatNone; } else { return ChatType.ChatContinue; } } } } i…
-
- 15 ответов
- 241 просмотр
-
-
Can someone make a mod like instagib4d1 but without random weapons,just with default and custom classes,available vars:jumpheight,speed and gravity and that message roller at bottom of screen(we can put rulles there).It will be a nice mod for server owners. That's all guys and thank you very much for this game.
-
- 7 ответов
- 244 просмотра
- 1 follower
-
-
Here Are 3 classes that I wrote to help with my QCZM port to IW5.... I am going to link to the SVN so that It will always be the most up to date. MapEdit: Same as MapEdit.gsc from IW4 with a few differences. GameStore: An in game store that provides an interface with variable pages and entries with custom functions on purchase. WeaponUtils: A weapon Utilities class with support for getting specific parts of a weapon's name (basename, attachments), Getting random weapons of individual classes, a slightly improved BuildWeaponName with support for more than 2 attachments, as well as a full list of all possible weapons/perks (thanks to Dasfonia) Links: https://www.…
-
- 4 ответа
- 615 просмотров
-
-
First of all: This is NOT a Mod, it is a tool for Mod-Creators. I made this to sum up every config for a mod into one File. Also it is now reall easy to read from text-files. Also because it was a great function in the ServerAddon @itsmods How to use it(Instructions for the File-Layout): There is only one File: mod_config.ini . It is located in the admin Folder of your Server If there is none, create it Use the following Layout: [section] Variablename=Value Variablename2=Value45 [MyHighJumpMod] JumpHeight=453 PlayerSpeed=53453 [YourAwsomeMod] YourMoreAwsomeVariableName=1337 How to add it in your Mod: Copy this code inside your class: /**…
-
- 4 ответа
- 500 просмотров
-
-
I have a couple of quesion I hope you guys can aswer for me So here we go: I was looking through the source of the InfinityScript and I found this: Function.AddMapping("meleebuttonpressed", 33536); Function.AddGlobalMapping("destroyglass", 427); Function.AddGlobalMapping("deleteglass", 428); Can this be used to enable knifing of windows (glass) with the NoKnife mod running? Because I tried to do this in several ways but it doesn't seem to work for me The other thing I was having trouble with is the following: When I use this code my server just instantly crashes public override void OnPlayerKilled(Entity player, Entity inflictor, Entity attack…
-
- 9 ответов
- 358 просмотров
- 1 follower
-
-
there is a Roll The Dice Script in Which Invisible For 15 Seconds that really doesn't make anyone invisible in my dedicated server console its written No Such Function : Hide so what's wrong? anyone know The Code for invisible?
-
- 6 ответов
- 188 просмотров
- 1 follower
-
-
Is there any way to manipulate the String that is given as the message, so other .dll's will get ONLY the manipulated one or nothing?
-
- 0 ответов
- 153 просмотра
-
-
can someone create a mod for infinite ammo :?: :?: I thank
-
- 4 ответа
- 342 просмотра
-
-
well lots of people camping in my server ...is there any plugin/mode if any one camping he get msg...plz help out..! thanks:
-
- 4 ответа
- 201 просмотр
-
-
how to do it? or any Console command?
-
- 4 ответа
- 246 просмотров
-
-
Just going to keep this up here for my own personal use as this is just to inform all of you guys what's happening in the script/mod I'm making. Revision 1: Initial Start Revision 2: Added a few new rolls for testing. Revision 3: Random infected class with 1 Throwing knife Revision 4: Random infected class with "wallhacks" the red box that's around a player in a predator and such. Revision 5: Added a smoke grenade random class. Currently as of now, I can modify health, speed, add perks, and other weapons in thr current state. Revision 6: Added set models to Infected. This script is like a version of Roll the Dice but for Infected. If you guys want to give…
-
- 13 ответов
- 922 просмотра
- 1 follower
-
-
hello friends help take care I'm not used to programming in C + + occupy a favor by devolopers I need the source code to create a permanent post at the top of the screen, I mean in the hud occupy the code in which nothing else would change the location (y, x) and text to finish in all the mod I'm developing thank you in advance
-
- 4 ответа
- 163 просмотра
-
-
i decided to make a jumper one i got the code but it needs speedplugin which isn't compaitable for iw5m public override void OnMapChange() { string currmap = GetDvar("mapname"); if (currmap == "mp_radar") { g_speed_var = 265; jump_height_var = 245; fall_damage_var = 0; gravity_var = 800; } else if (currmap == "mp_village") { g_speed_var = 235; jump_height_var = 250; fall_damage_var = 0; gravity_var = 800; } else if (currmap == "mp_seatown") { …
-
- 9 ответов
- 386 просмотров
-
-
PlayerConnecting += new Action(entity => { int giro = 0; CreateHUD(entity); var littleMessage = entity.GetField("little_message"); entity.OnInterval(1000, player => { player.Call("setclientdvar", "jump_height", 500); if (giro == arraySize) giro = 0; littleMessage.Call("fadeovertime", 2); littleMessage.Alpha = 1; littleMessage.SetText(arrText[giro] + ""); entity.AfterDelay(6000, other => { littleMess…
-
- 14 ответов
- 297 просмотров
-
-
i thought to release !next or !saveme when u stucked somewhere it changes your position to next respawn position without killing that kind of code can anyone help me ?
-
- 8 ответов
- 240 просмотров
-
-
PlayerConnecting += new Action(entity => { int giro = 0; CreateHUD(entity); var littleMessage = entity.GetField("little_message"); entity.OnInterval(1000, player => { player.Call("setclientdvar", "jump_height", 500); if (giro == arraySize) giro = 0; littleMessage.Call("fadeovertime", 2); littleMessage.Alpha = 1; littleMessage.SetText(arrText[giro] + ""); entity.AfterDelay(6000, other => { littleMess…
-
- 10 ответов
- 217 просмотров
-
-
Call("SetDvar", "say", "^2NEW ^3Player Connected"); when you say from your Dedicated Server say something then it would look like these console :something i just wanted to confirm that this Call("SetDvar", "say", "^2NEW ^3Player Connected"); code is correct? or player.SetClientDvar("say", "blabla");
-
- 5 ответов
- 146 просмотров
-
-
We all know the custom killstreak mods from iw4m, they were awesome! For example: When you hit a 3 killstreak, you would be rewarded with 3 deagle bullets in iSnipe. I would like to bring that back but I have no idea how to do it. I know how to give the player the bullets, but I don't know how you set it so the player gets the bullets when he hits for example a 3 killstreak... Could someone help me get started here? Since I am not a very experienced C# coder...
-
- 12 ответов
- 556 просмотров
-
-
Hi ШЊШЊШЊ how to play dlc maps for Survival mode 4d1
-
- 6 ответов
- 503 просмотра
-
-
-
im want to make a admin tool (mod) for iw5m I need help i need -commands used to kick and ban users (also what's code to say something from mod like in console we type say "anything^2lol" that code) -To display rules while anyone type !rules (maybe Onsay.xxx or may i wrong that's needed help here)
-
- 3 ответа
- 306 просмотров
-