Page 1 of 1

MODELDEF case sensitive?

Posted: Fri Aug 15, 2014 12:28
by Enjay
Git Build from August 3rd.

Not sure if this is actually a bug but worth reporting just in case:

When my DECORATE had

Code: Select all

    MODE A 2
    MODE B 2 A_Pain
    MODE C 2
But, due to a typo, my modeldef had

Code: Select all

	FrameIndex MODE A 0 0
	FrameIndex MODe B 0 1
	FrameIndex MODE C 0 2
(note the second line)

I got:
Script error, "modeldef.pk3:modeldef.worker.txt" line 372:
Unknown sprite MODe in model definition for Worker
Changing the MODELDEF to

Code: Select all

	FrameIndex MODE A 0 0
	FrameIndex MODE B 0 1
	FrameIndex MODE C 0 2
Makes the error message go away and the model works.

Re: MODELDEF case sensitive?

Posted: Sun Sep 21, 2014 8:22
by Graf Zahl
You were correct, there was a case sensitive string compare in there, which of course is wrong.