![]() |
|
Death to Spies: Moment of Truth Sequel to the popular stealth-action Death to Spies |
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
So, after beating the game many times, I want to try playing it through with different uniforms, more exact; the Soviet Soldiers Uniform. I have the code to spawn it:
L_CreateItem Equipment.Wear:SovietSoldier (add -console to end of shortcut directory) Problem: So I can spawn the uniform, it falls behind the character in game but with a little glitch; when putting it on, it shows every soviet soldiers uniform: this be the soviet soldier/KGB with red band, soviet soldier with hat, soviet soldier with helmet, all at one time. How can I spawn a specific soviet soldiers uniform without all the extras like the hat and helmet morphed into each other at one time? Thanks for any help. Or just a response. |
#2
|
||||
|
||||
![]()
I've been trying to do that in the original DtS too, with the German Winter Soldiers...
|
#3
|
|||
|
|||
![]() Quote:
Actor.ChangeActorSkin( Level.GetPlayer(), "SovietSoldier" ); and then disable hats & helmets: Actor.EnableMesh( Level.GetPlayer(), "grm_helmet" , false ); some tags you can try: grm_helmet grm_cap grm_shoulder grm_coat sol_equipment_lo to run lua methods from console, first use '$', ex. : $ Actor.ChangeActorSkin( Level.GetPlayer()... ); |
#4
|
||||
|
||||
![]() Quote:
![]()
__________________
|
#5
|
|||
|
|||
![]() Quote:
![]() |
#6
|
|||
|
|||
![]()
He is the best of the best...
Now to try this little technique. Last edited by sniperspec; 10-21-2009 at 01:39 AM. |
#7
|
|||
|
|||
![]() Quote:
This code Works well, but the second one: Actor.EnableMesh( Level.GetPlayer(), "grm_helmet" , false ); does not work, when I put it in directly including the $ at the front, it does nothing, mabie you made a mistake in one of the words? Still thanks for your help ![]() |
#8
|
|||
|
|||
![]() Quote:
this tags was for germans, for player you could try this: mesh_helmet mesh_cap mesh_shoulder mesh_coat sabg_equipment_down so u must use: Actor.EnableMesh( Level.GetPlayer(), "mesh_helmet" , false ); |
#9
|
|||
|
|||
![]()
just examining lua scripts...
![]() |
#10
|
||||
|
||||
![]()
Yes, this way I learned much about dts scripting, while I was
creating my Enhancement addon. The scripts are very powerful....
__________________
|
![]() |
|
|