Avatar

Mapjunkie

Mapjunkie

About

Username
Mapjunkie
Joined
Visits
5,623
Last Active
Roles
Member
Points
10
Location
Jena, Germany
Real Name
Thomas
Rank
Traveler
Badges
0

Latest Images

  • Postcard Maps

    Here is a link to old postcard maps from East Germany.

    LoopysueQuentenDon Anderson Jr.Wyvern
  • Is it possible to send an RCV20 command from an XP to the "main program"?

    Quick and Dirty example: Take first code example from

    https://rpgmaps.profantasy.com/developing-add-ons-for-cc3-part-1-getting-started/  

    Change function

    void XPCALL About() { ... }


    To the following lines:


    extern "C" { 

      int XPCALL MacroCmdChk(); 

    }


    int MacroCmdChk2 (char* cmd) {

      int result;

      __asm mov esi, cmd

      __asm call MacroCmdChk

      __asm xor eax,eax

      __asm adc eax,0

      __asm mov result, eax

      return result;

    }


    void SendRCV20( char* str) {

      char* cmdName = "RCV20";

      SetVar("RCVDATA", str);

      if (!MacroCmdChk2(cmdName)) {

       MessageBox(NULL, cmdName, "Message received from Core Rules II", MB_OK);

      }

    }


    void XPCALL About() {

      SendRCV20( "LINE 0,0;100,100"); 

    CmdEnd();

    }

    Monsen
  • Import DXF details

    The following is a minimal DXF file that can be read in via Draw / Insert File. The layer name can be set in the DXF file. Sheet is the current one.
    The file must be saved with ASCII/ANSI 1252 encoding, not UTF-8.

    0
    SECTION
    2
    ENTITIES
    0
    LWPOLYLINE
    8
    DXF_LAYER_1
    62
    0
     70
         5
     43
    1.0   
    10
    0
    20
    0
    10
    0
    20
    100
    10
    100
    20
    100
    10
    100
    20
    0
    10
    0
    20
    0
    0
    ENDSEC
    0
    EOF



    Explanations:

    8
    DXF_LAYER_1 // Arbitrary Layer-Name

    62
    0 // Color 0-254 (can be omitted, default: 15 = white)

     70
         5         // Count of Points (can be omitted, default: specified points)

     43
    1.0    // Line Width (can be omitted, default: 0.0)  

    DoubleDouble
  • Question about 3D houses in "SOURCE MAPS: CITIES".

    Thank your for the quick answer!
    After setting all the properties I got a much darker result, even in preview:



    What does the content of the section for "Cities Medieval Grey" in the file @System\CC2PER-Colors.opt look like in your case?

    JimP