 
    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
Reactions
- 
        Postcard Maps
- 
        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(); } 
- 
        Import DXF detailsThe 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.0SECTION2ENTITIES0LWPOLYLINE8DXF_LAYER_1620705431.0100200100201001010020100101002001002000ENDSEC0EOFExplanations:8DXF_LAYER_1 // Arbitrary Layer-Name620 // Color 0-254 (can be omitted, default: 15 = white)705 // Count of Points (can be omitted, default: specified points)431.0 // Line Width (can be omitted, default: 0.0)
- 
        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?
 
 
                             
                            





