Jump to content

Increased soldier population WIP mod


mxmstr

Recommended Posts

  • Replies 48
  • Created
  • Last Reply

Top Posters In This Topic

Maybe i put in the wrong line?

 

sequences.Seq_Demo_RescueMiller = {
OnEnter = function()
--s10020_demo.RescueMiller(func)
local func = function()
this.FuncBuddyDogWarp()
TppScriptBlock.LoadDemoBlock("Demo_ParasiteAppearance")
TppSequence.SetNextSequence("Seq_Game_Escape")
end
end,
Edited by townnet
Link to comment
Share on other sites

Here's what I did:

sequences.Seq_Demo_RescueMiller = {
	OnEnter = function()

		local func = function() 
			
			this.FuncBuddyDogWarp()
			
			TppScriptBlock.LoadDemoBlock("Demo_ParasiteAppearance")
			TppSequence.SetNextSequence("Seq_Game_Escape") 
		end
		func()
		--s10020_demo.RescueMiller(func)
	end,
	
	OnLeave = function()
	
		TppMission.UpdateCheckPoint{	
				checkPoint 		= "CHK_PickedUp_miller",
				ignoreAlert 	= true,
			}
	end,	
}

Link to comment
Share on other sites

Great, it works! But it just looks weird Kaz model suddenly change...Did you able to download my mod? Please share your thought.

 

I found something interesting, don't know have you see it before or not...The camera translation xyz are exactly same where Kaz are locate. I doubt this program able to manipulate camera location. I try change some xyz data to new location but the cut scene still show old location. Maybe i missing something.

 

I just show you a little part , you can find this file at

 

chunk2_data\Assets\tpp\pack\mission2\story\s10020\ s10020_d03.fpkd, unpack this with Foxtool.

Open folder s10020_d03_fpkd\Assets\tpp\demo\fox_project\p31_010030\fox\p31_010030_demo.fox2

 

<property name="controlCharacters" type="EntityPtr" container="StringMap" arraySize="2">
<value key="HM_sna0_main1_def">0x02F9C9C0</value>
<value key="HM_kaz2_main0_def">0x02F9CA30</value>
</property>
<property name="controlDatas" type="EntityLink" container="StringMap" />
<property name="controlCollectibles" type="String" container="StringMap" />
<property name="parameters" type="EntityPtr" container="StringMap" arraySize="1">
<value key="Game">0x02F9CAA0</value>
</property>
<property name="setupLights" type="String" container="StringMap" arraySize="3">
<value key="DemoPointLightFunctor_CreateLight_2014042816412991_0">Point</value>
<value key="DemoLightFunctor_CreateLight_2015032317110145_0">Spot</value>
<value key="DemoLightFunctor_CreateLight_2014042814583333_0">Spot</value>
</property>
<property name="cameraInterpType" type="int32" container="StaticArray" arraySize="1">
<value>0</value>
</property>
<property name="cameraInterpFrame" type="int32" container="StaticArray" arraySize="1">
<value>60</value>
</property>
<property name="cameraInterpCurveRate" type="float" container="StaticArray" arraySize="1">
<value>0.9</value>
</property>
<property name="cameraInterpScurveCenter" type="float" container="StaticArray" arraySize="1">
<value>0.65</value>
</property>
<property name="cameraTranslation" type="Vector3" container="StaticArray" arraySize="1">
<value x="533.562866" y="336.446167" z="29.679327" w="0" />
</property>
<property name="cameraRotation" type="Quat" container="StaticArray" arraySize="1">
<value x="-0.007841" y="0.737228" z="0.008557" w="0.675545" />
</property>
<property name="cameraParam" type="float" container="StaticArray" arraySize="1">
<value>21.0000038</value>
</property>
<property name="cameraDistanceToLookAt" type="float" container="StaticArray" arraySize="1">
<value>1</value>
</property>
<property name="cameraStartTranslation" type="Vector3" container="StaticArray" arraySize="1">
<value x="530.969055" y="336.158" z="28.9870358" w="0" />
</property>
<property name="cameraStartRotation" type="Quat" container="StaticArray" arraySize="1">
<value x="0.028504" y="0.837521" z="-0.043893" w="0.543893" />
</property>
<property name="cameraStartParam" type="float" container="StaticArray" arraySize="1">
<value>61.7358322</value>
</property>
<property name="cameraStartDistanceToLookAt" type="float" container="StaticArray" arraySize="1">
<value>1.3427</value>
</property>
<property name="eventCacheNum" type="int32" container="StaticArray" arraySize="1">
<value>0</value>
</property>
<property name="eventInterpCacheNum" type="int32" container="StaticArray" arraySize="1">
<value>0</value>
</property>
<property name="eventSkipCacheNum" type="int32" container="StaticArray" arraySize="1">
<value>0</value>
</property>
Edited by townnet
Link to comment
Share on other sites

Go into your dropbox folder and right click on the file and select "Copy Dropbox Link." That should give you a link to the file that I can access.

 

With regards to the camera location, you would have to find where the camera animation curves for that cutscene is stored. I don't think any of the modding tool creators have been able to find and decrypt animation data though. I think for now you will have to just skip the cutscene altogether.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...