1.0.22

News about GZDoom.

Moderator: Graf Zahl

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

1.0.22

Post 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.
User avatar
Alter
Posts: 851
Joined: Wed Oct 05, 2005 8:55
Location: Poland, Lodz

Post by Alter »

Thanks graf you rule with randy here and on zdoom forums :D whew finally i can use proper 2.1.7 code of dreadnought
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post 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. ;(
darmuss
Posts: 6
Joined: Wed Sep 14, 2005 16:05

Post by darmuss »

the patch you made for Caverns of darkness, cod-zd.pk3 makes gzdoom crash now.

Script error "Mapinfo" line 6
Bad syntax
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I know. I'll have to re-release it because some internal things have been changed.
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell
Contact:

Post by TheDarkArchon »

Does this include custom damage types as well?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Yes. They were part of the custom state package.
This is based on the very latest ZDoom code.
User avatar
Bouncy
Posts: 34
Joined: Fri Dec 02, 2005 8:29
Location: Somewhere in an arctic region. wait. no. just Michigan.

Post 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.
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post 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?
User avatar
Bouncy
Posts: 34
Joined: Fri Dec 02, 2005 8:29
Location: Somewhere in an arctic region. wait. no. just Michigan.

Post 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. :(
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell
Contact:

Post by TheDarkArchon »

tda-znew.wad also works for me.
User avatar
Bouncy
Posts: 34
Joined: Fri Dec 02, 2005 8:29
Location: Somewhere in an arctic region. wait. no. just Michigan.

Post 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"
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
User avatar
Bouncy
Posts: 34
Joined: Fri Dec 02, 2005 8:29
Location: Somewhere in an arctic region. wait. no. just Michigan.

Post 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.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post 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.
Locked

Return to “News”