Project

General

Profile

Feature #2375

Doomsday Script enhancements for 2.3

Added by skyjake 7 months ago. Updated 11 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Enhancement
Target version:
Start date:
2019-12-22
% Done:

60%

Tags:

Description

The following Doomsday Script bindings, classes, and functions have been added:
  • App.getInteger()
  • App.setInteger()
  • App.NETGAME and other constants equivalent to the DD_* value enums in dd_share.h
  • App.Player.giveArmor()
  • App.Player.setLocalQuake()
  • App.Player.shotAmmo()
  • Game.rules()
  • Math.cos()
  • Math.sin()
  • Math.tan()
  • Math.randNum()
  • World.spawnThing()
  • World.Thing.addMom()
  • World.Thing.changeFlags()
  • World.Thing.dropItem()
  • World.Thing.flags()
  • World.Thing.height()
  • World.Thing.info()
  • World.Thing.mom()
  • World.Thing.pos()
  • World.Thing.setNoBlocking()
  • World.Thing.type()
Heretic only:
  • App.Player.setFlameCount()

Related issues

Related to Feature #2374: "On death" script to run when a thing is killedResolved2019-12-21

Related to Feature #2418: Earthquake action for HereticResolved2020-03-14

Associated revisions

Revision e1e8d5ba (diff)
Added by skyjake 6 months ago

Scripting|World: Querying and changing thing flags

IssueID #2375

Revision 22aa6a9e (diff)
Added by skyjake 5 months ago

Scripting: Added player methods

- App.Player.shotAmmo()

Heretic only:
- App.Player.setFlameCount(tics)

IssueID #2375

Revision 003f74eb (diff)
Added by skyjake 4 months ago

Scripting|All Games: Added App.Player.giveArmor()

IssueID #2375

Revision 1cf8a07a (diff)
Added by skyjake 12 days ago

Scripting|All Games: Querying the current game rules

IssueID #2375

Revision f9f85da5 (diff)
Added by skyjake 11 days ago

Scripting: Access internal values (e.g., DD_NETGAME)

Added App.getInteger() and App.setInteger(), and constants for the value IDs. These are mostly useful for querying current engine state.

IssueID #2375

History

#1 Updated by skyjake 7 months ago

  • Related to Feature #2374: "On death" script to run when a thing is killed added

#2 Updated by skyjake 6 months ago

  • Description updated (diff)
  • % Done changed from 20 to 30

#3 Updated by skyjake 5 months ago

  • Description updated (diff)

#4 Updated by skyjake 4 months ago

  • Description updated (diff)

#5 Updated by skyjake 4 months ago

#6 Updated by skyjake 3 months ago

  • Description updated (diff)
  • % Done changed from 30 to 40

#7 Updated by skyjake 12 days ago

  • Description updated (diff)

#8 Updated by skyjake 11 days ago

  • Description updated (diff)
  • % Done changed from 40 to 60

Also available in: Atom PDF