|
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
|
||||
|
||||
A New DTS Enhancement Mod
Since AHO has declared his Enhancement Addon for DtS finished, I decided to work on a sort of sister mod for it. Replacing sound files isn't a problem for me, but I need to know the following things:
Here's what I've done so far:
|
#2
|
||||
|
||||
Quote:
Exchange the file names of the model files (*.SMF) Loook at this old thread of mine: http://forum.1cpublishing.eu/showthread.php?t=4096 Quote:
he knows more than me. Quote:
Quote:
I wish you good luck and don't hesitate to ask forlik or me, if you have any question. -AHO
__________________
|
#3
|
||||
|
||||
For example, I would like to replace the kissing guard in "Hotel" with one of Volkov's bodyguards from "Embassy". How would I do that?
|
#4
|
||||
|
||||
Quote:
1. You need a hex editor 2. You have to edit the level map file: \Levels\Hotel\hotel.swd 3. Search inside for npc reference "Suitman15" this is the ID of this guy. Before this entry there is the model reference "Actor\HotelGuard" 4. Replace the reference with "EmbassyAgent_2" or "EmbassyAgent_1" (*) Problem: The refrence names must have the same length!!! You had to clone the entry for "EmbassyAgent_*" inside the actors.shadvs and rename it with a name that fits. I know its a little complicated
__________________
|
#5
|
||||
|
||||
Where do I find a hex editor?
|
#6
|
||||
|
||||
__________________
|
#7
|
||||
|
||||
How do I clone an entry?
|
#8
|
||||
|
||||
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). |
#9
|
||||
|
||||
Hey,
what's the current state of your work? Give us feedback
__________________
|
#10
|
||||
|
||||
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)?
|
|
|