Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum 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-17-2009, 04:06 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
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
  #2  
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
  #3  
Old 09-08-2009, 02:49 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Hey,
what's the current state of your work?
Give us feedback
Reply With Quote
  #4  
Old 09-08-2009, 03:23 PM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
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
  #5  
Old 09-08-2009, 08:50 PM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by Liz Shaw View Post
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)?
This is only possible via script commands e.g.

Level.CreateWorldItem( "wear:EmbassyAgent_1" , "equipment" , 821.00, 4.00, -368.00, 0.0, 0.0, 0.0, 'id_wear1' );
  1. "wear:EmbassyAgent_1" is the item you wanna spawn, the
    item names you can find inside the equipment.shadvs, weapons.shadvs etc.
  2. "equipment" is the library (class) name. Same as shadvs files I mentioned above
  3. 821.00, 4.00, -368.00 are the coordinates (x,y,z). You
    can aquire the current position via console command:
    pl_showpos.
  4. 0.0, 0.0, 0.0 I dunno, let it as it is
  5. 'id_wear1' is the id of the newly created item.
    Necessary but not used in case of spawning.
-AHO
Reply With Quote
  #6  
Old 09-09-2009, 03:54 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

Update:
  • I've been proof-reading all the Level LUAs.
  • I also changed a failed mission script from "Diplomat has been killed" to "Diplomat has been attacked", because if you knock him out, it's still classed as killing him.
  • It's now possible to steal the utility room key from one of the waiters without taking him out.
  • I added in a key to the diplomat's safe to save players from picking the lock. It's in the possession of the kissing guard.

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.
Reply With Quote
  #7  
Old 09-10-2009, 09:34 AM
AHO's Avatar
AHO AHO is offline
Approved Member
 
Join Date: Aug 2008
Location: Germany
Posts: 538
Default

Quote:
Originally Posted by Liz Shaw View Post
Update:
  • I've been proof-reading all the Level LUAs.
  • I also changed a failed mission script from "Diplomat has been killed" to "Diplomat has been attacked", because if you knock him out, it's still classed as killing him.
  • It's now possible to steal the utility room key from one of the waiters without taking him out.
  • I added in a key to the diplomat's safe to save players from picking the lock. It's in the possession of the kissing guard.
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?
You can aquire the current position with the console command PL_ShowPos.
Reply With Quote
Reply


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 12:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.