View Single Post
  #8  
Old 08-17-2009, 09:17 AM
forlik's Avatar
forlik forlik is offline
Approved Member
 
Join Date: Nov 2008
Location: Minsk, Belarus
Posts: 450
Default

Quote:
Originally Posted by Liz Shaw View Post
  • How to mark objectives and points of interest on the map
  • How to add dynamite markers (like in "Eight Snipers")
Quote:
Originally Posted by AHO View Post
This is only possible by patching the levelmaps (*.swd) ask forlik, he knows more than me.
I've never done this, but it seems that's not neccesary to modify swd files for these tasks. See svalka.lua file:


function Level.OnLoaded()
...
Actor.MarkAsTarget(Level.FindActor('SNP1') , true);
Level.EnableLevelMark('DYN1', true);

The first command marks 1st sniper as target.
The second command marks 1st dynamite as target.
SNPn and DYNn IDs are described in \svalka\map.shadvs file.
You can search svalka.lua with 'dyn' or 'dynamite' keys to find another useful commands.

Quote:
Originally Posted by Liz Shaw View Post
Where do I find a hex editor?
Search an editor is much more easy than work with it
A lot of hex editors today (free, non-free, as plugins for file managers):

http://en.wikipedia.org/wiki/Comparison_of_hex_editors

But remember, that any swd-file change (even 1 byte) can lead to the game crush. And it's not easy to find the reason of the crush. So, be careful and always make a copy of the swd-file (perhaps after each successfull step).

Quote:
Originally Posted by Liz Shaw View Post
How do I clone an entry?
See this thread

http://forum.1cpublishing.eu/showthread.php?t=5390

and ask hykao about shadvs2txt and txt2shadvs converters.
After that you'll have possibility to modify shadvs files with any text editor (like Windows Notepad).
Reply With Quote