Is it even possible to make SP maps?
Posted: 09 Jul 2018, 21:43
Hello, I hope this forum is not dead. But I thank you for the contributions so far.
I'm getting into mapping, and I've always wanted to make something work with SoF 1. My interest is only in mapping a Single Player level however. But it seems like there is something really wacky going on with the way that SoF indexes models and animations etc.
Basically if I were to put in a m_nyc_mpunk entity (a generic nyc enemy) into my map, and compiled it and everything, then upon loading the map into the game, it cannot load its model or animations. It's looking for things in the ghoul directory that aren't there. It also has the message in the console that "WARNING: No level .ghb for ecto, using ECTO.ghb!".
Basically the enemy is sort of there, but it's invisible and otherwise incapable of doing anything, and it will endlessly loop dying noises when you shoot in their direction with the shotgun (the crosshair does turn red when you hover over where they're supposed to be).
If I were to type a spawn command whilst in the level ("gimme m_nyc_mpunk") then it will attempt to spawn that enemy but the same thing happens; it's invisible and can't act, getting errors about the animations etc.
Now if I load any official single player map from the game, I can type in the same command and the Punk will spawn just fine, AI and animations and everything.
It should be noted that for some reason these necessary ghoul files are there in those folders that the game looks in for just a few random NPCs in the game, which I CAN put into my custom maps.
But for the many, many other NPCs it's seemingly indexed their models etc. SOMEWHERE where the original game maps tell them to look. Probably something to do with these "level .ghb files" but changing them around hasn't done anything.
Has anyone ever found a way to make these NPCs work in custom levels?
I'm getting into mapping, and I've always wanted to make something work with SoF 1. My interest is only in mapping a Single Player level however. But it seems like there is something really wacky going on with the way that SoF indexes models and animations etc.
Basically if I were to put in a m_nyc_mpunk entity (a generic nyc enemy) into my map, and compiled it and everything, then upon loading the map into the game, it cannot load its model or animations. It's looking for things in the ghoul directory that aren't there. It also has the message in the console that "WARNING: No level .ghb for ecto, using ECTO.ghb!".
Basically the enemy is sort of there, but it's invisible and otherwise incapable of doing anything, and it will endlessly loop dying noises when you shoot in their direction with the shotgun (the crosshair does turn red when you hover over where they're supposed to be).
If I were to type a spawn command whilst in the level ("gimme m_nyc_mpunk") then it will attempt to spawn that enemy but the same thing happens; it's invisible and can't act, getting errors about the animations etc.
Now if I load any official single player map from the game, I can type in the same command and the Punk will spawn just fine, AI and animations and everything.
It should be noted that for some reason these necessary ghoul files are there in those folders that the game looks in for just a few random NPCs in the game, which I CAN put into my custom maps.
But for the many, many other NPCs it's seemingly indexed their models etc. SOMEWHERE where the original game maps tell them to look. Probably something to do with these "level .ghb files" but changing them around hasn't done anything.
Has anyone ever found a way to make these NPCs work in custom levels?