Ludeon Forums

RimWorld => Mods => Topic started by: Plasmatic on November 22, 2013, 06:11:13 AM

Title: Maybe I'm just dumb, but...
Post by: Plasmatic on November 22, 2013, 06:11:13 AM
I've been looking through the mod thread and many of the mod packs are good, but not exactly what I wanted.. so I figure I would give modding a shot..

This is when I ran into problems..

I downloaded .NET reflector and the add-on.. but then what?

when I open the program and try to open the .dll I get this screen:
(http://i.imgur.com/q0V64Uv.jpg?1)

what the heck do I do then? I've looked through those headings on the left, but I can't find anything that I would think relates to the game..

Now, I don't know programming, of any language, but I've successfully written *some* HTML and I'm pretty good at reading code in general.. but I can't make heads or tails of this at all..
Title: Re: Maybe I'm just dumb, but...
Post by: Motorkingpus on November 22, 2013, 08:01:51 AM
Look in the Assembly-CSharp, then go into  Assembly-CSharp.dll and then {} -

(http://i42.tinypic.com/2eobg90.jpg)
Title: Re: Maybe I'm just dumb, but...
Post by: Plasmatic on November 22, 2013, 11:01:23 AM
Quote from: Motorkingpus on November 22, 2013, 08:01:51 AM
Look in the Assembly-CSharp, then go into  Assembly-CSharp.dll and then {} -

*Image*

This looks interesting, and most of it is gibberish to me :P

But how do I edit the numbers? seems like the file is read-only (it's not) I've tried pressing the menu buttons, but none of them seem to let me edit anything.

For the record, if you are feeling really nice.. what I am trying to do is:
(*= I know where the value is, I just can't seem to be able to edit it)

Existing mods
-Improved walls mod (more hp, non-flammable)
-Nutrient Paste gives +50 Happiness
-Resource mod, sort of.. (I'd like to get an extra 50-100 metal when I get metal, but keep food the same.. This is not important, as I know the basics of tweaking saves)
-Higher population cap (5x)
-A few more geysers (8-12 on a map)
-A better but non-OP turret, more HP, more accurate (if possible) no explosion.
-Frag grenades that don't destroy sandbags/walls/buildings
-If possible, very high chance to incapacitate vs kill (40-60% chance to incapacitate)
-Non or fewer animals (keep them psycho, just fewer)
-Disable solar flares

Mods that I can't find in Rhodes mod thread, but still want if they are possible at the moment:
-Improved batteries (if possible.. I'd like to see 2500 storage on batteries if possible)

I'd love to make this mod myself, if I A) Knew where to find above variables. B) knew how to modify them.





Title: Re: Maybe I'm just dumb, but...
Post by: Motorkingpus on November 22, 2013, 06:21:16 PM
I have yet to figure that out myself too.   :P
Title: Re: Maybe I'm just dumb, but...
Post by: Yolopanther on November 25, 2013, 03:46:53 AM
pppsssttt, Rhodes, this is where you come in.
Title: Re: Maybe I'm just dumb, but...
Post by: Motorkingpus on November 26, 2013, 02:10:29 AM
The great god has yet to accept our sacrifice.
Title: Re: Maybe I'm just dumb, but...
Post by: why1do on November 26, 2013, 06:51:27 PM
you need to enable the addin

find value(s) then change in box

Finaly save.

(first time doing images...)

EDIT
BACKUP YOUR DILL BEFORE YOU SAVE!!!

[attachment deleted by admin: too old]
Title: Re: Maybe I'm just dumb, but...
Post by: Plasmatic on November 26, 2013, 07:45:21 PM
Thanks! all I need to do now is find all the values I want then :)
Title: Re: Maybe I'm just dumb, but...
Post by: why1do on November 26, 2013, 07:51:55 PM
pretty much, sniper turrets+low cooldown is op
Title: Re: Maybe I'm just dumb, but...
Post by: Motorkingpus on November 27, 2013, 02:58:19 AM
Quote from: why1do on November 26, 2013, 06:51:27 PM


find value(s) then change in box


But that's where problems starts to erupt for me, I'm not able to change the value.
Like here, I want to change the gun to an M-24, but no matter how many times I try to edit it and save it, it stays the same.
(http://i40.tinypic.com/22jpu1.jpg)
Title: Re: Maybe I'm just dumb, but...
Post by: Rhodes on November 27, 2013, 02:08:00 PM
After you modify the value, make sure you scroll back up to Assembly-CSharp and right-click it >> Reflexil >> Save As.
If you don't re-save, any modifications you made won't be applied.  Save it as Assembly-CSharp.dll or you game won't load it.

Also, any changes you make won't display in the code itself until you close the Assembly and re-open it.


Title: Re: Maybe I'm just dumb, but...
Post by: Plasmatic on November 30, 2013, 03:48:20 PM
It's not working..

Changes are saved in the code, but nothing changes in-game, perhaps I'm looking at the wrong value..

(http://i.imgur.com/O4MasNo.jpg)

saved and working when I reopen the file.. but the game still shows 4k generated power..
Is that the right value to change the power output of steam gen?

Am I missing a checkbox?

Title: Re: Maybe I'm just dumb, but...
Post by: palandus on December 23, 2013, 03:33:17 AM
For the steam power theres two values you have to edit. If you only edit one, it will appear as if it did nothing. I believe the first value is in Actor (or w/e its called)
Title: Re: Maybe I'm just dumb, but...
Post by: Arkadiusz103pl on December 23, 2013, 05:07:40 AM
I have a problem, i could not save what i've done.
Pic:
(http://i.imgur.com/DTFFNWr.png)
Title: Re: Maybe I'm just dumb, but...
Post by: why1do on December 23, 2013, 11:13:33 AM
you need to add UnityEngine.dll to the objects
Title: Re: Maybe I'm just dumb, but...
Post by: Arkadiusz103pl on December 24, 2013, 06:07:36 AM
How to do this?
Title: Re: Maybe I'm just dumb, but...
Post by: why1do on December 24, 2013, 11:05:46 AM
drag and drop the file (works for all dll)