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 09-26-2009, 05:30 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

Okay, I'm having no luck so far on how to make the map marker in the warden's room disappear once I take the spare uniform. But, here's some updates on what I've done so far:
  • In "Project Y", there is a bottle of chloroform and a first aid kit in four rooms - the room with the marked scientist, the smokestation room's cubicle, the teacher's desk in the classroom, and in the laboratory next to the safe. There's also a spare officer's uniform in the shower room before you take the corridor to the cyclotron.
  • In "Embassy", there is a chef's uniform in the kitchen. Apparently, the chef can go upstairs without being told off, but can't enter the staff lounge. This is where a spare agent's uniform comes in. You can find it in the room with the kissing couple.

I also had a go at placing a German soldier's winter uniform in "Winter Cold", but I encountered a problem - Strogov wears TWO hats in the same uniform (the cap protrudes a little bit from the helmet).
Reply With Quote
  #2  
Old 09-26-2009, 10:03 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
I also had a go at placing a German soldier's winter uniform in "Winter Cold", but I encountered a problem - Strogov wears TWO hats in the same uniform (the cap protrudes a little bit from the helmet).
About German winter uniform, see Cowboy.lua:

Level.AddActionHandler( Level.AH_FINISH_CHANGECLOTH, 'WRFB', "OnChangeFbiCloth" );
...
function Level.OnChangeFbiCloth()
local player = Level.GetPlayer();
if ( player != nil ) then
Actor.EnableMesh( player, "mesh_hat" , false );
Actor.EnableMesh( player, "mesh_glasses" , false );
end;
end;

This part of code removes hat and glasses from Semen in FBI uniform. I think, you can apply this solution to helmet/cap of the German uniform.
Reply With Quote
  #3  
Old 09-26-2009, 11:29 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

Is this correct?

Level.AddActionHandler( Level.AH_FINISH_CHANGECLOTH, 'WSOL', "OnChangeWSoldierCloth" );
...

function Level.OnChangeWSoldierCloth()
local player - Level.GetPlayer();
if ( player !=nil ) then
Actor.EnableMesh (player, "mesh_cap" , false);
end;
Reply With Quote
  #4  
Old 09-26-2009, 05:22 PM
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
Is this correct?
Actor.EnableMesh (player, "mesh_cap" , false);
No. The valid value for the cap mesh is "grm_cap".
Reply With Quote
  #5  
Old 09-27-2009, 03:46 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

I think I've got this wrong:

Level.AddActionHandler( Level.AH_ACTOR_KILLED , "PKUR" , "OnKilledKurier");

Level.AddActionHandler( Level.AH_FINISH_CHANGECLOTH, 'WSOL', "OnChangeWSoldierCloth" );

-- patch
Level.AddActionHandler( Level.AH_ACTOR_KILLED , "GO07" , "OnKilledMarkedOfficer");
Level.AddActionHandler( Level.AH_ACTOR_HITTED , "GO07" , "OnKilledMarkedOfficer");

Level.AddActionHandler( Level.AH_ACTOR_KILLED , "GO02" , "OnKilledMarkedOfficer");
Level.AddActionHandler( Level.AH_ACTOR_HITTED , "GO02" , "OnKilledMarkedOfficer");

Level.AddActionHandler( Level.AH_PLAYER_INVENTORY );

...

function Level.ChangeKurierTask()

Level.AddMissionTask( MissionText.Task_2, 'FREE', "levels\\posilka\\free_task.txt" );
Level.RemoveMissionTask( 'GETK' );

Level.PlayMenuSound("task_finish");
Level.AddLargeMessage( MissionText.Message_1, 15.0, 255, 255, 255 );
Level.EnableLevelMark( 'GETK' , false );
Level.EnableLevelMark( 'FREE' , true );

local kurier = Level.FindActor('PKUR');
if ( kurier != nil ) then
Actor.SetMapHidden( kurier, false );
Actor.MarkAsTarget( kurier, true );
end;

Level.EnableLevelMark( 'OFFR' , true );

-- patch
Level.CheckKilledOfficers();

Level.ShowTargetGuards();

end;

function Level.OnChangeWSoldierCloth()

local player - Level.GetPlayer();
if ( player !=nil ) then
Actor.EnableMesh (player, "grm_cap" , false);
end;


When I load the level, a Syntax error is triggered.
Reply With Quote
  #6  
Old 09-27-2009, 09:46 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
When I load the level, a Syntax error is triggered.
1. Equals instead of minus is needed:
Code:
local player - Level.GetPlayer();
2. End of the function is needed:
Code:
function Level.OnChangeWSoldierCloth()
  local player - Level.GetPlayer();
  if ( player !=nil ) then
    Actor.EnableMesh (player, "grm_cap" , false);
  end;
Reply With Quote
  #7  
Old 09-27-2009, 10:05 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 576
Default

I'm still getting the error! Which position does it have to be in?
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 05:32 PM.


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