Post by anno1404 on Mar 29, 2011 23:05:43 GMT -5
You can allow Chuck to do attack animations in the safehouse with this line:
Currently Chuck is unable to attack the main cast with this coding (Stacey and Katey). They main cast are invincible, and Chuck just swings through the cast, not hurting them. I have not yet tried attacking random survivors in the safehouse
Here is the where I placed this line:
There are 311 instances of cMissionSetChuckState in missions.txt. These make chuck do a variety of incredible things.
There are also hundreds of NPC (survivors and psychopath) scripts which can change the NPC' behavior and body movement in hundreds of ways, including attacking Chuck, or rocking out like the Rock Heroes.
NOTE: For some reason, added NPC animations possibly do not work on Stacey, Katey or added survivors IN the safehouse. Outside of the safehouse they may work. I dont understand why and how this can be, as TK has a special lie in gurney animation in 6-1 in the safehouse. this maybe wrong.
keywords: attack in safehouse, attack survivors in safehouse
cMissionSetChuckState EnableAttacks
{
ChuckState = "2"
}
Currently Chuck is unable to attack the main cast with this coding (Stacey and Katey). They main cast are invincible, and Chuck just swings through the cast, not hurting them. I have not yet tried attacking random survivors in the safehouse
Here is the where I placed this line:
cMissionLevelReady Safehouse6-1
{
LevelName = "LEVEL_SAFEHOUSE"
cMissionTimer LockFirstAidRoom1
{
DeltaTimeSecondsRealTime = ".25"
TriggerXTimes = "1"
cMissionSendCommandToProp LockAidRoom1
{
PropCommand = "11"
PropName = "Door_First_Aid"
}
}
cMissionSetChuckState EnableAttacks
{
ChuckState = "2"
}
cMissionSpawnNPC TK_Case6-1
{
IgnoreAction = "false"
NPCName = "cast_tk_shirt"
Rotation = "1.761"
SpawnPoint = "-30.991,-1.135,41.152"
UseRotationAndLocationIfSpawned = "true"
cMissionSetNPCScriptedAction Injured6-1
{
IsLooping = "true"
NPCName = "cast_tk_shirt"
ScriptedActionName = "GurneyLying"
}
}
There are 311 instances of cMissionSetChuckState in missions.txt. These make chuck do a variety of incredible things.
There are also hundreds of NPC (survivors and psychopath) scripts which can change the NPC' behavior and body movement in hundreds of ways, including attacking Chuck, or rocking out like the Rock Heroes.
NOTE: For some reason, added NPC animations possibly do not work on Stacey, Katey or added survivors IN the safehouse. Outside of the safehouse they may work. I dont understand why and how this can be, as TK has a special lie in gurney animation in 6-1 in the safehouse. this maybe wrong.
keywords: attack in safehouse, attack survivors in safehouse