Jump to content

Looking for co-modder that khnows code!


Recommended Posts

So i had an idea of a character mod.

:idea:

its a plague and rot creature 

stats:

hp:175

sanity:120

hunger:200

pros:f

-can attak without weapons

-gets hunger and sanity from kills

-deals a powerful DoT(damage over time)

-cant freeze to death

-he will gain damage when he is hungry

cons:

-cant eat any food but of green freshness

-pigs hate him

-gets sanity drain at day

-recieves more damage from overheat

 

i had this idea just now and i figure i could hope for a co-founder for this mod

please answer , please

Link to comment
Share on other sites

Hello, I think I have some codes that can help you with your character!

--Make character immune to cold
inst.components.temperature.inherentinsulation = 999 * TUNING.INSULATION_SMALL

--Make pigman & bunnyman attack him but not spider.
inst:AddTag("monster")

I hope it these help you!

Edited by SuperDavid
Link to comment
Share on other sites

3 hours ago, SuperDavid said:

 


--Make character immune to cold
inst.components.temperature.inherentinsulation = 999 * TUNING.INSULATION_SMALL

 

Although that is 59940 insulation, you can just do inst.components.temperature.mintemp = 1

Link to comment
Share on other sites

I'm sorry Architect421 but I really don't know almost anything about coding and those things you want I wouldn't even know where to start :shock:... So please forgive me but i'm to inexperienced so I can't...

Link to comment
Share on other sites

17 hours ago, Architect421 said:

yeah i khnow how to do it

the reason for this topic is that i cant get any of my mods to work

https://github.com/DrSmugleaf/Architect421-s-Plague-Rot-Character

There's the code for all the pros and cons you wanted for your character. Also recorded a 1 hour video of myself writing it. If you want me to spend the next 1-1.5 hours uploading and you to spend your next hour listening to me mumble tell me. It's a whole damn hour because I don't make characters, and I was testing every change and showing how it worked, where to find the code and how to write it, and fixing crashes as they happened. Only things missing from it is art and renaming some files to the name of your character.

You can do whatever you want with that code, just keep in mind engine.lua, the files in core, and scripts/components are made by Kzisor, so just give credit to him (and me) in the workshop page if you release it.

 

Edit: Synced the files now, for some reason GitHub didn't sync yesterday. Can just give you the repository if you want, you would need to make a GitHub account though.

Edited by DrSmugleaf
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...