August 2025
-
Add userdef quote_yoffset
Show details
Allows adjustable Y-offset for in-game quotes from CON. Input expects higher precision coordinates similar to rotatesprite16.
July 2025
-
Add EVENT_OPERATEACTIVATORS
Show details
EVENT_OPERATEACTIVATORS is run against each STAT_ACTIVATOR with a matching lotag when a typical Duke3D button/touchplate is triggered. Current sprite will be stored in THISACTOR and setting RETURN -1 will skip the normal processing of any remaining activator logic. This does not work with Masterswitches as they use a completely different logic instead.
- Fixes
- terminx/eduke32#323
March 2025
-
General
Implement `includeoptional` in Mapster32's CON parsing
February 2025
-
General
Add "includeoptional" CON token, that doesn't error out if the included file is absent.
June 2024
October 2023
-
support sensible conversions between gamearray types when loading savegames
-
add .ang member for walls in CON
-
allow the user to choose whether to continue with internal scripts once bad CON files are encountered in their game directory
-
use internal CONs if external CON compilation fails, like the DOS version did.
Show details
I see now that Todd was actually very wise.
-
fix a rare input issue involving creating savegames while the CON script execution is lagging
-
detect invalid .sectnum and .statnum with setactor
-
fix bug in CON EVENT_SCREEN where keypresses weren't being cleared between loop iterations, preventing animations where each keypress skips a segment without bailing out of the whole thing
September 2023
August 2023
-
Give EVENT_POSTWEAPONSHOOT the return value of A_Shoot.
-
Port EVENT_PREWEAPONSHOOT and EVENT_POSTWEAPONSHOOT from NetDuke32.
Show details
* Setting RETURN to non-zero in EVENT_PREWEAPONSHOOT cancels the shot.
-
Add warning when `terminate` found outside state or event
-
Add warning when `break` found inside loop (and not inside `switch`)
-
Add terminate
Show details
- Co-authored by
- Jordon Moss
-
Add exit and continue
-
Add prependstate and appendstate
Show details
- Co-authored by
- Evan Ramos
-
Internal cosmetic cleanup
-
General
CON/VM: Remove VM_NOEXECUTE as redundant to VM_RETURN
July 2023
-
General
Duke3D/Editor: Add "whilevare" CON command
Show details
Also fix editor checking for "else" tokens on whilevarl.
June 2023
-
General
weapons.sample.con: Implement EVENT_DISPLAYTIP and EVENT_DISPLAYACCESS
-
General
weapons.sample.con: Fix knuckle shade and position
-
General
weapons.sample.con: Replace "ifand N xor N" with "and -N-1"
-
General
weapons.sample.con: Make use of scalevar where appropriate
-
General
weapons.sample.con: Replace multiplications by -1 with inv and abs
-
General
weapons.sample.con: Replace "[THISACTOR]" with "[]"
-
General
weapons.sample.con: Replace "var" and "varvar" tokens with short forms
-
General
weapons.sample.con: Implement EVENT_DISPLAYKNUCKLES
-
General
weapons.sample.con: Implement Incinerator
May 2023
April 2023
-
add an EVENT_INIT that fires once per explicit `include` of a script filename from the console (including from within m32_autoexec.cfg)
April 2022
-
Introduce actor event 'EVENT_PREACTORDAMAGE'
Show details
This event is executed when an actor runs A_IncurDamage(), and is placed just before subtracting 'htextra' from 'extra' and updating the actor's owner (i.e. just before damage is applied to the actor). For useractors, this normally occurs when ifhitweapon is called. Set RETURN to a nonzero value to skip applying the damage. This will also cause the 'ifhitweapon' conditional to skip the branch. Note that doing so will not automatically reset htextra to 0.
-
Print script name and line if gamevar/struct index error occurs
March 2022
-
improve CON VM debug dump output
Show details
Replaces more or less useless offsets from script pointer with filename and line number and consolidates parameters passed to CON commands into the same line in the output.
-
add debug vm_preempt cvar to control CON VM preemption by frame drawing
Show details
This doesn't save to the .cfg because it's a tool for debugging and is not intended to be used as a user preference.
-
add projectile flags to CON default definitions
-
disallow drawing frames between EVENT_PREGAME iterations
-
stupid CON VM optimizations
Show details
Replaces VM_ASSERT macro with new VM_ABORT_IF macro, ~1-2% perf increase in real world tests using heavy scripts (Ion Fury)
February 2022
-
Restore the CON commands 'getmusicpos' and 'setmusicpos'
January 2022
-
cool CON optimization
December 2021
-
Fix an error with the bonus tile, and extend EVENT_GETBONUSTILE
Show details
Within EVENT_GETBONUSTILE, you can now set ud.return[0] to ud.return[4] to change each frame of the bonus screen animation separately.
-
Add event EVENT_GETBONUSTILE to change bonus screen pic
Show details
The RETURN value will be set to the current base bonusscreen tile, and changing it will change the tiles displayed in the bonusscreen.
-
Only attempt to switch subweapon if we actually have the weapon
Show details
This fixes a bug in World Tour where trying to switch to the flamethrower while the current weapon is the freezer, and you have flamethrower ammo but not the actual weapon itself, then this instead locks the weapon key, preventing you from switching back to the freezer from other weapons. This bug also affected the Shrinker, but only if CON code changes the 'gotweapon 11' value to 0 after the player obtains the weapon.