Jump to content
  • 0

Making Forcefields in GZDoom (Doom 2 UDMF)


Question

Posted (edited)

Hello again, sorry for the constant posts, I have another question, this time regarding making force fields in Ultimate Doom Builder using GZDoom (Doom 2 UDMF). So I have linedef set up to be the laser forcefield and I want it to get turned off by shooting the switch. For some reason I still cannot walk through the forcefield. Not really sure what I am doing wrong here. Also, are there any tutorials on how to create a forcefield in GZDoom (Doom 2 UDMF)? I wasn't able to find any on Youtube.

 

The forcefield laser

zLVySbe.png

 

The switch to turn off the laser.

vevEEAm.png

Edited by Lizardcommando

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Not sure how it's done through line actions, but you could set the line to run a script like this:
 

script "ForceFieldDown" (void)
{
	Line_SetBlocking(line_tag, 0 , 6);  //removes player and monster block
	SetLineTexture(line_tag, LINE_FRONT, TEXTURE_MIDDLE, "-");  //removes the middle textures
	SetLineTexture(line_tag, LINE_BACK, TEXTURE_MIDDLE, "-");
}

 

Share this post


Link to post
  • 0
Posted (edited)

Looks like Rifleman has you covered with an ACS script.

 

Other than that you can use a wall that is transparent or texture similar to glass and have the wall fast slide up or down in the same vein as a normal door.

The use of invisible walls as windows goes clear back to Doom 1 and Doom 2 in both Map01 and e1m1. 

FreeDoom Phase 2 has a Glass style mostly transparent texture that is used in compatibility with TNT iirc. 

Edited by kalensar

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...