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

ACS script acting up. Help?

Question

So I'm making a mod that carries over the gameplay from Quake to Doom 1 & 2, and I was thinking it would be cool to have a few extra visual options, such as a liquid texture replacer. 

I have the script working, It's just that I can't get it to work when I use the "]map" command to change maps, where it just freezes GZDOOM.

Here's the code. Any help is appreciated greatly!

#library "QuakeLiquid"
#include "zcommon.acs"


Script 3333 ENTER
{
if (GetCVar ("QD_LIQUIDS"))
{
	//WATER//
	ReplaceTextures("FWATER1", "QUAKEWAT");
	ReplaceTextures("FWATER2", "QUAKEWAT");
	ReplaceTextures("FWATER3", "QUAKEWAT");
	ReplaceTextures("FWATER4", "QUAKEWAT");
	//SLIME//
	ReplaceTextures("NUKAGE1", "QUAKESLM");
	ReplaceTextures("NUKAGE2", "QUAKESLM");
	ReplaceTextures("NUKAGE3", "QUAKESLM");
	//LAVA//
	ReplaceTextures("LAVA1", "QUAKELAV");
	ReplaceTextures("LAVA2", "QUAKELAV");
	ReplaceTextures("LAVA3", "QUAKELAV");
	ReplaceTextures("LAVA4", "QUAKELAV");
}
else
{
//Fuck
}
}

(edit: Nevermind, there was another actor and it was going into a state that doesnt exist. Nothing is wrong with the script)

Edited by Mengo

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
18 minutes ago, DynamiteKaitorn said:

If you're just replacing textures, wouldn't simply swapping the flat textures themselves suffice?

He edited his message to reflect that there's actually no problem with the script.

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
×