ACS Prefab Database
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
While working on Kdizd i made an IMO pretty cool color transistion script...
I thought I might share it , so I´m posting the script + demo map here.
It could be better documented, but anyway...
I didn´t read though the whole thread, but I hope something like this haven´t been posted before!
one last note;
best is to test the map (use the script) with GZdoom, because of the color limit in normal Zdoom the effect loses very much of it´s charm!
I thought I might share it , so I´m posting the script + demo map here.
It could be better documented, but anyway...
I didn´t read though the whole thread, but I hope something like this haven´t been posted before!
one last note;
best is to test the map (use the script) with GZdoom, because of the color limit in normal Zdoom the effect loses very much of it´s charm!
- solarsnowfall
- Posts: 1581
- Joined: Thu Jun 30, 2005 1:44 am
That original script I was modifying was one big pile of crap, this I know now. In your case Nash, I think you want to add the radius, and spawn an actor with a light definition, so it can be reduced to something like this.Nash wrote:solar, remember awhile ago you gave me a piece of code that was modified from your chasecam script to attach a dynamic light in front of the player?
When you say that "it's working in 98", does that mean that the script you gave me will be broken for future versions?
Spoiler:Heh. Much better. For smoother motion, instead of spawning the cam and switching to it every tic, use a static cam, and thingmove() it around to the spawned point. You'd want to use a version that supports thing_move with nofog though.
I'm submitting one. It is similar to the doom 2 ending.
Spoiler:
- Attachments
-
ending.zip
- Doom 2 style ending script
- (2 KiB) Downloaded 43 times
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
Also, it doesn't really appear flexible enough to be included in the database. Not enough of the attributes are predefined as strings or variables (i.e. sounds) at the beginning of the script to make importing this into another script easy (if you simply used another string array or two for the sounds you could compress script 1 down quite a bit).
And, of course, no comments means it would be very confusing for any inexperienced modder.
However, I urge you to continue fleshing out this idea and making it fully and easily customisable. We really need a flexible pre-fab for the Doom 2 curtain call, and I know you have some skill in ACS.
Or not, it's really up to you!
I'll reserve my rating on this one for a while.
And, of course, no comments means it would be very confusing for any inexperienced modder.
However, I urge you to continue fleshing out this idea and making it fully and easily customisable. We really need a flexible pre-fab for the Doom 2 curtain call, and I know you have some skill in ACS.
Or not, it's really up to you!

I'll reserve my rating on this one for a while.
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
- Apothem
- Posts: 2070
- Joined: Sat Nov 29, 2003 7:13 pm
- Location: Performing open heart surgery on an ACS compiler.
there is. Have the script read from an array with 2 dimensions of sprite names and max letter animation. Also, I would recommend for the script to take away all the weapons in the inventory and have a line activate on hit with the fist, or staff, in this case. Throw a custom texture in there that's totally black, as I can still see the walls, or something along those lines. I'm pretty sure you can figure out how to get it going, because I know how I could do it, but I'd like to see how you do it first 

Actually, rather than a black room, I think I'd change the font to BOSSBACK or some other fullscreen graphic and then use hudmessage to put it on screen - provided the other stuff could still be printed over the top. I'd take away the players inventory (or as much as possible), put the player in a tiny room with activatable walls, totally freeze the player or if I left him active I might put a skybox silencer in the sector with the player so that you can't hear him grunting and whatever else he's doing in that little box on his own. 
As for arrays, I simply don't know where to start with them. I don't understand them. It's been explained to me a few times but, so far, I don't get it.

As for arrays, I simply don't know where to start with them. I don't understand them. It's been explained to me a few times but, so far, I don't get it.
- Caligari87
- Admin
- Posts: 6230
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
- Tormentor667
- Posts: 13554
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact: