![]() |
|
|||||||
| 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 |
|
#16
|
||||
|
||||
|
It works! Male Soviet peasants now have dialogue without causing the game to crash. A big thanks to forlik!
EDIT 1: What do "chto_vy", "ne_nado", "ne_prichem" and "ne_trogaite" mean? EDIT 2: I'm trying to add voices for the "male_rus_spy" voice template. Unfortunately, they don't seem to be working... EDIT 3: I tried to add some silenced weapons to armed mechanics in "Lightning", but the game crashes when I load the level. What could be wrong here: Level.OnFinishLoad(); -- All mechanics who have a gun now carry silenced Lugers and ammo, instead of Walther P38s. -- Liz Shaw local actor = Level.FindActor('GM07'); Actor.ClearInventory(actor , true ); local gun = Level.CreateItem("LugerSilencer","Weapon"); Actor.PutWeapon( actor, Actor.WEAPON_SLOT_PISTOL, gun ); Actor.PutWeaponAmmo( actor, "Luger"); -- local actor = Level.FindActor('GM09'); Actor.ClearInventory(actor , true ); local gun = Level.CreateItem("LugerSilencer","Weapon"); Actor.PutWeapon( actor, Actor.WEAPON_SLOT_PISTOL, gun ); Actor.PutWeaponAmmo( actor, "Luger"); -- local actor = Level.FindActor('GM17'); Actor.ClearInventory(actor , true ); local gun = Level.CreateItem("LugerSilencer","Weapon"); Actor.PutWeapon( actor, Actor.WEAPON_SLOT_PISTOL, gun ); Actor.PutWeaponAmmo( actor, "Luger"); -- local actor = Level.FindActor('GM19'); Actor.ClearInventory(actor , true ); local gun = Level.CreateItem("LugerSilencer","Weapon"); Actor.PutWeapon( actor, Actor.WEAPON_SLOT_PISTOL, gun ); Actor.PutWeaponAmmo( actor, "Luger"); -- local actor = Level.FindActor('GM20'); Actor.ClearInventory(actor , true ); local gun = Level.CreateItem("LugerSilencer","Weapon"); Actor.PutWeapon( actor, Actor.WEAPON_SLOT_PISTOL, gun ); Actor.PutWeaponAmmo( actor, "Luger"); -- end; AI.DoFile( "scripts:Levels\\Common.lua", false ); Last edited by Liz Shaw; 12-23-2009 at 06:35 AM. |
|
|