Ludeon Forums

Ludeon Forums

  • April 07, 2020, 11:17:53 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - CrazyMalk

Pages: [1]
1
Help / Referencing to a custom HeddifDefOf inside C# code
« on: April 17, 2018, 07:42:34 PM »
So, I created a projectile that aplies a custom disease when it hits the target, but when i reffer to "HediffWithComps.HediffWithComps_Petrification", i get the following error:
Code: [Select]
Error CS0117 'HediffWithComps' does not contain a definition for 'HediffWithComps_Petrification'
What should I do?

2
Help / Blue numbers in FoodTypeFlags
« on: February 01, 2018, 12:13:39 PM »
Hello! I'm a big newbie when the subject is programming, and while exploring the game with ILSpy, i decided to try learning how DendrovoreAnimal works, and it led me to FoodTypeFlags. But i cannot understand what the numbers in front of each type of food means (Eg.: Tree = 128, or  DendrovoreAnimal = 2705,)

This can be something really basic, but as I said, I am a big newbie to this subject ._. Can anyone help me?

3
Help / "'X' already has short hash" Error
« on: November 29, 2017, 04:01:05 PM »
Hi! I'm trying to add musical instruments to the game, but when i launch the game, i get a lot of errors. When creating a game, the log list updates again. Can someone help a lost fellow modder? Here is the log:
https://gist.github.com/HugsLibRecordKeeper/3452d0543f603cfca5c9f82d42a2232f

4
Help / Editing "ITab_Pawn_Character" interface
« on: November 04, 2017, 06:24:59 PM »
Hello, I'm trying to edit the interface from the pawn's Character tab and add a Scroll Bar into it, to make you able to see new skills added by mods. I thought about using a scrollbar from another mod like EDB Prepare Carefully, or even from vanilla RimWorld... But i can't even find, with IlSpy, the interface itself to edit. Can someone with more experience (that I, for sure, don't have) show me the path to find the skills interface in Character Tab and Character Creation, if possible?

5
Help / Implementing XML heddiff into C# code
« on: November 02, 2017, 02:40:52 PM »
Hello, i'm a newbie to C#, and would like some help, please :P
 I created a custom Heddiff using XML, and using C# i followed jecrell's tutorial.
 But, instead of using Plague, like the tutorial used, i wanted to use my own heddiff. How can i implement it into the Visual Studio project?

6
Help / Help with custom bodies limb coverage?
« on: October 12, 2017, 04:30:37 PM »
So... I'm trying to create some new bodies to my creatures with some extra legs and fewer claws... But the body coverage thing is melting my brain. Is there any way to easily calculate body coverage for each part, or will i need to make lots of math and logic?

Thanks in advance :D

7
Hello! I would like to ask some questions, so forgive me for my bad english!
  First of all, is it possible to create an animal that fires projectiles, during certain circunstances, like when both the creature and the target are looking at each other?
  Second, is it possible to make that projectile create some custom health condition?
  Third, if the answer for the second question is yes, would it be possible to make that health condition only being created with a certain chance?

I'm trying to make an animal that deals a health condition when the target is looking to it, and it is looking at the target, but not every time it happens. Something like a Medusa, for example. In the beginning, i was thinking of something like in the Rim of Madness mod, when you look at the creature you get the health condition. But with a projectile, you could use a certain item from JecsTools to deflect the attack, for example.

8
Help / Help with a furniture
« on: April 13, 2017, 06:52:12 PM »
I'm trying to make a simple mod for personal use that adds a lute and a harp furniture that gives joy to a colonist to use them, but every tutorial that i find is outdated or dont help with joy giving things. Someone can help me?
Thanks.

Pages: [1]