-
-
Notifications
You must be signed in to change notification settings - Fork 8
DEV ACS Map APIs
- Script 3000 - Door Unlocker
- Script 3001 - Door Closed
- Script 3002 - Generic Door
- Script 3003 - Secret Door
- Script 3004 - Give Automap
- Script 3005 - WIP Level
- Script 3006 - Jammed Door
- Script 3007 - Door Locker
- Script 3008 - Earth Quake
- Script 3009 - Damage Character
- Script 3010 - Colorful Door
- Script 3011 - Teleport
The Map APIs contains in the acs/mapapis.acs
file.
Opens the specified door (change action to Script 3002 and change texture to opened).
Script 3000 (int line_front, int line_back = 0, bool nosound = false) // Door Unlocker
- line_front - Id of the door's front line
- line_front - Id of the door's back line. If you're using the same textures (mirrored by scale -1), you should set this argument to 0.
- nosound - Don't play the "Access granted" sound
Note! If the door is mirrored while executing this script, swap the door_front and door_back values.
Display "Door closed!" text and play "Access denied" sound.
Script 3001 (void) // Door Closed
Generic door with default DRRP open parameters.
Script 3002 (int sectorid = 0) // Generic Door
- sectorid - Id of the door's sector (use 0 to open activator's sector)
Secret door with default DRRP open parameters.
Script 3003 (int sectorid = 0) // Secret Door
- sectorid - Id of the door's sector (use 0 to open activator's sector)
Give automap
Script 3004 (void) // Give Automap
Display message
Warning!
This level is under construction!
Part of the functionality may not work correctly, or not work at all!
Script 3005 (void) // WIP Level
Can be open by DRRPAxe
Script 3006 (void) // Jammed Door
Opens the specified door (change action to Script 3002 and change texture to opened).
Script 3007 (int line_front, int line_back = 0) // Door Locker
- line_front - Id of the door's front line
- line_back - Id of the door's back line. If you're using the same textures (mirrored by scale -1), you should set this argument to 0.
Note! If the door is mirrored while executing this script, swap the door_front and the door_back values.
Doom RPG-compatible earth quake script.
Script 3008 (int time, int intensivity) // Earth Quake
- time - Time to quake (in Doom RPG time units)
- intensivity - Intensivity of quake (in Doom RPG intensivity units) [0; 12]
Damage or kill DRRPCharacter. Includes blood splashes, screen flash and pain/death sound.
Script 3009 (int tid, bool fatal) // Damage Character
- tid - Tid of the character
- fatal - Damage (0) or kill (1) the character
Key-locked colorful doors API.
Script 3010 (int sectorid = 0, int keyid, bool mute = 0) // Colorful Door
- sectorid - Id of the door's sector (use 0 to open activator's sector).
- keyid - Id of the DRRP....Card. You can find the list below.
- mute - If equals 1 - disable voice message and it's delay before open the door.
Key IDs:
- 1 - DRRPRedCard
- 2 - DRRPBlueCard
- 3 - DRRPYellowCard
- 7 - DRRPGreenCard
Doom RPG-like teleport to coordinates with the teleport particles.
Script 3011 (fixed x, fixed y, int direction = 0) // DRPG Teleport
- x - X coordinate
- y - Y coordinate
- direction - Direction // Not implemented yet
Note This script not fully implemented yet