Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Szuran

1. Message during gameplay, 2. Unusual weapon

Question

REUPLOADED FROM THE GENERAL DISCUSSION THREAD - sorry, posted there accidentally, remove that other post.

I have two questions...

 

1. I want to show the title of the chapter when the player opens the first door and then, after 4 seconds, the caption to flow down like the menu screen when you select new game. I assume it could be done with a sector special: walk in, show the title, make it disappear. But I have no idea how to code it. Could you help?

 

2. I want my character to be able to point at a spot and cause an explosion - like death animation of a missile. So I can think of two ways of doing it. Either edit the missile, placing blank PNGs so it's not visible, and make it superfast so the hit is instantenous, or replace shotgun and somehow swap decals for explosion animation. Will any of these approaches work? I am new to this and coding would take me a while, so I'd like to know which is better before I start.

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 0

Ah I see. If you're going vanilla as possible, unfortunately that sort of rules out both of these things, at least if you want them to be done as it sounds like.

 

Vanilla cannot do messages on screen and it can't do new weapons. You can use DeHackEd though to modify existing weapon behavior, but I know nothing about that, only DECORATE. Otherwise you're limited to sprite replacements.

 

So you could make rockets invisible and replace the Rocket Launcher with a hand sprite but 2 problems arise: Cyberdemons would fire invisible rockets too and the rockets would be the same speed as normal. DECORATE (and by extension, ZScript) allows you to do anything you want without needing to replace or change existing stuff.

 

From what little I know, basically DeHackEd "borrows" frames from other things to use to make changes. But as I said, I'm a DeHackEd noob so I might be wrong about something.

Share this post


Link to post
  • 0

1. You can use HudMessage ACS special to do this, but it can't remove the message the same way the menu melts down. You'll have to fade out instead.

https://zdoom.org/wiki/HudMessage

 

2. The only way I know to do that is with an entirely new weapon made in DECORATE that fires extremely fast projectiles that use the explosion sprites in the projectile death state. That is, if you mean like pointing a finger and then an explosion happens, without sacrificing the normal Rocket Launcher.

Share this post


Link to post
  • 0

The first tool will be useful - if it works in Doom 2 config. If not, well, we can't have everything.

 

As for point 2, I'm replacing all the weapons, so yeah, I think I'll take this route. Thank you.

Share this post


Link to post
  • 0
12 hours ago, Szuran said:

The first tool will be useful - if it works in Doom 2 config. If not, well, we can't have everything.

In Doom 2 format maps, you can't use ACS. Only in Hexen or UDMF.

 

But you could do it with an OPEN type script that runs on every map via LOADACS that checks against levelnum or some other identifier to determine which chapter title to print.

 

It wouldn't appear at a specific point on the map but it would work on Doom 2 format provided you are playing in a ZDoom based port.

Share this post


Link to post
  • 0

I'm going as much vanilla as possible. Limiting myself on purpose to not get overwhelmed on the first project. So no chapter title here. Thanks.

Share this post


Link to post
  • 0

I don't intend to use cyberdemons... yet. I'll have to find my way around the problem. I don't know much about DeHackEd. Well... Going away from vanilla just a tiny bit could be admittable. By vanilla I meant mostly gameplay mechanics (no vertical look or jumping) and software rendering.

Edited by Szuran

Share this post


Link to post
  • 0

Sounds like simple DECORATE and no ACS is the way to go for now. You can always feature expand as your knowledge does.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×