Menu

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.

Show posts Menu

Topics - Rune1993

#1
Mods / [Mod Help] need help with c# codes
September 06, 2020, 09:10:50 AM
hi there are some add on's i want to do for my mod i was told on another forum i need c# to do it i downloaded visual studios 2019 all i want to add is a red colour water with a burn effect when walked on other than a bridge.

Thing is i would not know what code to look for or change to make the water red and next is the same with the burn effect either of these code's i do not know never used c# or visual studio before .

and my learning difficulties would make it harder for me another is the code for a healing effect i want to make a healing spring with a minor healing effect not to much as dont want to get rid of doctors so only minor healing.

the codes to do this i would not know can anyone help thank you.
#2
Please let me know if i haven't done this post rite for posting my mod i did put something at the bottom about using this mod for anything.

This is my first time actually making and posting a mod and posting it for this game its only a little mod i have learning difficulties so this was confusing and hard for me to do. I had some help from good person on reddit who did some code wont say the name since i dont know if they want me to say ile update with there name if they reply and say yes but thanks to him for the help.

This mod just add's shallow water as a floor tile you can place and destroy like normal it has the slowing effect as they walk through it even has ripples but does not act as a water supply tried using a water pump from another mod did not work with it.

It cost's 2 wood per tile dose not conflict with any mod that i know of docent with any of mine docent have a load order either so you can place where you want also it can be added to any savegame.

You can use it as moat to slow enemies a bit or if you like farming in game use it for a fake irrigation canal look in between farm tiles so on hope you enjoy let me know of any problems there should not be any ile try to fix if can.

Change Log -
I have updated the mod i added a new floor called fertile water you can grow crops on this one and it has 1.25 fertility between normal soil and rich soil.

Link to my mod on steam- https://steamcommunity.com/sharedfiles/filedetails/?id=2217225014

Link to my mod on nexus mod's - https://www.nexusmods.com/rimworld/mods/346?tab=bugs

also link to it on github - https://github.com/rune1993/Shallow-Water-Floor-mod-for-Rimworld.git

(If you want to use this mod or anything from it witch is not much lol in a mod you are making or a video please just mention me and a link to this mod thanks as i dont really mind if you use it at all)
#3
Mods / Help request with my shallow water floor mod
August 31, 2020, 10:34:07 AM
Update - i have got it all working and have now posted it on the workshop under the name Shallow Water Floor Tile

Hi i am making a mod witch for now will most likely just be a personal mod for me to use mite post to workshop down the line if i can get it to work. I have learning difficulties and its all confusing to me even the help pages to do this. i am trying to make a shallow water floor tile mod so basically you can place shallow water down where ever you want also destroy it like normal flooring but keep the slow effect it gives while crossing it.

i fixed the problem with the about file after testing it the new shallow water floor isent showing up in the floor menu in game i added the main file to this post if you want to look what i have done well not me in a way the code thats in there at moment was done for me by another on reddit as help to me.

i dont know what i have to add to it or edit for it to work i know it most likely need stuff from the Terrain_Floors.xml and the Terain_Water.xml files but dont know what i want it to basically be normal shallow water with the slow effect just that you can place it as flooring ile put the codes in i just need to figure out what i need to put. I also added a link to a pic of how i have my files well the about folder is now in the terrain defs folder with the main mod file thats all that has changed.

https://scontent-lhr8-1.xx.fbcdn.net/v/t1.15752-9/118586013_438385047087225_6540267748737737315_n.png?_nc_cat=101&_nc_sid=b96e70&_nc_ohc=cR8M9yPF7ecAX8Vbq2O&_nc_ht=scontent-lhr8-1.xx&oh=bc38eb8927114262f859e53a4a50c9c8&oe=5F710C6E
#4
Hi want to make shallow water a placeable floor you can make so then you can use it example moats or irrigation canals for farms to make them look better so on basicaly as it says i want a floor version of shallow water while still keeping the slow effect walking through it gives been taking a look all day i have learning difficulties even with the rimworld mod making wki still confusing.

I have been trying to use the example they got the Modding Tutorials/Flooring section on the wiki in this basicaly copying what they did witch was a titanium floor and replacing what they did with what i need well that was my thaught but i think i got it wrong. here it iswhat they did ile add a link down bottom to -

<?xml version="1.0" encoding="utf-8" ?>
<TerrainDefs>
<TerrainDef>
<defName>TitaniumFloor</defName>
<Label>Titanium Flooring</Label>
<RenderPrecedence>210</RenderPrecedence>
<Description>A lovely</Description>
<TexturePath>Things/Buildings/Floors/WoodFlooring</TexturePath>
<Beauty>NiceTiny</Beauty>
<SurfacesSupported>
<li>Light</li>
<li>Heavy</li>
<li>SmoothHard</li>
</SurfacesSupported>
<WorkToBuild>50</WorkToBuild>
<DesignationCategory>Structure</DesignationCategory>
<Fertility>0</Fertility>
<CostList>
<li>
<thingDef>Titanium</thingDef>
<count>2</count>
</li>
</CostList>
<ConstructionEffect>ConstructDig</ConstructionEffect>
<AcceptTerrainSourceFilth>True</AcceptTerrainSourceFilth>
</TerrainDef>
</TerrainDefs>

I can find the defs folder called Biomes_Water that has the info for shallow water i just dont know what of it i have to add or replace in what they did above to do what i wanted i want to keep the textures and everything for the water so it actualy still looks like water can anyone help thanks.
https://rimworldwiki.com/wiki/Modding_Tutorials/Flooring