![]() |
|
|||||||
| Death to Spies Stealth action. Professional spy working for the Soviet counterintelligence service executes dangerous operations in the heart of German territory. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
How do I clone an entry?
|
|
#2
|
||||
|
||||
|
Quote:
Quote:
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. 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). 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). |
|
#3
|
||||
|
||||
|
Hey,
what's the current state of your work? Give us feedback
__________________
|
|
#4
|
||||
|
||||
|
I couldn't figure out what to do with the hex editor, so I haven't done anything new. Plus, I have other things on my plate. Actually, how can I place new items in rooms (eg. new clothes, new weapons)?
|
|
#5
|
||||
|
||||
|
Quote:
Level.CreateWorldItem( "wear:EmbassyAgent_1" , "equipment" , 821.00, 4.00, -368.00, 0.0, 0.0, 0.0, 'id_wear1' );
__________________
|
|
#6
|
||||
|
||||
|
Update:
In regards to wanting to place new clothes, I want to place a warden's uniform on the bed in the room near the conference hall in "Stronghold" to start with. AHO, can you please give me the coordinates of said bedroom? Last edited by Liz Shaw; 09-09-2009 at 11:42 AM. |
|
#7
|
||||
|
||||
|
Quote:
__________________
|
![]() |
|
|