Page 1 of 2

Animal giraffa

Posted: 22 Nov 2020, 20:55
by Gonzalo
Hi, now I have problem with my new unit giraffa. Model is somehow weird, but that I know how to repair. What I can't resolve by myself is that when dead the model appears floating on the air. I have tried by putting downwards the skeleton or to the right (for it falls to the left), but still the model appears floating. Thanks for help...

Giraffa.zip
(8.99 MiB) Downloaded 125 times

Re: Animal giraffa

Posted: 05 Dec 2020, 12:03
by Gonzalo
Animals.ddf, I have changed extension to txt so as to be able to attach:

animals.txt
(154.24 KiB) Downloaded 134 times

Re: Animal giraffa

Posted: 05 Dec 2020, 12:07
by Dr.MonaLisa
Is "DeadAnimalGiraffa" defined in dbanimal.ddf file?

Re: Animal giraffa

Posted: 05 Dec 2020, 12:43
by Gonzalo
Yes it's defined
dbanimal.txt
(18.56 KiB) Downloaded 138 times

Re: Animal giraffa

Posted: 05 Dec 2020, 13:30
by Dr.MonaLisa
What if you modify things under: UnitModel DeadAnimalGiraffa

Code: Select all

UIRenderingParams {
		xOffset = -1.05
		yOffset = 5.79
		zOffset = 2.63
		scale = 1.53
		angle = 56.84
		rotationSpeed = 0.00
		pitch = 10.01
		lightAngle = 30.00
		lightPitch = 90.00
		lightDiffuse = [50 50 45 255]
		lightSpecular = [0 0 0 255]
		lightAmbient = [40 40 40 255]
	}
Maybe remove everything below "scale" and see if it helps?

Re: Animal giraffa

Posted: 05 Dec 2020, 14:01
by Gonzalo
Yes thank you!!

Re: Animal giraffa

Posted: 05 Dec 2020, 14:17
by Dr.MonaLisa
Any reason why you're not trying to fix such problems before creating forum topics? It should be detected pretty quick, especially when some text in unit type says "rotation"...

Re: Animal giraffa

Posted: 05 Dec 2020, 16:36
by Gonzalo
Because I removed all "renderings" stuff and the problem subsists...

Re: Animal giraffa

Posted: 05 Dec 2020, 22:18
by Dr.MonaLisa
Your previous post sounded like it works already...

Try to put a different .nif as a dead animal model, and see what happens.
If it stops bugging, then the problem is in .nif file itself.

Re: Animal giraffa

Posted: 06 Dec 2020, 11:20
by Gonzalo
Problem solved!! I reshaped the model at blender...