Enter the Gungeon

Upload your cheat tables here (No requests)
webb
What is cheating?
What is cheating?
Posts: 4
Joined: Fri Jul 27, 2018 1:45 am
Reputation: 0

Enter the Gungeon

Post by webb »

Do you mind if I use your GUI code to create a cheat mod so anyone can build it themselves or share it via similar to ETGMod?
MBRKiNG, post: 52982, member: 13227 wrote:updated to 2.0.8

download link below

viewtopic.php?t=689

added:

quick Reload (can now enabled/disabled)

give Armor (once added Armor disable the code or Ai can not be killed)

all Chests Rainbow (all chests will be spawn as rainbow)



last update for me im done with this game

Source Code Simple Cheat Menu 8 buttons

using UnityEngine;

public class modmenu : MonoBehaviour {

public static bool cheat1;

public static bool cheat2;

public static bool cheat3;

public static bool cheat4;

public static bool cheat5;

public static bool cheat6;

public static bool cheat7;

public static bool cheat8;

public static string string1;

public static string string2;

public static string string3;

public static string string4;

public static string string5;

public static string string6;

public static string string7;

public static string string8;

public static bool ShowHide = false;



public static void MyGUI() {



if (GUI.Button (new Rect (20, 20, 130f, 30f), "Cheat Menu")) {

ShowHide = !ShowHide;

}



if (ShowHide) {

GUI.Box (new Rect (20, 50, 180, 325), "Modded by XXX");

if (GUI.Button (new Rect (25, 80, 170f, 30f), string1)) {

cheat1 = !cheat1;

}

if (GUI.Button (new Rect (25, 115, 170f, 30f), string2)) {

cheat2 = !cheat2;

}

if (GUI.Button (new Rect (25, 150, 170f, 30f), string3)) {

cheat3 = !cheat3;

}

if (GUI.Button (new Rect (25, 185, 170f, 30f), string4)) {

cheat4 = !cheat4;

}

if (GUI.Button (new Rect (25, 220, 170f, 30f), string5)) {

cheat5 = !cheat5;

}

if (GUI.Button (new Rect (25, 255, 170f, 30f), string6)) {

cheat6 = !cheat6;

}

if (GUI.Button (new Rect (25, 290, 170f, 30f), string7)) {

cheat7 = !cheat7;

}

if (GUI.Button (new Rect (25, 325, 170f, 30f), string8)) {

cheat8 = !cheat8;

}

}



if (cheat1) {

string1 = "cheatname1 ON";

cheat1 = false;

} else {

string1 = "cheatname1 OFF";

cheat1 = true;

}



if (cheat2) {

string2 = "cheatname2 ON";

cheat2 = false;

} else {

string2 = "cheatname2 OFF";

cheat2 = true;

}



if (cheat3) {

string3 = "cheatname3 ON";

cheat3 = false;

} else {

string3 = "cheatname3 OFF";

cheat3 = true;

}

if (cheat4) {

string4 = "cheatname4 ON";

cheat4 = false;

} else {

string4 = "cheatname4 OFF";

cheat4 = true;

}

if (cheat5) {

string5 = "cheatname5 ON";

cheat5 = false;

} else {

string5 = "cheatname5 OFF";

cheat5 = true;

}

if (cheat6) {

string6 = "cheatname6 ON";

cheat6 = false;

} else {

string6 = "cheatname6 OFF";

cheat6 = true;

}

if (cheat7) {

string7 = "cheatname7 ON";

cheat7 = false;

} else {

string7 = "cheatname7 OFF";

cheat7 = true;

}

if (cheat8) {

string8 = "cheatname8 ON";

cheat8 = false;

} else {

string8 = "cheatname8 OFF";

cheat8 = true;

}

}

private void OnGUI ()

{



MyGUI ();

}

}




tutorial here

[Link]


How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

etogege1437
What is cheating?
What is cheating?
Posts: 1
Joined: Wed Aug 15, 2018 3:15 pm
Reputation: 0

Enter the Gungeon

Post by etogege1437 »

[QUOTE="Nothing, post: 53883, member: 19857"]Updated for 2.0.10.[/QUOTE]

Thanks for the cheat. The cheat work great but I'm not sure why the cheat is gone after the first playthrough.

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Enter the Gungeon

Post by Fantus »

This is a modified version of some other users own cheat menu, I added a few things like

- Spawn Rat Keys

- Spawn Golden Junk

- Spawn Ammo

[B]- Input your own ID you want to spawn[/B]

- And more



To install, Back up your current Assembly-CSharp.dll found in steamapps/common/Enter The Gungeon/EtG_Data/Managed

Then extract the .zip and move the new Assembly-CSharp.dll in its place

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

Added bindings for Health (F1) Ammo (F2) Armor (F3)

Updated for ETG 2.0.12
Reply if you get any bugs or have any suggestions
Attachments
Assembly-CSharp With HotKeys.zip
(2.46 MiB) Downloaded 59 times

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

List of most New gun IDS because Gungeongod doesn't have them
Rat Key: 727
Big shotgun: 601
Bubble Blaster: 599
Stone Dome: 598
Life Orb: 595
Mr. Accretion JR.: 597
AC-15: 545
The Exotic: 563
Rubenstien's monster: 609
Boxing Glove: 539
Combined Rifle: 519
Elimentaler: 626
High Dragunfire: 670
Mimic gun: 734
--Turbo-gun:
Wood beam: 610
Micro transaction gun: 476


Advanced follower thing: 735
Baby good mimic: 664
Bumbullets: 630
Crisis stone: 634
Daruma: 643
Devolver rounds: 638
--Gnawed Key:
Gold Junk: 641
Holey Grail: 631
Hungry bullets: 655
Macho Brace: 665
Partially-eaten cheese: 662
Portable table device: 644
Platinum Bullets: 627
Rat boots: 667
Resourceful sack: 663
Ring of the resourceful rat: 463
Snowballets: 636
Turkey: 632
--Table tech shotgun:
Vorpal bullets: 640
Weird Egg: 637

User avatar
TheMenda
Cheater
Cheater
Posts: 26
Joined: Mon Apr 17, 2017 11:19 am
Reputation: 2

Re: Enter the Gungeon

Post by TheMenda »

Fantus wrote:
Sat Aug 18, 2018 10:01 pm
Added bindings for Health (F1) Ammo (F2) Armor (F3)
Thanks, this is soooo helpful!
Apparently my post suggesting the keybindings disappeared (?)

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

TheMenda wrote:
Sun Aug 19, 2018 4:08 am
Fantus wrote:
Sat Aug 18, 2018 10:01 pm
Added bindings for Health (F1) Ammo (F2) Armor (F3)
Thanks, this is soooo helpful!
Apparently my post suggesting the keybindings disappeared (?)
That would be with forums update I think,
Anyway been working on this all day, got rat punchout cheats working
- Max HP (F4)
- Max Super (F5)
These Keys can be difficult to press when in the punchout if you just want to finish the fight spam supers
Attachments
Assembly-CSharpHotKeys+Punchout.zip
(2.46 MiB) Downloaded 52 times

levewhirl
Noobzor
Noobzor
Posts: 9
Joined: Tue Aug 07, 2018 7:52 pm
Reputation: 0

Re: Enter the Gungeon

Post by levewhirl »

So i took fantus's script and added in the Spawn Chosen Items(the one that gives you all the items making you pretty much unkillable), and added a hotkey to add blanks. I wanna add in Glitch Chest spawning, but can't find it yet:P
Attachments
Drop in Managed Folder.zip
(2.37 MiB) Downloaded 51 times

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

levewhirl wrote:
Mon Aug 20, 2018 3:36 pm
So i took fantus's script and added in the Spawn Chosen Items(the one that gives you all the items making you pretty much unkillable), and added a hotkey to add blanks. I wanna add in Glitch Chest spawning, but can't find it yet:P
Been looking for glitched chest for a little while now, no clue where it is

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

levewhirl wrote:
Mon Aug 20, 2018 3:36 pm
So i took fantus's script and added in the Spawn Chosen Items(the one that gives you all the items making you pretty much unkillable), and added a hotkey to add blanks. I wanna add in Glitch Chest spawning, but can't find it yet:P
Also I get like 50 errors when I try to edit yours

levewhirl
Noobzor
Noobzor
Posts: 9
Joined: Tue Aug 07, 2018 7:52 pm
Reputation: 0

Re: Enter the Gungeon

Post by levewhirl »

Fantus wrote:
Mon Aug 20, 2018 7:30 pm
levewhirl wrote:
Mon Aug 20, 2018 3:36 pm
So i took fantus's script and added in the Spawn Chosen Items(the one that gives you all the items making you pretty much unkillable), and added a hotkey to add blanks. I wanna add in Glitch Chest spawning, but can't find it yet:P
Also I get like 50 errors when I try to edit yours
wait what?0_0 i use DNspy to edit, i've never run into errors before :O
heres the code i took with the stuff i added in.
Spoiler
private void OnGUI()
{
int[] array = new int[]
{
131,
102,
212,
115,
309,
457,
170,
281,
260,
262,
263,
264,
466,
269,
270,
307,
343,
437,
452,
454,
490,
491,
492,
249,
301,
318,
442,
232,
451,
461,
494,
434,
271,
529,
572,
564,
580,
526,
641
};
GUI.Label(new Rect(175f, 20f, 200f, 25f), "Give Heart (F1)");
GUI.Label(new Rect(175f, 40f, 200f, 25f), "Give Ammo (F2)");
GUI.Label(new Rect(175f, 60f, 200f, 25f), "Give Armor (F3)");
GUI.Label(new Rect(175f, 80f, 200f, 25f), "Punchout Max Health (F4)");
GUI.Label(new Rect(175f, 100f, 200f, 25f), "Punchout Max Super (F5)");
GUI.Label(new Rect(175f, 120f, 200f, 25f), "Give Blank (F6)");
if (Input.GetKeyDown(KeyCode.F1) && !this.spawning)
{
base.StartCoroutine(this.SpawnHeart());
}
if (Input.GetKeyDown(KeyCode.F2) && !this.spawning)
{
base.StartCoroutine(this.SpawnAmmo());
}
if (Input.GetKeyDown(KeyCode.F3) && !this.spawning)
{
base.StartCoroutine(this.SpawnArmor());
}
if (Input.GetKeyDown(KeyCode.F6) && !this.spawning)
{
base.StartCoroutine(this.SpawnBlank());
}
if (GUI.Button(new Rect(20f, 20f, 130f, 30f), "Cheat Menu"))
{
PauseMenuController.ShowHide = !PauseMenuController.ShowHide;
}
if (PauseMenuController.ShowHide)
{
GUI.Box(new Rect(20f, 50f, 180f, 325f), "");
if (GUI.Button(new Rect(25f, 80f, 170f, 30f), "Give Ammo"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(78).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 115f, 170f, 30f), "Give Junkan"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(580).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 150f, 170f, 30f), "Give Heart"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(85).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 185f, 170f, 30f), "Give Key"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(67).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 220f, 170f, 30f), "Give Blank"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(224).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 255f, 170f, 30f), "Give Armor"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(120).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 290f, 170f, 30f), "Give Rat Key"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(727).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 325f, 170f, 30f), "Give Ancient Bandana"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(255).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 360f, 170f, 30f), "Give Gold Junk"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(641).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 395f, 170f, 30f), "Spawn Rainbow Chest"))
{
Chest rainbow_Chest = GameManager.Instance.RewardManager.Rainbow_Chest;
IntVector2 basePosition = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(rainbow_Chest, basePosition);
}
if (GUI.Button(new Rect(25f, 430f, 170f, 30f), "Spawn Black Chest"))
{
Chest s_Chest = GameManager.Instance.RewardManager.S_Chest;
IntVector2 basePosition2 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(s_Chest, basePosition2);
}
if (GUI.Button(new Rect(25f, 465f, 170f, 30f), "Spawn Synergy Chest"))
{
Chest synergy_Chest = GameManager.Instance.RewardManager.Synergy_Chest;
IntVector2 basePosition3 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(synergy_Chest, basePosition3);
}
if (GUI.Button(new Rect(25f, 500f, 170f, 30f), "Spawn Red/Gold Chest"))
{
Chest a_Chest = GameManager.Instance.RewardManager.A_Chest;
IntVector2 basePosition4 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(a_Chest, basePosition4);
}
if (GUI.Button(new Rect(25f, 535f, 170f, 30f), "Give 50 Casings"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(74).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 570f, 170f, 30f), "Give Hegemony 50 Credit"))
{
for (int i = 0; i < 50; i++)
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(297).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
}
if (GUI.Button(new Rect(25f, 605f, 170f, 30f), "Spawn Chosen Items"))
{
for (int j = 0; j < array.Length; j++)
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(array[j]).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
}
this.test = GUI.TextField(new Rect(25f, 640f, 170f, 30f), this.test, 25);
this.IDtoSpawn = int.Parse(this.test);
if (GUI.Button(new Rect(25f, 675f, 170f, 30f), "Spawn ID"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(this.IDtoSpawn).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
}
}

// Token: 0x06008D47 RID: 36167 RVA: 0x00051751 File Offset: 0x0004F951
private IEnumerator SpawnHeart()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(85).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x06008D48 RID: 36168 RVA: 0x00051760 File Offset: 0x0004F960
private IEnumerator SpawnAmmo()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(78).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x06008D49 RID: 36169 RVA: 0x0005176F File Offset: 0x0004F96F
private IEnumerator SpawnArmor()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(120).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x06008D4A RID: 36170 RVA: 0x0005177E File Offset: 0x0004F97E
private IEnumerator SpawnBlank()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(224).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x040093FC RID: 37884
public dfButton ExitToMainMenuButton;

// Token: 0x040093FD RID: 37885
public dfButton ReturnToGameButton;

// Token: 0x040093FE RID: 37886
public dfButton BestiaryButton;

// Token: 0x040093FF RID: 37887
public dfButton QuickRestartButton;

// Token: 0x04009400 RID: 37888
public dfButton QuitGameButton;

// Token: 0x04009401 RID: 37889
public dfButton OptionsButton;

// Token: 0x04009402 RID: 37890
public dfTextureSprite PauseBGSprite;

// Token: 0x04009403 RID: 37891
public FullOptionsMenuController OptionsMenu;

// Token: 0x04009404 RID: 37892
public List<GameObject> AdditionalMenuElementsToClear;

// Token: 0x04009405 RID: 37893
public dfPanel metaCurrencyPanel;

// Token: 0x04009406 RID: 37894
public AnimationCurve ShwoopInCurve;

// Token: 0x04009407 RID: 37895
public AnimationCurve ShwoopOutCurve;

// Token: 0x04009408 RID: 37896
public float DelayDFAnimatorsTime = 0.3f;

// Token: 0x04009409 RID: 37897
private dfPanel m_panel;

// Token: 0x0400940A RID: 37898
private bool m_buttonsOffsetForDoubleHeight;

// Token: 0x0400940B RID: 37899
private const float c_FrenchVertOffsetUp = 18f;

// Token: 0x0400940C RID: 37900
private const float c_FrenchVertOffsetDown = 24f;

// Token: 0x0400940D RID: 37901
public static bool ShowHide = false;

// Token: 0x0400940E RID: 37902
public static bool cheatSpawnItems = false;

// Token: 0x0400940F RID: 37903
public static string cheatSpawnItemsString = "Spawn Items";

// Token: 0x04009410 RID: 37904
private string test = "";

// Token: 0x04009411 RID: 37905
private int IDtoSpawn = 1;

// Token: 0x04009412 RID: 37906
private bool spawning;
}
And if you want my testing script for trying to get the glitch chest working so far:
Spoiler
if (GUI.Button(new Rect(25f, 535f, 170f, 30f), "Spawn Glitch Chest"))
{
Chest b_Chest = GameManager.Instance.RewardManager.B_Chest;
IntVector2 basePosition5 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
b_Chest.BecomeGlitchChest();
Chest.Spawn(b_Chest, basePosition5);
}

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

levewhirl wrote:
Mon Aug 20, 2018 9:54 pm
Fantus wrote:
Mon Aug 20, 2018 7:30 pm
levewhirl wrote:
Mon Aug 20, 2018 3:36 pm
So i took fantus's script and added in the Spawn Chosen Items(the one that gives you all the items making you pretty much unkillable), and added a hotkey to add blanks. I wanna add in Glitch Chest spawning, but can't find it yet:P
Also I get like 50 errors when I try to edit yours
wait what?0_0 i use DNspy to edit, i've never run into errors before :O
heres the code i took with the stuff i added in.
Spoiler
private void OnGUI()
{
int[] array = new int[]
{
131,
102,
212,
115,
309,
457,
170,
281,
260,
262,
263,
264,
466,
269,
270,
307,
343,
437,
452,
454,
490,
491,
492,
249,
301,
318,
442,
232,
451,
461,
494,
434,
271,
529,
572,
564,
580,
526,
641
};
GUI.Label(new Rect(175f, 20f, 200f, 25f), "Give Heart (F1)");
GUI.Label(new Rect(175f, 40f, 200f, 25f), "Give Ammo (F2)");
GUI.Label(new Rect(175f, 60f, 200f, 25f), "Give Armor (F3)");
GUI.Label(new Rect(175f, 80f, 200f, 25f), "Punchout Max Health (F4)");
GUI.Label(new Rect(175f, 100f, 200f, 25f), "Punchout Max Super (F5)");
GUI.Label(new Rect(175f, 120f, 200f, 25f), "Give Blank (F6)");
if (Input.GetKeyDown(KeyCode.F1) && !this.spawning)
{
base.StartCoroutine(this.SpawnHeart());
}
if (Input.GetKeyDown(KeyCode.F2) && !this.spawning)
{
base.StartCoroutine(this.SpawnAmmo());
}
if (Input.GetKeyDown(KeyCode.F3) && !this.spawning)
{
base.StartCoroutine(this.SpawnArmor());
}
if (Input.GetKeyDown(KeyCode.F6) && !this.spawning)
{
base.StartCoroutine(this.SpawnBlank());
}
if (GUI.Button(new Rect(20f, 20f, 130f, 30f), "Cheat Menu"))
{
PauseMenuController.ShowHide = !PauseMenuController.ShowHide;
}
if (PauseMenuController.ShowHide)
{
GUI.Box(new Rect(20f, 50f, 180f, 325f), "");
if (GUI.Button(new Rect(25f, 80f, 170f, 30f), "Give Ammo"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(78).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 115f, 170f, 30f), "Give Junkan"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(580).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 150f, 170f, 30f), "Give Heart"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(85).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 185f, 170f, 30f), "Give Key"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(67).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 220f, 170f, 30f), "Give Blank"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(224).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 255f, 170f, 30f), "Give Armor"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(120).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 290f, 170f, 30f), "Give Rat Key"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(727).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 325f, 170f, 30f), "Give Ancient Bandana"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(255).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 360f, 170f, 30f), "Give Gold Junk"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(641).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 395f, 170f, 30f), "Spawn Rainbow Chest"))
{
Chest rainbow_Chest = GameManager.Instance.RewardManager.Rainbow_Chest;
IntVector2 basePosition = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(rainbow_Chest, basePosition);
}
if (GUI.Button(new Rect(25f, 430f, 170f, 30f), "Spawn Black Chest"))
{
Chest s_Chest = GameManager.Instance.RewardManager.S_Chest;
IntVector2 basePosition2 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(s_Chest, basePosition2);
}
if (GUI.Button(new Rect(25f, 465f, 170f, 30f), "Spawn Synergy Chest"))
{
Chest synergy_Chest = GameManager.Instance.RewardManager.Synergy_Chest;
IntVector2 basePosition3 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(synergy_Chest, basePosition3);
}
if (GUI.Button(new Rect(25f, 500f, 170f, 30f), "Spawn Red/Gold Chest"))
{
Chest a_Chest = GameManager.Instance.RewardManager.A_Chest;
IntVector2 basePosition4 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
Chest.Spawn(a_Chest, basePosition4);
}
if (GUI.Button(new Rect(25f, 535f, 170f, 30f), "Give 50 Casings"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(74).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
if (GUI.Button(new Rect(25f, 570f, 170f, 30f), "Give Hegemony 50 Credit"))
{
for (int i = 0; i < 50; i++)
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(297).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
}
if (GUI.Button(new Rect(25f, 605f, 170f, 30f), "Spawn Chosen Items"))
{
for (int j = 0; j < array.Length; j++)
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(array[j]).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
}
this.test = GUI.TextField(new Rect(25f, 640f, 170f, 30f), this.test, 25);
this.IDtoSpawn = int.Parse(this.test);
if (GUI.Button(new Rect(25f, 675f, 170f, 30f), "Spawn ID"))
{
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(this.IDtoSpawn).gameObject, GameManager.Instance.PrimaryPlayer, true);
}
}
}

// Token: 0x06008D47 RID: 36167 RVA: 0x00051751 File Offset: 0x0004F951
private IEnumerator SpawnHeart()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(85).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x06008D48 RID: 36168 RVA: 0x00051760 File Offset: 0x0004F960
private IEnumerator SpawnAmmo()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(78).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x06008D49 RID: 36169 RVA: 0x0005176F File Offset: 0x0004F96F
private IEnumerator SpawnArmor()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(120).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x06008D4A RID: 36170 RVA: 0x0005177E File Offset: 0x0004F97E
private IEnumerator SpawnBlank()
{
this.spawning = true;
LootEngine.TryGivePrefabToPlayer(PickupObjectDatabase.GetById(224).gameObject, GameManager.Instance.PrimaryPlayer, true);
yield return new WaitForSeconds(0.05f);
this.spawning = false;
yield break;
}

// Token: 0x040093FC RID: 37884
public dfButton ExitToMainMenuButton;

// Token: 0x040093FD RID: 37885
public dfButton ReturnToGameButton;

// Token: 0x040093FE RID: 37886
public dfButton BestiaryButton;

// Token: 0x040093FF RID: 37887
public dfButton QuickRestartButton;

// Token: 0x04009400 RID: 37888
public dfButton QuitGameButton;

// Token: 0x04009401 RID: 37889
public dfButton OptionsButton;

// Token: 0x04009402 RID: 37890
public dfTextureSprite PauseBGSprite;

// Token: 0x04009403 RID: 37891
public FullOptionsMenuController OptionsMenu;

// Token: 0x04009404 RID: 37892
public List<GameObject> AdditionalMenuElementsToClear;

// Token: 0x04009405 RID: 37893
public dfPanel metaCurrencyPanel;

// Token: 0x04009406 RID: 37894
public AnimationCurve ShwoopInCurve;

// Token: 0x04009407 RID: 37895
public AnimationCurve ShwoopOutCurve;

// Token: 0x04009408 RID: 37896
public float DelayDFAnimatorsTime = 0.3f;

// Token: 0x04009409 RID: 37897
private dfPanel m_panel;

// Token: 0x0400940A RID: 37898
private bool m_buttonsOffsetForDoubleHeight;

// Token: 0x0400940B RID: 37899
private const float c_FrenchVertOffsetUp = 18f;

// Token: 0x0400940C RID: 37900
private const float c_FrenchVertOffsetDown = 24f;

// Token: 0x0400940D RID: 37901
public static bool ShowHide = false;

// Token: 0x0400940E RID: 37902
public static bool cheatSpawnItems = false;

// Token: 0x0400940F RID: 37903
public static string cheatSpawnItemsString = "Spawn Items";

// Token: 0x04009410 RID: 37904
private string test = "";

// Token: 0x04009411 RID: 37905
private int IDtoSpawn = 1;

// Token: 0x04009412 RID: 37906
private bool spawning;
}
And if you want my testing script for trying to get the glitch chest working so far:
Spoiler
if (GUI.Button(new Rect(25f, 535f, 170f, 30f), "Spawn Glitch Chest"))
{
Chest b_Chest = GameManager.Instance.RewardManager.B_Chest;
IntVector2 basePosition5 = new IntVector2((int)GameManager.Instance.PrimaryPlayer.transform.position.x, (int)GameManager.Instance.PrimaryPlayer.transform.position.y);
b_Chest.BecomeGlitchChest();
Chest.Spawn(b_Chest, basePosition5);
}
Very strange, anyway, I've also been trying to get glitch chests to work, I have them spawn in and look like glitch chests but they act like regular chests

levewhirl
Noobzor
Noobzor
Posts: 9
Joined: Tue Aug 07, 2018 7:52 pm
Reputation: 0

Re: Enter the Gungeon

Post by levewhirl »

Fantus wrote:
Tue Aug 21, 2018 5:01 am

Very strange, anyway, I've also been trying to get glitch chests to work, I have them spawn in and look like glitch chests but they act like regular chests
I think it's to do with calling upon a teleport function or something similar when opening the chest, so I've looked there, but so far no dice. Tried looking at floors as well but its a lot of information to sift through.

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

levewhirl wrote:
Tue Aug 21, 2018 5:50 am

I think it's to do with calling upon a teleport function or something similar when opening the chest, so I've looked there, but so far no dice. Tried looking at floors as well but its a lot of information to sift through.
Hmm, perhaps we could look at completely bypassing spawning in the chest and just teleport to the glitched chamber.

User avatar
Fantus
Cheater
Cheater
Posts: 26
Joined: Wed Aug 15, 2018 7:24 pm
Reputation: 12

Re: Enter the Gungeon

Post by Fantus »

found this in Beholster Code
if (base.aiActor.ParentRoom != null && base.aiActor.ParentRoom.area.PrototypeRoomName == "DoubleBeholsterRoom01")
{
GameManager.Instance.Dungeon.IsGlitchDungeon = true;
base.healthHaver.SetHealthMaximum(base.healthHaver.GetMaxHealth() * this.GlitchWorldHealthModifier, null, false);
base.healthHaver.ForceSetCurrentHealth(base.healthHaver.GetMaxHealth());
base.sprite.usesOverrideMaterial = true;
base.sprite.renderer.material.shader = ShaderCache.Acquire("Brave/Internal/Glitch");
}
If we can find a way to teleport to "DoubleBeholsterRoom01"
Update:
Found a way to change floors but DoubleBeholsterRoom01 doesnt work:
GameManager.Instance.DelayedLoadCustomLevel(0.1f, "ROOM ID THING HERE");

Post Reply

Who is online

Users browsing this forum: AmazonBot, Baidu [Spider], coccocbot-web, DrummerIX, Eren, FisheR47, HighVoltage, Isan, sakuchi123, Send, sundrops, Wuckles