Jump to content


Photo

BCoD built-in editor and other fancy stuff


  • Please log in to reply
89 replies to this topic

#21 LWD5099

LWD5099
  • Members
  • 63 posts

Posted 28 March 2013 - 11:37 AM

comm2 cant use demo's *.mis ,
and demo's editor not perfect .

#22 LWD5099

LWD5099
  • Members
  • 63 posts

Posted 28 March 2013 - 11:41 AM

well ,can you tell me how to do edit a draw.dll

#23 malik_cjm

malik_cjm
  • Members
  • 37 posts

Posted 28 March 2013 - 12:39 PM

ddraw.dll is a custom library written by me. It uses system ddraw.dll. It contains some additional code not available in Commandos binary. As far as I know for Commandos 2 some part of existing code from demo binary has to be re-implemented and injected into release binary. For BTCOD ans SINP binaries it was easy to do because code was already in binary, just some initialization stuff was missing. Commandos 2 developers removed most of editor code from release binary.



#24 canstay

canstay
  • Members
  • 91 posts

Posted 28 March 2013 - 03:18 PM

BLE&BCD's ddraw.dll has something to improve, such as setting the soldiers patrol, he can't patrol.

Thank you so much.



#25 malik_cjm

malik_cjm
  • Members
  • 37 posts

Posted 28 March 2013 - 08:05 PM

@canstay please explain in more details what should be done. I'm not sure what you mean. 

 

Additionally if you have any idea what could be improved or modified in BTCOD there is possibility to improve engine.

Add some more logic or modding futures. First thing that I'm planning to do is extend mission with Lua http://lua.org scripts.



#26 herbert3000

herbert3000

    Guilty Until Proven Innocent

  • Division Admins
  • 610 posts
  • Location:Austria
  • Division:Commandos HQ
  • Job:Division Admin

Posted 29 March 2013 - 06:51 PM

I encountered the same issue. It's not possible to set a route for a patrolling guard. If you edit an existing or create a new BAP1 or BAP2 soldier and then click the AcPatrulla button, nothing happens. I guess this is the dialog that should show up:

AcPatrulla.png



#27 Lexx2k

Lexx2k
  • Members
  • 133 posts
  • Location:Berlin
  • Projects:BTCOD Mission Pack

Posted 15 April 2013 - 03:15 AM

Hey, just wanted to say thank you for your work, malik_cjm! Without your ddraw.dll, I would have had a realy hard time with debugging my current missions. It's so much faster to work on it if I don't need to port the files to C1 all the time, just so I can see the coordinates and bounding boxes of my objects.

#28 LWD5099

LWD5099
  • Members
  • 63 posts

Posted 26 June 2013 - 11:44 PM

Hi, What time will update BCD draw.dll ?

QQ截图20130627074248.jpg



#29 malik_cjm

malik_cjm
  • Members
  • 37 posts

Posted 27 June 2013 - 10:25 PM

Do you think that future "visible patrol route" is worth releasing? I'm not sure. Does anybody uses that editor at all? 


Edited by malik_cjm, 27 June 2013 - 10:27 PM.


#30 Salvadorc17

Salvadorc17

    title available

  • Members
  • 507 posts
  • Location:Colombia
  • Projects:Destination Norway

Posted 28 June 2013 - 12:14 AM

I have antother problem with this editor, i cannot get open any mission file, it give me some weird unknow characters

Attached Thumbnails

  • Commandosbtcoderror.png


#31 LWD5099

LWD5099
  • Members
  • 63 posts

Posted 28 June 2013 - 03:38 AM

Salvadorc17, try use this

http://forums.revora...attach_id=32143



#32 Salvadorc17

Salvadorc17

    title available

  • Members
  • 507 posts
  • Location:Colombia
  • Projects:Destination Norway

Posted 28 June 2013 - 07:44 PM

Sorry, but i dont have permission to see the attachment, can you give me a download link.



#33 Lexx2k

Lexx2k
  • Members
  • 133 posts
  • Location:Berlin
  • Projects:BTCOD Mission Pack

Posted 30 June 2013 - 07:28 AM

Do you think that future "visible patrol route" is worth releasing? I'm not sure. Does anybody uses that editor at all?


Everything is worth releasing.

How I am adding patrols right now: I use a truckton of little papers to write down coordinates, which I am taking out of the game with debug mode enabled. For one mission I am using up at least 10 small yellow papers (on both sides) and after I added a few patrols in my mission file, it becomes harder and harder to remember what waypoint is where exactly. So yeah... everything that makes it easier to place patrols is worth releasing.

#34 Salvadorc17

Salvadorc17

    title available

  • Members
  • 507 posts
  • Location:Colombia
  • Projects:Destination Norway

Posted 30 June 2013 - 10:13 PM

Lexx2k i cannot get working bctod build in editor, see my attached tumbail up, you have an idea about whats going up?

 

Can anyone give me the download link to the version of the game thats this works.


Edited by Salvadorc17, 01 July 2013 - 08:05 PM.


#35 malik_cjm

malik_cjm
  • Members
  • 37 posts

Posted 01 July 2013 - 10:04 PM

Release 0.0.2 Attached File  komandos_v0.0.2.7z   519.96KB   199 downloads
Works only with build 1.06 03/24/99
 
Install:
Extract archive and copy release directory content to your BTCOD install directory.
 
Changelog:
Recording mission - press CTRL+R, in editbox type file name, chose mission from list and press Start button to start recording, quit the game to stop recording.
Play recorded mission - press CTRL+P, chose recorded mission file from list and double click on file name.
Sample recorded mission attached, check DATOS/ROLLING directory
Editor (CTRL+E) - press Show routes to toggle visiblity
Debug console - press CTRL+D, can be used from Lua scripts, use SHIFT+PGUP, SHIFT+PGDWN to scroll
Lua interpreter window removed to make editor usable
Some other minor changes
 
Remember this is still work in progress. Any comments welcome.
Have fun.

Edited by malik_cjm, 01 July 2013 - 10:58 PM.


#36 Salvadorc17

Salvadorc17

    title available

  • Members
  • 507 posts
  • Location:Colombia
  • Projects:Destination Norway

Posted 02 July 2013 - 12:17 AM

Thanks for this update malik, now it really works fine to me, this help me so much.



#37 herbert3000

herbert3000

    Guilty Until Proven Innocent

  • Division Admins
  • 610 posts
  • Location:Austria
  • Division:Commandos HQ
  • Job:Division Admin

Posted 02 July 2013 - 08:03 PM

Fantastic work!! :thumbsupsmiley:

 

Btw, how can I run the scripts interface.lua and test.lua?



#38 xelono

xelono
  • Members
  • 46 posts
  • Location:Santiago, Chile
  • Projects:Commandos: Sniper Elite (BCD mod)
  •  http://xelonostudios.wixsite.com/commandosmods

Posted 02 July 2013 - 08:22 PM

someone has the version of coman_mp 1.06 or some link of where to look and download it?  :sad2:
 
I have the coman_mp 1.08 and the program does not work with this version and I need to get the coordinates for my new missions.  :ermm:


#39 malik_cjm

malik_cjm
  • Members
  • 37 posts

Posted 02 July 2013 - 08:26 PM

Currently only init.lua will executed when game starts. Those scripts are just my test files. They don't do much. interface.lua adds character icon on top of the screen. Test.lua is just my idea how to add additional scriptable actions. My plan for next release is to have at least proof of concept of API for Lua scripts. Now I can only change some basic object properties like position, angle. If you would like to play with current version of API I could release version with enabled Lua interpreter window.

Btw I found a way to decrypt save game file check this Attached File  save.txt   75.82KB   234 downloads. It's not complete save game file it's just human readable part. There is one more part stored as plain binary.



#40 LWD5099

LWD5099
  • Members
  • 63 posts

Posted 02 July 2013 - 11:35 PM

32 windows cant run v0.0.2

Attached Thumbnails

  • msvcr100.dll.jpg





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users