PDA

View Full Version : [Cod4]Gametype error



sanyihun1923
24th January 2018, 20:52
Hello everybody this my problem I add demon mod team Attack gametype to openwarfare and this script error message bet:


https://pastebin.com/JnBE3BsK

and this is repeated.
Thanks in advance for anyone who can help!

Only Team attack gametype error

IzNoGoD
25th January 2018, 02:50
This is exactly what modding is about: finding these bugs and fixing them yourself.

As a slight hint towards where to find the solution to this: it seems your mod (or the default script - its almost 2k lines long, so who knows) does not update the level.spawnpoints array when spawnpoints get deleted. As a quick and dirty fix you could add a if(!isdefined(spawnpoint)) continue; right after spawnpoint = level.spawnPoints[spawnpointindex];