1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > Death to Spies

Death to Spies Stealth action. Professional spy working for the Soviet counterintelligence service executes dangerous operations in the heart of German territory.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2009, 09:55 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 515
Default 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:
  • How to replace the character model of certain NPCs.
  • How to add in extra objectives
  • How to mark objectives and points of interest on the map
  • How to add dynamite markers (like in "Eight Snipers")

Here's what I've done so far:
  • Enemy pain sounds have been replaced with better ones from MoT (except for the male pain responses whenever they're hit by a fragile object or Strogov's fist... what are "voice1", "voice2", "voice3" and "voice4" in DtS used for?).
  • A couple of female voice files AHO either ignored or missed out have been replaced with better ones from MoT (I doubt they'll work in-game anyway).
  • "muz3_ger_loop" and "muz4_ger_loop" have been replaced with "muz_ger_1" and "muz_ger_7" from MoT respectively.
Reply With Quote
  #2  
Old 08-15-2009, 03:03 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 537
Default

Quote:
Originally Posted by Liz Shaw View Post
Since AHO has declared his Enhancement Addon for DtS finished,
I decided to work on a sort of sister mod for it.
Sister mod sounds sweet



Quote:
Originally Posted by Liz Shaw View Post
How to replace the character model of certain NPCs.
Exchange the file names of the model files (*.SMF)


Quote:
Originally Posted by Liz Shaw View Post
How to add in extra objectives
Loook at this old thread of mine:
http://forum.1cpublishing.eu/showthread.php?t=4096




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")
This is only possible by patching the levelmaps (*.swd) ask forlik,
he knows more than me.



Quote:
Originally Posted by Liz Shaw View Post
Enemy pain sounds have been replaced with better ones from MoT
(except for the male pain responses whenever they're hit by a fragile
object or Strogov's fist... what are "voice1", "voice2", "voice3" and "voice4" in DtS used for?).
Well if I remeber correctly. I replaced them already


Quote:
Originally Posted by Liz Shaw View Post
A couple of female voice files AHO either ignored or missed out have been replaced with
better ones from MoT (I doubt they'll work in-game anyway).
Well. I replaced them all




I wish you good luck and don't hesitate to ask forlik or me, if you
have any question.


-AHO
Reply With Quote
  #3  
Old 08-15-2009, 03:51 PM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 515
Default

Quote:
Originally Posted by AHO View Post
Exchange the file names of the model files (*.SMF)
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?
Reply With Quote
  #4  
Old 08-15-2009, 06:05 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 537
Default

Quote:
Originally Posted by Liz Shaw View Post
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?

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
Reply With Quote
  #5  
Old 08-16-2009, 01:20 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 515
Default

Where do I find a hex editor?
Reply With Quote
  #6  
Old 08-16-2009, 10:36 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 537
Default

Quote:
Originally Posted by Liz Shaw View Post
Where do I find a hex editor?
Use Google to find one
Reply With Quote
  #7  
Old 08-17-2009, 04:06 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 515
Default

Quote:
Originally Posted by AHO View Post
(*) 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.
How do I clone an entry?
Reply With Quote
  #8  
Old 08-17-2009, 10: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
  #9  
Old 09-08-2009, 02:49 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 537
Default

Hey,
what's the current state of your work?
Give us feedback
Reply With Quote
  #10  
Old 09-08-2009, 03:23 PM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 515
Default

Quote:
Originally Posted by AHO View Post
Hey,
what's the current state of your work?
Give us feedback
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)?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:22 PM.

Based on a design by: Miner Skinz.com

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.