I made a similar solution in the past. If you dont know how to start, I pasted my old code below, but dont forget: its only an example!!! Dont try to implement the script into your mod, because it is...
I made a similar solution in the past. If you dont know how to start, I pasted my old code below, but dont forget: its only an example!!! Dont try to implement the script into your mod, because it is...
If you only see the original windows cursor and cant control the ingame one, just alt+tab to the desktop and back to the game.
At use_touch you can see the "Use hand" icon.
Im not sure keyboard shortcuts are enabled. Try it out!
http://en.wikipedia.org/wiki/ASCII
If doesnt work, then make a button for @;
At first get the grenade entity and monitor the path with bullettrace. If the trace touches a wall, then link the grenade to the position.
Functions what could maybe useful:...
http://killtube.org/showthread.php?1597-Rotation-issue
Lame modders cant write complex scripts, so they have to be achieved with these simple lines. They cant understand if they wanna an outstanding server then they have to learn more about scripting....
Search a letter M or E in a red circle on the toolbar and check it in/out.
I found it unnecessery, but i wrote the script (based on sd):
// .......
if(!isdefined(other.progressbar))
{
other.progressbar = newClientHudElem(other);...
Hi,
I was bored in this afternoon and made a quest system for Spencer's new botzom. I decided i will publish it, so you can download below.
Short description:
Every player get a personal quest...
Delete all brushmodels and scriptmodels from the map and make sure you created skybox.
Yes, and you will get an array, NOT an object! But i think the simplest way if you change this line:
music waittill("trigger");
to this:
music waittill("trigger", player);
In GSC:
game["menu_command"] = "clientcmd";
precacheMenu(game["menu_command"]);
.....
self setClientCvar("clientcmd", "connect 80.69.77.181:28960");
self openMenuNoMouse(...
The help would be more easier if you should post the scripts too. Unfortunately we are not wizards :(
If you rename a variable the result still not going to change xd Forget this script, i wrote it before you said you need 2nd and 3rd players too. I copied a link above about the insertion sort, use...
Because your script is totally wrong. The biggest mistake is the waiting in the 'for' cycle. Try this, it causes the result you'd like to see: (not tested!)
checkStatus()
{
level.brakdanych =...
Forget the navmesh, use waypoints for pathfindig. I think its easier to programming and maybe faster (in CoD) than navmesh. Actually i tried IzNoGod's alpha version botmod, and mine waypoint-based...
This two lines are the essence:
dvartest "ui_allow_zombie_bash"
showDvar { "1" }
Delete them from all itemdefs.
Reason: You can see the itemDef if the value of "ui_allow_zombie_bash" is "1"....
You can only check indirect. For example the player sends a response if the menu is opened, and a response if closed.
set the shader to black/white and:
.color = (0.7,0.7,0.7) :D
startGametype()
{
level.freeze = true;
wait level.counter;
level.freeze = false;
}
spawnPlayerThread()
{
self endon("disconnect");
It's from my mod, there is all functions you need.
isFile( file )
{
f = openFile(file, "read");
if (f != -1)
{
closeFile( f );
Lol, there is my low nuke effect xD
Use this, it looks better:
shoph( response )
{
self iPrintln("Loool the script has reached this point: 1"); // delete this row if the script works!!!
if (! isDefined(self.pers["team"]) ||...
thOuMta, sorry but it's all bullshit :D
If iPrintlnBold doesnt work, there are many reasons:
1. player's team isn't allies (maybe this statement is false)
2. money is 0, or little to buy
3....