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 02-18-2010, 08:15 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 already gave these workers Walther P38s, but how do I get rid of their rifles?
Try to use Actor.ClearInventory() or Actor.DropCurrentWeapon(). Can't say exactly.

P. S. Worker with Kar98k looks more historically accurate than worker with Walther P38
Reply With Quote
  #2  
Old 02-18-2010, 08:37 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 561
Default

Quote:
Originally Posted by forlik View Post
P. S. Worker with Kar98k looks more historically accurate than worker with Walther P38
Really? In MoT, workers either had a P38 or nothing at all.

The rifle weapon slot seems to be immune to the Actor.ClearInventory command.

What am I doing wrong here?

Code:
local worker = Level.FindActor('GS06');
if (worker != nil ) then
  Actor.EnableMesh( worker, "grm_cap", true );
  Actor.ClearInventory(worker, true );
  local gun  = Level.CreateItem("Walter","Weapon");
  Actor.PutWeapon( worker, Actor.WEAPON_SLOT_PISTOL, gun );
  Actor.PutWeaponAmmo( worker, "Walter");
  Actor.DropCurrentWeapon( worker, Actor.WEAPON_SLOT_RIFLE, "K98");
end;
Reply With Quote
  #3  
Old 02-18-2010, 10:27 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
Actor.DropCurrentWeapon( worker, Actor.WEAPON_SLOT_RIFLE, "K98");
Where did you found Actor.WEAPON_SLOT_RIFLE?
Reply With Quote
  #4  
Old 02-18-2010, 10:32 AM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 561
Default

Quote:
Originally Posted by forlik View Post
Where did you found Actor.WEAPON_SLOT_RIFLE?
Uh... I guessed! That's not the right command isn't it?

EDIT: Got it wrong! It should have been WEAPON_SLOT_MACHINEGUN! But still, the rifle isn't removed!

Last edited by Liz Shaw; 02-18-2010 at 10:47 AM.
Reply With Quote
  #5  
Old 02-18-2010, 11:02 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
Uh... I guessed!


Quote:
Originally Posted by Liz Shaw View Post
It should have been WEAPON_SLOT_MACHINEGUN! But still, the rifle isn't removed!
Yes. The rifle slot is Actor.WEAPON_SLOT_MACHINEGUN.
I'm not sure that you using Actor.DropCurrentWeapon() correctly.
I can found examples with Level.GetPlayer(), not with another actors.
Perhaps this method can work with player only
Reply With Quote
  #6  
Old 02-18-2010, 12:43 PM
Liz Shaw's Avatar
Liz Shaw Liz Shaw is offline
Approved Member
 
Join Date: Oct 2008
Posts: 561
Default

See if you can have a go at this! The only thing I could think of now is some kind of alternate SWD editor, one that HG doesn't use...

PS. By the way, does the extra insignia on the new German uniforms affect the disguise (eg. field medic ranks "Sanitätssoldat" and "Sanitätsfeldwebel")?
Attached Files
File Type: zip airbase.lua.zip (23.3 KB, 2 views)

Last edited by Liz Shaw; 02-18-2010 at 12:48 PM.
Reply With Quote
  #7  
Old 02-18-2010, 01:28 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
See if you can have a go at this! The only thing I could think of now is some kind of alternate SWD editor, one that HG doesn't use...
What do you mean? An alternate SWD editor? If you'll create it - your name will be in history forever

Quote:
Originally Posted by Liz Shaw View Post
PS. By the way, does the extra insignia on the new German uniforms affect the disguise (eg. field medic ranks "Sanitätssoldat" and "Sanitätsfeldwebel")?
It works via zones.shadvs. You can create your own rule where, for example "Sanitätssoldat" will be ignored by field police officer and "Sanitätsfeldwebel" will be decamouflaged by field police officer.
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 12:23 AM.


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