![]() |
|
|||||||
| Death to Spies Stealth action. Professional spy working for the Soviet counterintelligence service executes dangerous operations in the heart of German territory. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Here's a screenshot of the slightly revamped Lightning. It's still a WIP...
I already gave these workers Walther P38s, but how do I get rid of their rifles? |
|
#2
|
||||
|
||||
|
Quote:
P. S. Worker with Kar98k looks more historically accurate than worker with Walther P38 |
|
#3
|
||||
|
||||
|
Quote:
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;
|
|
#4
|
||||
|
||||
|
Where did you found Actor.WEAPON_SLOT_RIFLE?
|
|
#5
|
||||
|
||||
|
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 11:47 AM. |
|
#6
|
||||
|
||||
|
Quote:
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
|
|
#7
|
||||
|
||||
|
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")? Last edited by Liz Shaw; 02-18-2010 at 01:48 PM. |
![]() |
|
|