Skip to content

RockStyle Commands in Templates for SA - SCR, LCS and VCS #70

Closed

Description

@OrionSR

The template scripts for SA -SCR, LCS, and VCS modes have community style command definitions. The LCS and VCS opcodes have been updated, but not the "keyword" text. I would expect a proper SA - SCR template to look something like this:

={$CLEO .cs}
=0000:
=
=|
=
=0A93: terminate_this_custom_script


load=model request and load
=0247: request_model #| 
=
=while 8248:   not has_model_loaded  #
=  wait 0 ms
=end

def=Check if player is playing
=if 
=  0256:   is_player_playing $PLAYER_CHAR
=then
=  
=end

scm=Multifile template (SA)
=DEFINE MISSIONS 0
=//DEFINE MISSION {ID} 0 AT {LABEL} @
=DEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA script
=//DEFINE SCRIPT {NAME}  AT {LABEL} @
=DEFINE UNKNOWN_EMPTY_SEGMENT 0
=DEFINE UNKNOWN_THREADS_MEMORY 0
=
=|
=
=while true
=  wait 250
=end

Also, if the complete set of keyword.txt from fastman92's definitions are implemented then the opcodes can be omitted and the scripts would become more generic.

Generating templates for RockStyle commands should be the last barrier to completing my initial set of custom edit modes. I should have something available for preview soon, hopefully today.

Activity

  1. added
    contributions welcome
    type:nice-to-have
    on Sep 21, 2020
  2. x87 commented on Sep 21, 2020

    @x87
    Collaborator

    Good catch. Yes, we should align templates and opcode definitions.

  3. added this to the Next milestone on Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributions welcomescope:edit modestype:nice-to-have

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions