It has become apparent that ...
... entities hate me. In continuing from the previous two threads, I have somehow gotten past the model issue, now I have an entity being created which falls halfway through the floor. Can anyone looking at the following code see my flaw? The following excerpt uses some code from the sh_beyonder script and some code from a previous thread by JJkiller. I tried _solid and _movetype settings from the beyonder script but they did not work, the entity didn't show up at all when I used those settings.
Code:
I will accept your pity for anyone that can point me to my error and help me fix this. Thank you, Mugwump |
I went through this same ordeal, I think the entity code in CSDM works fairly well, so you might want to take a look there for the properties it sets.
Some things I discovered, you can't make a random create_entity() class, I usually do "info_target" and then set a random classname string... depending on the create_entity class you choose WEIRD things can happen. For example, creating "weaponbox" would crash after a while. Also, I also had trouble with entities falling beneath the world, but _only_ when they were placed in corners. CSDM contains a command to plop things down, and when you use it in tight spaces, the item will just sink away. Strange. |
Thank you BAILOPAN, I have grabbed a copy of CSDM and will look through it, I appreciate your help!
EDIT: One of the things that immediately struck me is that I was trying to create_entity("info target") instead of create_entity("info_target"), I'm ready for glasses ... :) Mugwump |
| All times are GMT -4. The time now is 14:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.