![]() |
|
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
|
||||
|
||||
![]() Quote:
P. S. Worker with Kar98k looks more historically accurate than worker with Walther P38 ![]() |
#2
|
||||
|
||||
![]() 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; |
#3
|
||||
|
||||
![]()
Where did you found Actor.WEAPON_SLOT_RIFLE?
|
#4
|
||||
|
||||
![]()
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. |
#5
|
||||
|
||||
![]() ![]() 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 ![]() |
#6
|
||||
|
||||
![]()
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 12:48 PM. |
#7
|
||||
|
||||
![]() Quote:
![]() 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. |
![]() |
Thread Tools | |
Display Modes | |
|
|