Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Death to Spies (http://forum.fulqrumpublishing.com/forumdisplay.php?f=91)
-   -   Mod/Patch/Enhancement (http://forum.fulqrumpublishing.com/showthread.php?t=3754)

AHO 03-05-2009 01:14 PM

Quote:

Originally Posted by Liz Shaw (Post 68891)
Remember the snipers you have to kill in "Eight Snipers"? How you added a magazine for each one's sniper rifle in their inventory? There are snipers in "Die Spies" and "Removal" as well. Maybe you could add a magazine to their inventory too?

The bad thing is that I need the script ID of an NPC. These are defined
in the SWD map file. I don't know where and how. It's seems that they are
encrypted or something like that...

Short: There are some IDs in the scripts and I can only modify them
unfortunately :(

forlik 03-05-2009 03:19 PM

Quote:

Originally Posted by AHO (Post 68921)
These are defined in the SWD map file. I don't know where and how. It's seems that they are encrypted or something like that...

IDs are not encrypted and you can find them using search command in any hex-editor. But they stored as numbers, not as strings. So, to find them you should reverse your request. You can modify these IDs or create your own (DWORD with offset 0x3D after NPC's name).

Example for D. Meltzer (YAZK):
http://img204.imagevenue.com/loc537/..._122_537lo.JPG

AHO 03-06-2009 09:01 AM

Quote:

Originally Posted by forlik (Post 68931)
IDs are not encrypted and you can find them using search command in any hex-editor. But they stored as numbers, not as strings. So, to find them you should reverse your request. You can modify these IDs or create your own (DWORD with offset 0x3D after NPC's name).

Example for D. Meltzer (YAZK):
http://img204.imagevenue.com/loc537/..._122_537lo.JPG

Interesting:
I found his ID at adres 0x00EF68FC as a reverse string (KZAY).
But it is not a stored as a number? It's just a reverted string :o

Update://
If a NPC does not have an ID, can I give him a new one?
Is the space inside the swd empty? How long have the
ID to be? I think four bytes (chars)?

forlik 03-06-2009 09:27 AM

Quote:

Originally Posted by AHO (Post 68995)
But it is not a stored as a number? It's just a reverted string :o

I mean reverse form, like for numbers (little endian byte order).

Quote:

Originally Posted by AHO (Post 68995)
If a NPC does not have an ID, can I give him a new one? Is the space inside the swd empty?

Yes, as I say before, you can create new IDs.

Quote:

Originally Posted by AHO (Post 68995)
How long have the ID to be? I think four bytes (chars)?

DWORD (4 bytes).

AHO 03-06-2009 11:22 AM

Quote:

Originally Posted by forlik (Post 68997)
I mean reverse form, like for numbers (little endian byte order).

I see...


Quote:

Originally Posted by forlik (Post 68997)
Yes, as I say before, you can create new IDs.

Great, this opens up new possibilities :)


Quote:

Originally Posted by forlik (Post 68997)
DWORD (4 bytes).

OK

Liz Shaw 03-11-2009 06:18 AM

By the way, where did you get the German voice clips? Some of them came from Commandos and Call of Duty...

AHO 03-11-2009 09:19 AM

Quote:

Originally Posted by Liz Shaw (Post 69459)
By the way, where did you get the German voice clips? Some of them came from Commandos and Call of Duty...

He he yep, I took them from every WW2 game and Mod I could find...

Liz Shaw 03-11-2009 11:08 AM

Diplomat Oddities
 
Here are some oddities in "Hotel":

1. Taking out the diplomat by non-lethal means (ie. chloroform, punching him or throwing a glass at him) is classed as killing him and instantly results in mission failure. Maybe you should make the game recognize that knocking out the diplomat isn't classed as killing him. You did a similar thing with the courier in "Winter Cold".

2. The game crashes when you attack the diplomat while the meeting is going on.

AHO 03-12-2009 09:20 AM

Quote:

Originally Posted by Liz Shaw (Post 69482)
1. Taking out the diplomat by non-lethal means (ie. chloroform, punching him or throwing a glass at him) is classed as killing him and instantly results in mission failure. Maybe you should make the game recognize that knocking out the diplomat isn't classed as killing him. You did a similar thing with the courier in "Winter Cold".

Quote:

Originally Posted by Mission objective
The diplomat should not find out that the safe has been opened, or that a stranger has been in the room. Any danger may cause the diplomat to take the documents out of the..."

Quote:

Originally Posted by Liz Shaw (Post 69482)
2. The game crashes when you attack the diplomat while the meeting is going on.

I will check that...

Edit:// On my system the game only crashes when I attack the traitor, not the diplomat :o
It seems to be a scripting error, but I cannot find it :(

Liz Shaw 03-12-2009 11:06 AM

One of the two anyway! The point is, the text says "Diplomat has been killed" even when you merely knock him out. Alternatively, you could change the text to "Diplomat has been attacked"...


All times are GMT. The time now is 08:24 AM.

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