DECtoZSC - Patch 1.1 - Basic DECORATE to ZScript converter

Any utility that assists in the creation of mods, assets, etc, go here.

Re: DECtoZSC - Patch 1.1 - Basic DECORATE to ZScript convert

Postby RockstarRaccoon » Wed Feb 20, 2019 2:49 am

Major Cooke wrote:adding semi-colons to the end of everything
Well, you literally just described the kinds of things I made it to handle in the first place. :P

And by that, I mean the original project here just went through every line and gave it a semicolon if it didn't already have something like a bracket precluding that. It's just a time saver when you are trying to take a bunch of DECORATE and turn it into ZScript, made because that was something I was doing a lot of at the time.
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016

Re: DECtoZSC - Patch 1.1 - Basic DECORATE to ZScript convert

Postby Major Cooke » Wed Feb 20, 2019 9:38 am

Of course I figured that was already done, but I am curious about how you plan on handling A_SetUserVar/Array.
User avatar
Major Cooke
The road to Hell is paved in the carrion she leaves behind.
 
Joined: 28 Jan 2007

Re: DECtoZSC - Patch 1.1 - Basic DECORATE to ZScript convert

Postby RockstarRaccoon » Wed Feb 20, 2019 2:14 pm

Major Cooke wrote:I am curious about how you plan on handling A_SetUserVar/Array.

Honestly, if it hasn't been handled already, I don't have any plans on going back and handling it. This was just a quick little program I threw together to simplify the process when ZScript first came out, simply because I had a lot of code that needed to be converted. My method was this was just having it do the bulk of the work for me, and then trying to get GZDoom to load it over and over and using the bug reports to fix things. The things which came up in the bug Reports most often are the things which I focused on fixing.

If you want, you're welcome to download the Java code and write in a change, or simply make another one that converts the DECORATE into an intermediary data structure and then outputs correct ZScript. As it stands though, this pretty much does 95% of the work for you, so I'd say it's a great time saver as is.

At this point, I've kind of abandoned this project, as it does what I wanted it to, and I don't have the time (lots of paid work right now) or active interest in GZDoom to make things for it. If I did, I'd probably be screwing around with the game code again, like with the automap changes I made...
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016

Previous

Return to Editors / Asset Manipulation

Who is online

Users browsing this forum: No registered users and 1 guest