Outward assembly_Csharp
Outward assembly_Csharp
Can someone help me figure out this which line does the bag/pouch been edited with 500 weight in it?
Cause i wanna edit it more of it but cant figure out where that line is..
[Link]
Cause i wanna edit it more of it but cant figure out where that line is..
[Link]
Re: Outward assembly_Csharp
Im not sure EXACTLY what happened but I did edit 2 locations in the assembly and managed to boost the pocket carry weight to 810 even though i only used a +100 integer in 2 locations to test with
These are the 2 areas I edited
CharacterEquipment Line 585
Equipement Line 445
These are the 2 areas I edited
CharacterEquipment Line 585
Equipement Line 445
Re: Outward assembly_Csharp
I still dont get you, those line are both bonus pouch and and total cap on pouch as you mean?Emlorp wrote: ↑Mon Apr 01, 2019 5:55 pmIm not sure EXACTLY what happened but I did edit 2 locations in the assembly and managed to boost the pocket carry weight to 810 even though i only used a +100 integer in 2 locations to test with
These are the 2 areas I edited
CharacterEquipment Line 585
Equipement Line 445
Can you shown me the edited code you did?
Re: Outward assembly_Csharp
The equipment code for me looks like
The CharacterEquipment code for me
Code: Select all
public float PouchCapacityBonus
{
get
{
if (this.Stats != null)
{
return this.Stats.PouchCapacityBonus + 100f;
}
return 0f;
Code: Select all
public float GetEquipementPouchBonus()
{
return this.m_totalPouchCapacityBonus + 100f;
}
-
- Expert Cheater
- Posts: 852
- Joined: Fri Oct 12, 2018 10:25 pm
- Reputation: 896
Re: Outward assembly_Csharp
You can just do the same with a script. Why edit the assembly?
Re: Outward assembly_Csharp
honestly skimming through the assembly and seeing stuff is more readable to me to alter... i dont know much on scripting or anything thus I have no idea how 100f ended up adding 800 carryweightGreenHouse wrote: ↑Mon Apr 01, 2019 8:33 pmYou can just do the same with a script. Why edit the assembly?
AAAND... i just accidently made unlimited mag for guns
Re: Outward assembly_Csharp
I changed the Unload in WeaponLoadout to
so instead of remaining shots =0 and causing a reload once a bullet is loaded it automatically gets 2 shots once empty
Code: Select all
public virtual void Unload()
{
this.m_remainingShots = 2;
this.PutBackVisuals();
this.m_loadedVisual = null;
this.m_loadedItemID = -1;
this.m_pendingLoading = false;
this.m_projectileImbuedEffects.Clear();
this.m_imbuedFXs.Clear();
base.SetHasChanged();
Re: Outward assembly_Csharp
Scripting in CE need more time then just go in assembly and add in some int/float to work which i find it like more understandable to me.GreenHouse wrote: ↑Mon Apr 01, 2019 8:33 pmYou can just do the same with a script. Why edit the assembly?
Last edited by iicecube on Mon Apr 01, 2019 9:01 pm, edited 1 time in total.
Re: Outward assembly_Csharp
This is what i always getting when compile, did you do something else to get it compile?Emlorp wrote: ↑Mon Apr 01, 2019 8:25 pmThe equipment code for me looks likeThe CharacterEquipment code for meCode: Select all
public float PouchCapacityBonus { get { if (this.Stats != null) { return this.Stats.PouchCapacityBonus + 100f; } return 0f;
Code: Select all
public float GetEquipementPouchBonus() { return this.m_totalPouchCapacityBonus + 100f; }
[Link]
Re: Outward assembly_Csharp
What are you using to compile it? I used DnSpy and it worked for me out of the box.iicecube wrote: ↑Mon Apr 01, 2019 8:59 pmThis is what i always getting when compile, did you do something else to get it compile?Emlorp wrote: ↑Mon Apr 01, 2019 8:25 pmThe equipment code for me looks likeThe CharacterEquipment code for meCode: Select all
public float PouchCapacityBonus { get { if (this.Stats != null) { return this.Stats.PouchCapacityBonus + 100f; } return 0f;
Code: Select all
public float GetEquipementPouchBonus() { return this.m_totalPouchCapacityBonus + 100f; }
[Link]
Re: Outward assembly_Csharp
What version dnspy you using? I feel that cause the problem as i using 6.04Emlorp wrote: ↑Mon Apr 01, 2019 9:08 pmWhat are you using to compile it? I used DnSpy and it worked for me out of the box.iicecube wrote: ↑Mon Apr 01, 2019 8:59 pmThis is what i always getting when compile, did you do something else to get it compile?Emlorp wrote: ↑Mon Apr 01, 2019 8:25 pmThe equipment code for me looks likeThe CharacterEquipment code for meCode: Select all
public float PouchCapacityBonus { get { if (this.Stats != null) { return this.Stats.PouchCapacityBonus + 100f; } return 0f;
Code: Select all
public float GetEquipementPouchBonus() { return this.m_totalPouchCapacityBonus + 100f; }
[Link]
Re: Outward assembly_Csharp
dnSpy v6.0.4 (64-bit)
Re: Outward assembly_Csharp
looking through regedit version is 4.7.03190
also have 3.5.30729.4926 (3.5) and 3.0.30729.4926 (3.0) apparently installed
also have 3.5.30729.4926 (3.5) and 3.0.30729.4926 (3.0) apparently installed
Who is online
Users browsing this forum: No registered users