Ah, It's clear. I just did not understanded what is dvars. This is settings for mods.
Thank You!
Now there is material with which i can work long time and do not stumbles on the spot
Ah, It's clear. I just did not understanded what is dvars. This is settings for mods.
Thank You!
Now there is material with which i can work long time and do not stumbles on the spot
Last edited by G-Stuff002; 20th March 2018 at 21:25.
Hello, I want to use this mod, unfortunately I get the error message, can someone help me what I have to do.
Thx
script compile error *******
unknown function: (file 'demon/_utils.gsc', line 540)
spawnpoints = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( spawnname );
if
it == 540 line, check:Code:spawnpoints = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( spawnname );
1. existence file: _spawnlogic.gsc in dir "maps\mp\gametypes"
2. existence function getSpawnpointArray( spawnname ) in dir: maps\mp\gametypes, file: _spawnlogic.gsc
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;
The function does not originally exist in COD2:
From MW2:
Try this version:PHP Code:
getSpawnpointArray( classname )
{
spawnPoints = getEntArray( classname, "classname" );
if ( !isdefined( level.extraspawnpoints ) || !isdefined( level.extraspawnpoints[classname] ) )
return spawnPoints;
for ( i = 0; i < level.extraspawnpoints[classname].size; i++ )
{
spawnPoints[ spawnPoints.size ] = level.extraspawnpoints[classname][i];
}
return spawnPoints;
}
PHP Code:
getSpawnpointArray( classname )
{
spawnPoints = getEntArray( classname, "classname" );
return spawnPoints;
}
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;
Hi guys, thanks for the help, but I thought the zzz_tellermine2.iwd is a stand alone version. I insert that code on 540 line and get a new error message
Could not find script 'maps/mp/gametypes/_class': (file 'demon/_utils.gsc', line 613)
iDamage = maps\mp\gametypes\_class::modified_damage( player, eAttacker, iDamage, sMeansOfDeath );
It is probably not a stand alone version because gsc files are always missing. Maybe someone has a finished stand alone version for me? That would be great
Thx Schenk
Last edited by Schenk; 15th July 2020 at 18:53.
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;