Hi
I got a problem here. I'm planning to create a total conversation, in an isolated folder, nice and clean.
So far so good, everything works how it should, with some starting problems that I already solved myself.
I added the "DigiByteFlashLight" and thought it was a great addition to the game, if I include the model into the isolated folder there isn't even anything replaced. Cool. The flashlight is actually working ... so no problem here.
If I place the lantern on the ground it still looks like the standard lantern from the game, but if I pick it up I have the modded flashlight. I think that's not yet acceptable. I want the flashlight to look like it even if it's lying on the ground.
So I opened the provided entity from "DigiByteFlashLight" in the model editor.
- I created a shape that fits the flashlight well enough and created a body from it
- I attached the two lights, the billboard, the particle effect and the sub mesh, so in other words everything
-
I tested the flashlight in the model editor, and the physics are working pretty good, no problem
-
BUT ... if I place the new flashlight entity in my map and try to load it, the game crashes
Attached files:
- zip file with the flashlight files, the file "flashlight_hand.ent" is the entity I changed and attached a body to
- error log ( pretty unclear XD )
- hpl.log
I would appreciate if somebody could help me
.
EDIT:
Well, I got it working now
.
Apparently I just had to set some userdefined variables for the entity ( I changed it to "Item" and left the Sub Item "Puzzle" ).
The only problem that is left now is that the flashlight seems to fly away with the speed of light if I accidently walk over it XD. So, something with the physics seems to be a bit oversensitive. Is it possible to deactive physical interaction with the player? >_>