Dialogues using ACS instead of Strife scripts

Archive of the old editing forum
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.
Locked
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Dialogues using ACS instead of Strife scripts

Post by Nash »

This wad shows how you can go about creating NPCs that you can talk to, but instead of using Strife's dialogue system, it calls an ACS script.

So you can basically implement your own custom ACS dialogues. I left that part out though; what I have here is just the bare bones of how you can start doing one.

I guess I'll tackle a proper ACS dialogue tomorrow. I'm off to bed already.

WARNING: Uses a lot of shitty hacks. It's messy but it's the only way to do this with the current implementation.

EDIT: Link removed because my webhost is screwed up. Please scroll down to see attached file.

(Note: this is different from the file I posted in the Features Suggestions forum)
Last edited by Nash on Tue Jul 25, 2006 10:05 am, edited 1 time in total.
User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Re: Dialogues using ACS instead of Strife scripts

Post by solarsnowfall »

Nash wrote:WARNING: Uses a lot of shitty hacks. It's messy but it's the only way to do this with the current implementation.
I'm sure there are many ways to go about this, I've come up with one or two myself. Even if it wasn't, as you say, messy and shitty, I personally found that in the end, it was best to use the native system that is already in place for dialogue. It's certainly hack free.
This link not working for anybody else?
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

None of the links to any of the files on my webspace are working.

I guess you can try again a few hours later. Something's wrong with the server.

EDIT: Regarding shitty hacks:

Well, the only way to make this work with moving actors is to exploit UsePuzzleItem. The problem with this special is that it only happens once, and it can happen when you kill the thing attached to the special.

What I did was give the things the special in their Spawn state, and remove that special when they're in pain or they die. It's not perfect; sometimes the "You can't use this here" error will slip by so what I did was I edited the LANGUAGE lump to blank that message.

It's really messy...

I agree that the built-in Strife dialogue system is the easiest, but there are some small things that can't be changed in the system that are enough to make me want to use my own script instead.
User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Post by solarsnowfall »

That must have been a short nap. ;)
User avatar
Jimmy
 
 
Posts: 4726
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Post by Jimmy »

I'm getting an internal server error as well.
User avatar
Cutmanmike
Posts: 11351
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Fix it. I might use it since I have a lot of trouble understanding strife's system.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Then try to understand it instead of resorting to hacks that need awful tricks to work at all. :P
User avatar
Cutmanmike
Posts: 11351
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

How awful? *is at work*

I just can't seem to figure out how to link stuff, just doesn't look right. But I don't need either just yet.
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

Well, it can be totally horrendous and a massive pile of difficult to understand code, but that's jsut for me :P
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

I have to admit that Strife scripts aren't as readily readable and easy to grasp as, say, DECORATE. But yes, using it to make dialogues is less of a headache (once you get past the learning stages).

My grips with the Strife system though are:

1) Inability to completely remove "Goodbye!". There are some situations where I'd prefer the player not to be able to bail out of. With the Goodbye choice, the player can completely avoid answering a question which can be unrealistic for certain dialogue situations.

2) Inability to use a custom font. I hate the uppercase font. I have made some nice upper+lowercase fonts but they're only accesible throuhg ACS.

3) Not customizable enough - stuff like text colours, positioning, etc. This is trivial but still...

4) No dynamic text since it's a compiled script.

I'm not beating Strife scripts - I still love it, but it has its uses and unfortunately for a certain project of mine, it just doesn't cut it.

Regarding server problems - I'm still waiting for my web hoster to sort the problem out...

EDIT: Server's totally foobared. Even deleted files in the FTP can be downloaded. I can't get a hold of the guy hosting me though... :/
User avatar
Nmn
Posts: 4631
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

Your server fails it hard. Can't you use mooload or 1asphost?
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

NMN - Real hard.

I hope there's enough space to attach this...
Attachments
use_actor2.zip
(1.61 KiB) Downloaded 60 times
Locked

Return to “Editing (Archive)”