Page 1 of 3
1.0.22
Posted: Mon Jan 01, 2007 12:05
by Graf Zahl
Even though ZDoom hasn't been updated in 2 months I decided to release a new version to celebrate the new year.
This new version contains all the custom state stuff ZDoom users have been waiting for.
An important note:
Due to the recent rewrite of ZDoom's startup code it is currently not possible to switch the renderer inside the game. I have yet to figure out why it doesn't work anymore. In order to prevent crashes I had to disable the feature for the time being.
Posted: Mon Jan 01, 2007 12:12
by Alter
Thanks graf you rule with randy here and on zdoom forums

whew finally i can use proper 2.1.7 code of dreadnought
Posted: Mon Jan 01, 2007 13:55
by Nash
Thank you for the new version. Unfortunately I have lost interest in my GZDoom project, and with my recording studio undergoing a relocation process, I doubt I will have any more time to work with my GZDoom game. ;(
Posted: Mon Jan 01, 2007 15:24
by darmuss
the patch you made for Caverns of darkness, cod-zd.pk3 makes gzdoom crash now.
Script error "Mapinfo" line 6
Bad syntax
Posted: Mon Jan 01, 2007 16:01
by Graf Zahl
I know. I'll have to re-release it because some internal things have been changed.
Posted: Mon Jan 01, 2007 18:43
by TheDarkArchon
Does this include custom damage types as well?
Posted: Mon Jan 01, 2007 19:08
by Graf Zahl
Yes. They were part of the custom state package.
This is based on the very latest ZDoom code.
Posted: Mon Jan 01, 2007 21:41
by Bouncy
Well, i'm not pleased at all.
I had to downgrade back to 1.0.21 because 1.0.22 complained about A_CustomMissile. (I had used Random on the angle and it didn't like it)
Then, to make matters worse, when i removed the random and made the angle 0,
it complains about a later part of decorate code, saying sprite names can only be 4 in length.
I check that line..and guess what? it's only 4!
works fine in 1.0.21 without problems, but 1.0.22 hates it.
goddamn it.
Posted: Mon Jan 01, 2007 21:52
by wildweasel
I used random angles extensively in ww-diaz, and that wad still loads just fine in 1.0.22. Maybe you're forgetting a quote mark or comma someplace?
Posted: Mon Jan 01, 2007 21:54
by Bouncy
checked. nope. all there. and, if there was one missing, wouldn't 1.0.21 complain about that too? only 1.0.22 complains about it.
that, and it doesn't explain the other problem I mentioned. ("it complains about a later part of decorate code, saying sprite names can only be 4 in length.
I check that line..and guess what? it's only 4! ")
I even double checked. ALL the lines have 4 and work properly, not to mention the fact that if this was an actual issue, 1.0.21 would've complained about it too. so why does only 1.0.22 complain about it?
THAT really ticks me off.

Posted: Mon Jan 01, 2007 21:59
by TheDarkArchon
tda-znew.wad also works for me.
Posted: Mon Jan 01, 2007 22:00
by Bouncy
well, for some reason, my project complains like all hell.
but it's the fact it works in previous versions but not in THIS one that confuses me.
the errors, more specifically
"Script Error, DECORATE line 226:
Unexpected token string constant "-10""
and
"Script Error, Decorate line 227:
Sprite names must be exactly 4 characters"
Posted: Mon Jan 01, 2007 22:14
by Graf Zahl
You apparently have some problematic code in your WAD that somehow got through the old parser but not through the new one. There have been some changes for custom state labels.
But without posting your code nobody will be able to help you.
Posted: Mon Jan 01, 2007 22:25
by Bouncy
True.
Code: Select all
Missile:
LITS A 2 A_FaceTarget
LITS E 2 BRIGHT A_CustomMissile("WeakImpBall",24,-18,Random("-10","10"),Random("-10","10"),1)
LITS A 2 BRIGHT
LITS E 1 BRIGHT A_CustomMissile("WeakImpBall",24,-18,Random("-8","8"),Random("-8","8"),1)
LITS A 1 BRIGHT
LITS E 1 BRIGHT A_CustomMissile("WeakImpBall",24,-18,Random("-6","6"),Random("-6","6"),1)
LITS A 1 BRIGHT
LITS E 1 BRIGHT A_CustomMissile("WeakImpBall",24,-18,Random("-4","4"),Random("-4","4"),1)
LITS A 1 BRIGHT
LITS E 1 BRIGHT A_CustomMissile("WeakImpBall",24,-18,Random("-2","2"),Random("-2","2"),1)
LITS A 1 BRIGHT
LITS E 1 BRIGHT A_CustomMissile("WeakImpBall",24,-18,Random("-1","1"),Random("-1","1"),1)
LITS A 1 BRIGHT
LITS E 1 BRIGHT A_CustomMissile("WeakImpBall",24,-18,0,0,1)
LITS A 1 BRIGHT
Goto See
This is the state where the coding in question is complained about.
It's basically meant to be an attack that shoots hordes of weak projectiles in random directions.
Posted: Mon Jan 01, 2007 22:38
by Graf Zahl
Remove the quotation marks from your numbers and try again. The parser has changed somewhat and will no longer recognize numbers that are passed as strings - which is a syntax error to begin with. This won't work with any upcoming ZDoom version, btw.