Feature #1301
Redesigned DED Reader
Description
The DED reader needs to be rewritten.
It will be possible to have more advanced scriptingfeatures, such as:
- constants
- expressions
- conditional sections
See proposal
Related issues
History
#1 Updated by tolwyn over 20 years ago
Logged In: YES
user_id=616016
And how about that Ded Manager? That needs to be updated
too!
#2 Updated by skyjake over 17 years ago
Logged In: YES
user_id=717323
I don't intend to update the DED Manager any more. Editing DEDs in a
text editor is much more straightforward and flexible.
#3 Updated by danij about 15 years ago
Logged In: YES
user_id=849456
Originator: NO
I think we've gotten to the end of the road with the current DED reader implementation. Certainly, trying to allow for runtime-specified token structures (i.e. for game-extendable definitions) would be very tricky to achieve within the current code. We should be thinking about a replacement with run-time scripting in mind.
Ideas:
Perhaps implement a more robust interface for managing the engine-internal databases and move the actual task of parsing into a dedreader plugin?
#4 Updated by skyjake about 11 years ago
- Tags set to Scripting, Definitions
- Description updated (diff)
- Assignee set to skyjake
- % Done changed from 0 to 20
#5 Updated by skyjake about 11 years ago
- Status changed from New to In Progress
#6 Updated by skyjake about 11 years ago
- Priority changed from Normal to High
#7 Updated by skyjake about 9 years ago
- Category set to Redesign
- % Done changed from 20 to 40
ScriptedInfo
now exists and is being used for the GL2 models, and some DED information is already being kept in Record
objects. Two things are needed:
- All DED information should be stored in
Record
's. - The DED parser should be relegated to legacy importer status for reading DEDv1 files into the runtime data structures.
The definitions in the (upcoming) game plugins packages should be converted to ScriptedInfo
syntax.
#8 Updated by skyjake over 8 years ago
- % Done changed from 40 to 60
#9 Updated by skyjake over 8 years ago
- Status changed from In Progress to Progressed
#10 Updated by skyjake almost 5 years ago
- % Done changed from 60 to 80
The DED parser is pretty much in maintenance mode already, and definitions are accessible internally via Defs
.
#11 Updated by skyjake almost 5 years ago
- Target version set to Modding