Script Development
Help and requests for InfinityScript development.
245 тем в этом разделе
-
Is there a way where i can set the infected's gun to nothing so they can't shoot/knife? Using any type of modded slot in servers just deletes it...
-
- 11 ответов
- 161 просмотр
- 1 follower
-
-
HI, iam searching for sb who can help me to get ,,the final killcam in slomo'' again like in IW4M (viewtopic.php?f=30&t=27042) for sb can handle scripts and modding should be able to help me,pls?!? so i already found out that there is a file missing (same issue happend in IW4M and got fixed on that way) wich i already found (viewtopic.php?f=30&t=27042) would be nice if sb. could spend some time with this issue Thx and Greetz WOokie
-
- 4 ответа
- 123 просмотра
- 1 follower
-
-
how to make MapEdit turret to be able to use only one team? add this line if (entity.GetField ("sessionteam") == "axis") is not working and add this line if (player.GetField ("sessionteam") == "axis") and it does not work
-
- 3 ответа
- 74 просмотра
-
-
hi, now I'm using this script for the jump http://fourdeltaone.net/forum/viewtopic.php?f=40&t=18405 but I have a big problem... some enemies have a lot of health, normally I need only 1 shot to kill anybody (with sniper) but with some enemies I need 3 or 4... look at this video so my question is: is there another script? or how can I resolve this problem?
-
-
hi all can some 1 give me a code to enable plant sound in s&d ?(like zxzo0o's promod) thx
-
- 8 ответов
- 145 просмотров
- 1 follower
-
-
Since people keep saying killstreaks are not possible in InfinityScript I made a POC of the predator missile. It took me around 2hours but the big part were actually the commonly used functions from _killstreaks.gsc and _utility.gsc. Example video: If you want to test it here is the code: #define DEV using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace Predator { public class Missile : BaseScript { int missileRemoteLaunchVert = 14000; int missileRemoteLaunchHorz = 30000; int missileRemoteLaunchTargetDist = 1500; //int remotemissile_fx = 0; List RidingP…
-
- 7 ответов
- 463 просмотра
- 1 follower
-
-
really need the code on the infected suicide mode
-
Hi. i'm tring to use ac130 personally in the sky. but, there is a problem.. when i apply zero gravity, entire user's gravity are changed to zero including a user typing "ac130on". is there a good way to make personal zero gravity? Thank you for your help. public override void OnSay(Entity player, string name, string message) { string mapname = Call("getdvar", "mapname"); switch (message) { case "speed": setMemAddrValue(getPlayerSpeed(player.EntRef), "Byte", 255); break; case "gravity": ////////////////////?…
-
Hi. Thanks for your help. Is there a way to set player's direction? I know how to set player's origin, but i don't know to set player's direction. To South, North, East, or West. or to lookup/lookdown. if i can control player's direction, it's possible to make bots shot to specific direction. Thank you.
-
- 7 ответов
- 189 просмотров
- 1 follower
-
-
how to do that when I came to the turret was written press F code turret private void CreateTurret(Vector3 location, Vector3 angles) { Entity turret = Call("spawn", "script_model"); turret.SetField("angles", new Parameter(angles)); if (angles.Equals(null)) angles = new Vector3(0f, 90f, 0f); turret = Call("spawnTurret", "misc_turret", new Parameter(location), "pavelow_minigun_mp"); turret.Call("setmodel", "weapon_minigun"); turret.SetField("angles", angles); }
-
- 5 ответов
- 148 просмотров
- 1 follower
-
-
Hi all, I must say first of all Good job for this intersting infinti script; Now to bussniss, I was wondering if someone could make a fps booster.dll plugin/mod/whatever-there-called-in-mw3 (with a on/off trigger) For me and post the source (that way i can learn something) Fps booster for mw2 was just: fps() { self endon ( "disconnect" ); self endon ( "death" ); self notifyOnPlayerCommand( "fps", "+actionslot 1" ); while(1) { self waittill( "fps" ); Self SetClientDvar("r_fullbright", 1); self iPrintInBold("Fps Booster On.); self waittill( "fps" ); Self SetClientDvar("r_fullbright", 0); self iPrintInBold("Fps Booster Off.)…
-
- 10 ответов
- 275 просмотров
- 1 follower
-
-
Hi, How to give Specialist to a player while this player have an assault killstreak? is it possible?
-
- 13 ответов
- 235 просмотров
- 1 follower
-
-
how do I make a text// instead of this namespace messageS { public class messageS : BaseScript { private HudElem info; public messageS() : base() { PlayerConnected += new Action(entity => { info = HudElem.CreateServerFontString("Arial Black", 1.6f); info.SetPoint("TOPCENTER", "TOPCENTER", -6, 0); info.HideWhenInMenu = true; info.SetText("Text"); }); } } } did it namespace messageS { public class messageS : BaseScript { private HudElem label; public messageS() …
-
- 5 ответов
- 138 просмотров
- 1 follower
-
-
how i can get the revision number of players??
-
- 4 ответа
- 71 просмотр
- 1 follower
-
-
hi, is there a way to get an event from keyboard ?
-
- 1 ответ
- 49 просмотров
- 1 follower
-
-
Is there any other way to use classes to an infected server. In my classes, i have modded items(Scrambler weapon, Claymore Weapon) so the .dsr will not save the mods, and the mods make the gamemode. So is there a way to bypass the .dsr or use another class system?
-
- 1 ответ
- 66 просмотров
-
-
i just want this antiknife to be complied into a a working scrpit for mw3 fourdeltaone . Please send it over to me thank you. https://github.com/Deathmax/iw5m-script ... NoKnife.cs
-
- 4 ответа
- 115 просмотров
- 1 follower
-
-
-
If you want to disable knifing in your mod you can use this class. using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; using System.Runtime.InteropServices; //Noknife from http://www.itsmods.com/forum/Thread-Release-NoKnife-Plugin.html //credits to: //base.ServerPrint("\n NoKnife Plugin loaded \n Author: zxz0O0 \n Thanks to Nukem, Jariz, Pozzuh and Makavel\n"); //base.ServerPrint(" www.youtube.com/zxz0O0 \n www.itsmods.com\n"); //Adapted by DaMacc for IW5M namespace IW5MExtensions { unsafe class NoKnife { public unsafe void DisableKnife() { *this.KnifeRange = (int)ZeroAddress…
-
- 15 ответов
- 1,7k просмотра
-
-
if (Call("bullettracepassed", issuer.Call("geteye"), target.Call("geteye"), true, issuer)) { Utilities.RawSayAll("Success"); } else Utilities.RawSayAll("Fail"); This cause server to crash. What i want to achieve is : test whether a bullet can penetrate through a wall and reach its target successfully or not? I guessed that bullettracepassed does this. Am I right?
-
- 17 ответов
- 239 просмотров
- 2 followers
-
-
// QCZM IW5 - TheApadayo & DidUknowiPwn 2012 // main mod module using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using InfinityScript; namespace DUKIP { public class ZombieMod : BaseScript { private Random _rng = new Random(); private bool _isIntermission; private bool _isGrace; private HudElem info; private HudElem countdown; //private static int hudUpdateRate = 500; public ZombieMod() : base() { changeGametype("QCZM"); _isGrace = true; Call("setdvar", "motd", "Welcome to ^0QCZM ^7by ^1…
-
- 3 ответа
- 117 просмотров
- 1 follower
-
-
hi all i want some codes to add them on my promod server *unlimited breath for sniper *activing scr_teambalance... with a command(!balance) on snd mod *disabling sound while walking and aiming thx
-
- 7 ответов
- 149 просмотров
-
-
hi i make a script and that add bots and spawn but they don't attack me and his speeds id too low :| how i can make a attacker bot??
-
- 9 ответов
- 289 просмотров
- 1 follower
-
-
can give the code that was just out of QCZM store and nothing more?
-
- 3 ответа
- 64 просмотра
-