Stargate timekeepers part 2 dnspy cheat

Upload *YOUR* gamehacking tools/helpers here
Post Reply
gorsan
Expert Cheater
Expert Cheater
Posts: 144
Joined: Fri Mar 10, 2017 5:54 pm
Reputation: 23

Stargate timekeepers part 2 dnspy cheat

Post by gorsan »

just change Assembly-CSharp.dll with dnsspy

scannerparamsdata is the part you have to change

this is a vision cheat

Code: Select all

using System;
using UnityEngine;

// Token: 0x0200061D RID: 1565
public struct ScannerParamsData
{
	// Token: 0x060028FD RID: 10493
	public void Set(float perfectRecognitionLength, float maxRecognitionLength, float fovHalfDegrees, ScannerModifierData data)
	{
		this.PerfectRecognitionLength = 0f * perfectRecognitionLength * data.PerfectDistMultiplier;
		this.MaxRecognitionLength = 0f * maxRecognitionLength * data.MaxDistMultiplier;
		this.FovHalfDegrees = fovHalfDegrees * data.FovMultiplier;
		this.DetectionTimeMultiplier =  data.MaxDistMultiplier;
	}

	// Token: 0x060028FE RID: 10494
	public void Lerp(ref ScannerParamsData start, ref ScannerParamsData dest, float value)
	{
		this.PerfectRecognitionLength = 0f * Mathf.Lerp(start.PerfectRecognitionLength, dest.PerfectRecognitionLength, value);
		this.MaxRecognitionLength = 0f * Mathf.Lerp(start.MaxRecognitionLength, dest.MaxRecognitionLength, value);
		this.FovHalfDegrees = Mathf.Lerp(start.FovHalfDegrees, dest.FovHalfDegrees, value);
		this.DetectionTimeMultiplier = Mathf.Lerp(start.DetectionTimeMultiplier, dest.DetectionTimeMultiplier, value);
		this.PerfectDetectionLengthSqr = 0f * this.PerfectRecognitionLength * this.PerfectRecognitionLength;
		this.MaxDetectionLengthSqr = 0f * this.MaxRecognitionLength * this.MaxRecognitionLength;
	}

	// Token: 0x0400257E RID: 9598
	public float PerfectRecognitionLength;

	// Token: 0x0400257F RID: 9599
	public float MaxRecognitionLength;

	// Token: 0x04002580 RID: 9600
	public float FovHalfDegrees;

	// Token: 0x04002581 RID: 9601
	public float PerfectDetectionLengthSqr;

	// Token: 0x04002582 RID: 9602
	public float MaxDetectionLengthSqr;

	// Token: 0x04002583 RID: 9603
	public float DetectionTimeMultiplier;
}
Last edited by gorsan on Tue Feb 25, 2025 1:50 pm, edited 1 time in total.

gorsan
Expert Cheater
Expert Cheater
Posts: 144
Joined: Fri Mar 10, 2017 5:54 pm
Reputation: 23

Re: Stargate timekeepers part 2 dnspy cheat

Post by gorsan »

this is the Assembly-CSharp.dll file

if it is not working your version is not the correct one just manually do above
Attachments
Assembly-CSharp.rar
(789.79 KiB) Downloaded 36 times

Post Reply

Who is online

Users browsing this forum: The Mogician