ZScript "Standard Library" - Brainstorming

Post your example zscripts/ACS scripts/etc here.

Re: ZScript "Standard Library" - Brainstorming

Postby Rachael » Mon Jan 30, 2017 3:05 pm

So who's opening the HOERS repository? I was going to do it myself as an organization and just add a few people as admins, and then you guys can add in contributors as you please. I think it would be nice to have a kind of "official unofficial" extra for modders to be able to include into their projects.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: ZScript "Standard Library" - Brainstorming

Postby Xaser » Mon Jan 30, 2017 3:44 pm

If you're up for opening it and giving it a quasi-official blessing, that'd be fantastic. :)

If by "organization" you indeed mean a GitHub organization (with potentially multiple repositories), this ain't a bad idea. I can already see a few distinct categories of "zscript libraries" that could exist:
  • "HOERS", or, "ZBoost", or whatever we decide to call the "standard library." Good design and high quality-control mandatory.
  • A big Example Wad(tm) of in-game implementations of the above.
  • Specialized libraries; e.g. if someone hypothetically remade Zeta-Windows in ZScript.

If we're indeed gonna go the "HOERS" route, a less word-salad-y bacronym would be "Handy Open Example Repository for Scripts".

Alternatively, "Hamish's Open Example Repository for Scripts" -- Hamish being the name of the horse, of course.
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Re: ZScript "Standard Library" - Brainstorming

Postby Rachael » Mon Jan 30, 2017 4:08 pm

I like the Hamish idea. :) And yeah, cleaning up the "word salad" really is nice. I was half asleep when I made that.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: ZScript "Standard Library" - Brainstorming

Postby Xaser » Mon Jan 30, 2017 4:29 pm

I'm really tempted to ping Kurashiki for some artwork for this, because the image of a cutesy Doomguy prancing around on a derpy horse is impossible to un-think. :P
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Re: ZScript "Standard Library" - Brainstorming

Postby Major Cooke » Mon Jan 30, 2017 4:41 pm

Fuck yes we need that! :mrgreen:

And to all you 'neigh' sayers... AH SCREW YOU, THIS SHIT IS FUNNY.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: ZScript "Standard Library" - Brainstorming

Postby Gez » Mon Jan 30, 2017 5:07 pm

Xaser wrote:If you're up for opening it and giving it a quasi-official blessing, that'd be fantastic. :)

If by "organization" you indeed mean a GitHub organization (with potentially multiple repositories), this ain't a bad idea. I can already see a few distinct categories of "zscript libraries" that could exist:
  • "HOERS", or, "ZBoost", or whatever we decide to call the "standard library." Good design and high quality-control mandatory.
  • A big Example Wad(tm) of in-game implementations of the above.
  • Specialized libraries; e.g. if someone hypothetically remade Zeta-Windows in ZScript.


I'd suggest a division like this:

  • the Handy Open Example Repository SYSTEM would contain specialized stuff. Things that show how certain complex effects can be obtained.
  • the Standard ZScript Library would contain a small number of generic functions that can be useful for pretty much any project.
  • the Demonstration & Example Repository Project would have ready-to-test examples using stuff from SZL and HOERS.
Gez
 
 
 
Joined: 06 Jul 2007

Re: ZScript "Standard Library" - Brainstorming

Postby Major Cooke » Mon Jan 30, 2017 5:52 pm

Helping Others [with] Effective Real Scripting by ZZYZX still seems best IMO.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: ZScript "Standard Library" - Brainstorming

Postby Xaser » Mon Jan 30, 2017 6:06 pm

Gez wrote:I'd suggest a division like this:

  • the Handy Open Example Repository SYSTEM would contain specialized stuff. Things that show how certain complex effects can be obtained.
  • the Standard ZScript Library would contain a small number of generic functions that can be useful for pretty much any project.
  • the Demonstration & Example Repository Project would have ready-to-test examples using stuff from SZL and HOERS.

Welp. Sold. :P

[On a quasi-related note, I need to figure out how to name a future project "WELP" now...]
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Re: ZScript "Standard Library" - Brainstorming

Postby Major Cooke » Mon Jan 30, 2017 6:18 pm

HOERS, SZL and DERP.

Fan fucking tastic. :D
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: ZScript "Standard Library" - Brainstorming

Postby Rachael » Mon Jan 30, 2017 6:18 pm

Xaser wrote:[On a quasi-related note, I need to figure out how to name a future project "WELP" now...]
What Ever Looks Pretty - could be a graphics/SFX library. :P
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: ZScript "Standard Library" - Brainstorming

Postby ZZYZX » Mon Jan 30, 2017 7:29 pm

We desperately need a portal-aware CheckSight.
Wonder if this belongs to this library or the engine now :)

Since we can already kind of iterate sectors recursively in a way suitable for portals. It'd be slow AF though, simply because VM.
User avatar
ZZYZX
le chat du rabbin
 
 
 
Joined: 14 Oct 2012
Location: Ukraine
Discord: ZZYZX#1394
Github ID: jewalky

Re: ZScript "Standard Library" - Brainstorming

Postby Major Cooke » Mon Jan 30, 2017 8:28 pm

While we could get away with dumber things for DECORATE, zscript is a lot more prone to fuck-youing everyone who makes the slightest slip-up or relies upon notorious hackery that Graf has broken for the sake of progress (and I agree with). So for now, maybe best to wait on that until something better can come along, ZZYZX.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: ZScript "Standard Library" - Brainstorming

Postby Nash » Tue Jan 31, 2017 12:11 am

I'm going to be that unpopular guy and say I like ZBoost more, actually. It sounds more professional.

But I'll roll with the collective. Anything's fine, as long as the code will be of high quality. :D
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: ZScript "Standard Library" - Brainstorming

Postby ZZYZX » Tue Jan 31, 2017 12:30 am

ZBoost refers to the C++ Boost library. C++ Boost library is the worst thing ever, mainly because it stretches compile times from minutes to hours thanks to template abusing.
I wouldn't call something good Boost.
User avatar
ZZYZX
le chat du rabbin
 
 
 
Joined: 14 Oct 2012
Location: Ukraine
Discord: ZZYZX#1394
Github ID: jewalky

Re: ZScript "Standard Library" - Brainstorming

Postby Rachael » Tue Jan 31, 2017 1:22 am

Well - if the name is already in use for a project with that kind of reputation - I will say I definitely would not consider it.

Although this project is so full of naming puns at this point, it's going to be a toss up seeing which ones stick.

Speaking of puns ... Pretty Useful Next-gen Stuff
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

PreviousNext

Return to Script Library

Who is online

Users browsing this forum: No registered users and 0 guests