I get a problem with my map, so far I know, I'm around 80% done with my map but now at the moment I can not start my map up.
when I launch my map then I press on the button or in the console: devmap nazi_zombie_dt2 it does not matter which one and when the loading is done and you can click to start the map, then it crasht back to the menu and says:
error: G_Spawn: no free entities.
picture:
a little story to know whats happening
previous time the map works fine no problems and everything works fine
what I have added is few rooms and 4 doors that you need to buy to open the door.
(p.s. I'm trying to make so small steps to build the map fully out)
but when I have compiled my map it crasht and it say about the G_spawn error.
I use defferent things to come out what the problem is but I get different errrors on different loading my map
like a sample what I also get after I use also: developer 1 and maybe logfile 2 too.
but now I get only this error at the moment but before that what I say it works fine without any errors
this error:
this is the map where I'm working on it now and it will be really appreciated
G-spawn counts all the script entities in the map, so script brushmodels, structs, origins (doesn't actually count one of those - forget which one - until something is actually spawned on them I've been told), triggers, etc. Basically you need to remove some of those from the map, if you added some new rooms and now you're getting it it's probably the debris and barriers that's causing it (since they are script entities). I'm struggling with this myself atm, you're not alone brother
G-spawn counts all the script entities in the map, so script brushmodels, structs, origins (doesn't actually count one of those - forget which one - until something is actually spawned on them I've been told), triggers, etc. Basically you need to remove some of those from the map, if you added some new rooms and now you're getting it it's probably the debris and barriers that's causing it (since they are script entities). I'm struggling with this myself atm, you're not alone brother
Okay thank you for your advice here is a map info preview about my map what I already have:
what I think need to do is removing some:
triggers (like the playable area triggers) windows - barriers (where the zombies spawns) (each window has 6 wooden planks and 2 scripts_structs or origins) removing doors - buyable doors.
but I have an question, it is now impossible to use my project.
that project uses alot of script_brushmodels like around 250 in my test map it works fine but I think when I will use it in my real map that it will not work and I get again that problem.
thank you for helping me with this problem
and you got also this problem too ?
I know this problem is anoying and makes me really tired
Yep, this problem is pain the ass for sure. The only way to fix it is to try and be more economical with your script entities and cut down on them wherever possible, like for example if you have a lot of script brushmodels making one 'structure' consider converting it into a model to use only one entity, stuff like that. Good luck
Yep, this problem is pain the ass for sure. The only way to fix it is to try and be more economical with your script entities and cut down on them wherever possible, like for example if you have a lot of script brushmodels making one 'structure' consider converting it into a model to use only one entity, stuff like that. Good luck