Models not visible after load from save Created 8 years ago2016-02-05 23:31:42 UTC by Dallas Dallas

Created 8 years ago2016-02-05 23:31:42 UTC by Dallas Dallas

Posted 8 years ago2016-02-05 23:31:42 UTC Post #328684
I have a number of models in my HL1 goldsource map that are placed using cycler_sprites. I have no settings on these entities other than the model path name.

They show up fine the way I want in game, but, after I die and load the game from a save point, the models no longer render in the same map.

has anyone ever seen this before? Is there a setting I need to have them render on load from save?
Posted 8 years ago2016-02-06 01:29:09 UTC Post #328685
Someone had this problem and posted the solution on ARRANGEMENT's forums. The problem is that the forums are still down for maintenance and Wayback Machine wasn't helpful.

If you are using Spirit of Half-Life, you should use "env_model" instead. If you are on vanilla HL, have you tried "monster_furniture" or "monster_generic" ?
Posted 8 years ago2016-02-06 09:24:41 UTC Post #328696
hmmm...

env_sprites work after load, but dont take the full set of angles I have set on them.

cycler's work, but have collision. (any way to disable it?)

Do monster_ entities have an extra overhead of AI or other cpu/rendering hit?
Posted 8 years ago2016-02-06 09:27:52 UTC Post #328697
Any errors in the console? Programming is required to add save-restore support for entities but looking at the cycler_sprite code it appears to have it (though perhaps an important field isn't saved).

edit: monster_ entities would have extra overhead but these days it would be pretty inconsequential.
Posted 8 years ago2016-02-06 09:52:39 UTC Post #328698
Im a bit leery of making a large number of entities monster_, I might be able to get away with it though.

I'm also struggling to get my game_player_equip entities to work after a load. They work before, but after a save game load they no longer work :/
Posted 8 years ago2016-02-06 12:48:44 UTC Post #328705
While "monster_furniture" and "monster_generic" depends on the CBaseMonster class (which is the base of any monster and the player). They doesn't use any AI related stuff like "thinking", "schedules", "tasks", "senses" so it shouldn't "harm" any PC.

I think it will be better to use "monster_generic" because you can make it non-solid and this will avoid blood splatters if you beat/shoot it and this isn't the case with "monster_furniture". Unless I'm mistaken, this is the entity that Valve used for the Gina Holographic Assistant in the Hazerd Course.
Posted 8 years ago2016-02-06 15:39:37 UTC Post #328720
Delete your save file and try it again
I remember saves being weird during delevopment.
That or open vanilla HL and do a quicksave
Tetsu0 Tetsu0Positive Chaos
Posted 8 years ago2016-02-07 12:02:59 UTC Post #328750
Yeah i've tried it with the saves cleared out. Unfortunately its not that simple.

Still trying to figure out the best solution for models in vanilla HL that holds between saves :(
Posted 8 years ago2016-02-07 18:33:34 UTC Post #328756
My go-to is env_sprite. Try setting the Pitch and Roll to 180 and see if that works for you.
Posted 8 years ago2016-02-08 08:19:08 UTC Post #328770
Yeah, env_sprite works.

It seems to lack 2 things -

The models don't match in game what I see in the editor (rotations are different). So for non simple rotation/placement it isn't very workable.

Also, no additive rendermode, which i would like for a number of my models.

Thanks for all the help and ideas guys :)
You must be logged in to post a response.