| Author |
Doctrine Syntax Checker |
jsteed
Joined: Apr 08, 2002 Posts: 253 | Posted: 2002-08-14 21:22  
For all the budding doctrine writers out there, I uploaded my syntax checker to the SCX site. It does not write the doctrines, but it does find most of the common errors that cause SC to freeze and crash when testing them.
Ferenci also wrote an add-on to EditPlus that incorporates this program so you can debug and fix the errors all in one step.
Cheers, jsteed
 
|
siphl
Joined: May 31, 2002 Posts: 50 From: Philadelphia
| Posted: 2002-08-14 23:47  
and someone, you or ferenci (i can't remember), corrected some errors in Sonalysts' Doctrine Specs document right?
Has this file been uploaded anywhere yet?
 
|
Madcowz
Joined: Feb 28, 2002 Posts: 574 From: Cambridge (UK)
| Posted: 2002-08-15 04:57  
Yes,
the file was updated at Comsa and SCX sites that night.
Mad.
_________________
Comsa
'When the hunter comes, the tiger runs with the deer'
 
|
Tusipex
Joined: Mar 13, 2002 Posts: 78 From: Poland
| Posted: 2002-08-15 10:23  
Hi
Someone have description for mission editor doctrine language ??
Is it possible to do own tactics -> name it by the sub commander's nick name, and apply it to sub tactic in mission editor??
Like - You can choose commanders to drive sub...
???
Ps. What is inDetectiionHeldNow ??
_________________ Tusipex
 
|
Tusipex
Joined: Mar 13, 2002 Posts: 78 From: Poland
| Posted: 2002-08-15 10:30  
InDetecionHeldNow - is it something like - contact stays in detection range???
_________________ Tusipex
 
|
jsteed
Joined: Apr 08, 2002 Posts: 253 | Posted: 2002-08-15 12:15  
Hi Tusipex,
The SCX site has a file which describes the doctrine language. Integrating them into the Mission Editor will not be easy. See the threads on Sprint-Drift and Crazy Ivan for details.
One thing I should point out when using the Doctrine Checker, is that if you run it on the existing doctrines, some of them will show a large number of errors. These mainly have to do with the number of parentheses used in if-then statements and too much whitespace at the end of lines. These are probably not errors since the doctrines do work. I took a VERY conservative approach in deciding what was good programming etiquette. My philosophy was 'don't give SC any excuse at all to freeze.'
Cheers, jsteed
 
|
Tusipex
Joined: Mar 13, 2002 Posts: 78 From: Poland
| Posted: 2002-08-18 08:26  
I was looking for this:
SETTING
WHAT IT DOES
UserAction Triggers after the player
performs a specific action.
CompletedGoal Triggers after a certain goal is completed.
PlatformDamage Triggers after a unit is damaged a certain percentage.
CounterDetect Triggered when player is detected by enemy.
Attack Triggered when Unit1 attacks Unit2.
LaunchedSeals Triggered when player launches SEAL team.
LaunchedDSRV Triggered when player launches DSRV.
LaunchedUUV Triggered when player launches a UUV.
UserOrder Unsure what this is.... never found a use for it.
Detect Triggered when Unit1 detects Unit2
TimeSinceGoalTriggered Triggered when specified time since a certain goal was triggered has elapsed.
IsDetectionHeldNow Triggers if a certain unit is held detected at the time.
...Looking for enhanced version
_________________ Tusipex
 
|