Spawn image on the screen - Solved -

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Spawn image on the screen - Solved -

Post by Niphura »

So basically what i want to do is spawn an image on the screen when a custom missile hits the player to accomplish this effect https://scontent.fpra1-1.fna.fbcdn.net/ ... e=5C14AC22
Last edited by Niphura on Sat Dec 15, 2018 12:23 pm, edited 3 times in total.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Help to spawn image on the screen

Post by Enjay »

User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Re: Help to spawn image on the screen

Post by Niphura »

Yeah, but i wanted to know how to spawn it when you step on a texture to manage something like this: https://scontent.fpra1-1.fna.fbcdn.net/ ... e=5C14AC22
that image it's from Project Brutality.
what i know is that there is a line (Watersplasherz) in a section called "watersplash" in the decorate file of the player that gives an object to the player to check if he is stepping on the texture, if so, this gives an object (Wateronvisor) to execute an acs file called "WSPLASH". This acs file spawns the images on the screen. I've put all the corresponding graphics, cvar, new player lines in a pk3 file but it doesn't seem to work.
Last edited by Niphura on Mon Oct 01, 2018 6:18 am, edited 1 time in total.
User avatar
R4L
Global Moderator
Posts: 404
Joined: Fri Mar 03, 2017 9:53 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11 Pro
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: Help to spawn image on the screen

Post by R4L »

Are you activating the script when Player walks over a certain linedef?
User avatar
Niphura
Posts: 192
Joined: Fri Jun 16, 2017 3:07 pm
Location: Argentina

Re: Help to spawn image on the screen

Post by Niphura »

I've taken some things from ghoul forest 3 (specifically, the part when the ghoul attack the player and it appears on the screen) but I don't know if this things can help me, I mean, I do not know how to use them.

Here is the file: http://www.mediafire.com/file/5oga02qf9 ... n.pk3/file

This is the last effect that i need to add to my mod
Post Reply

Return to “Scripting”