Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
dg93

Scripting Help Needed - Setting Sector Color For Deep Water

Recommended Posts

Hello, I'm currently working on a map in ZDoom (Doom in Hexen Format) that contains some sectors with deep water (lava & blood). I need help on how to write a script to implement sector color (specifically red) underwater.

I know I can easily use a sector actions thing and set the color in a dummy sector. However, using a sector actions thing is only compatible with Zandronum. I want my map to be compatible with ZDaemon and Odamex. The script will work for all three of these multiplayer source ports.

Unfortunately, I no very little on how to write a script in Doombuilder. Any help is appreciated.

Here is the wad I'm working on: http://www.mediafire.com/download/1v6c6y7ovo2g1u2/wih_v8b.wad

Share this post


Link to post

Thanks! I figured it out using this link you provided me with.

I had difficulty at first because I didn't realize that I had to use the tags from the dummy sectors to set the color of the deep water.

#include "zcommon.acs"

script 1 Open
{
Sector_setcolor(18,255,0,0);
}

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
Sign in to follow this  
×