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

Messages - Rune1993

#1
Mods / Re: [Mod Help] need help with c# codes
September 10, 2020, 01:41:45 PM
Quote from: RawCode on September 10, 2020, 05:33:00 AM
this is not code.

try starting from here:
https://ludeon.com/forums/index.php?topic=3408.0

performance is not issue for starting mods, but take in account tickrate of 60 ticks per second, it's quite high value, MC have 20 and WC3 have 24, there are many games with tickrate of 10 and less.

ile take a look but most likely wont get it that well still i got learning dificulties understanding this was already hard enough.
#2
Mods / Re: [Mod Help] need help with c# codes
September 09, 2020, 07:32:02 AM
Quote from: RawCode on September 09, 2020, 06:22:24 AM
post your code and explain what is wrong.

if your code have no trace output, add trace output and try again before posting.

if you don't know what is trace output, please read any generic article about trace output anywhere, it's same for any language and exists from very moment of creation of computers.

Thank for replying anyway but i am asking for help with what codes i need not help with a code i have done but again thanks anyway i wouldn't know the first thing on what i need to do to make the water a different colour like red or give it a minor burn effect that burns any who walk on it.

Basically all i will do is copy the code and stuff for the shallow water floor i have done already for the main mod rename the new water floor to Blood Water since this will be a add on to the main mod not replacing it.

Then add the code if anyone gives me it to change the colour to red and the code that adds the minor burn effect when its done ile add it to a copy of the main mod file to test if it shows in game as a separate floor. And works and the burn effect works i just need to know the code that will let me do that or how to find it.

same with the healing effect code so i can add a healing effect to another when i do it though i dont plan on doing it yet since ive just done a update other day i added fertile water.

But here is a look at my main code anyway where i would add the code for making the water red and adding the burn effect well if adding a burn effect is possible but i definatly think turning it red is possible.

code -
 
<TerrainDef ParentName="WaterShallowBase">
    <defName>RuneWaterShallow</defName>
    <label>shallow water</label>
    <texturePath>Terrain/Surfaces/WaterShallowRamp</texturePath>
    <waterDepthShader>Map/WaterDepth</waterDepthShader>
    <renderPrecedence>394</renderPrecedence>
     <costList>
      <WoodLog>2</WoodLog>
     </costList>
     <designationCategory>Floors</designationCategory>
   <terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
    <layerable>true</layerable>
  </TerrainDef>
#3
Quote from: Canute on September 03, 2020, 09:16:41 AM
Not realy :-)
Since you arn't familar with github, you maybe don't know how people need to download it.
To get the stuff from the Main folder, you need to use Code/Download zip, then github put anything from the main folder into a zip and send it to you. So you have a zip in a zip ! :-)

You need to put the unziped content of your zip without the Modname folder at the main folder.
There is an option to made/upload a package which get pushed into the release part of your project.
Maybe take a look here
https://github.com/KiameV/rimworld-rimfridge/

But hey, many people use github at a different way, do whahever you like ! :-)

i did a update as i added a new water floor called fertile water one that you can grow crops on has a 1.25 fertility rate. I update the places i posted the mod and made sure they work.
#4
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.
#5
Quote from: Canute on September 03, 2020, 11:25:39 AM
Thats looks fine ! :-)
Last thing (only for the perfectionist) you can format your download links.
Github [url=https://github.com/rune1993/Shallow-Water-Floor-mod-for-Rimworld]Download[/url]
would result into
Github Download

And don't provide too many alternate download links, don't forget you need to update them all if you change something ! :-)

i think ile just keep it how it is lol the perfectionists will just have to deal with it lol  ;D since that site confuses the hell out of me so rather do as little as possible on that site lol only time i will need to update is when a new version of the game is out and i have to update the files.
#6
Quote from: Canute on September 03, 2020, 09:16:41 AM
Not realy :-)
Since you arn't familar with github, you maybe don't know how people need to download it.
To get the stuff from the Main folder, you need to use Code/Download zip, then github put anything from the main folder into a zip and send it to you. So you have a zip in a zip ! :-)

You need to put the unziped content of your zip without the Modname folder at the main folder.
There is an option to made/upload a package which get pushed into the release part of your project.
Maybe take a look here
https://github.com/KiameV/rimworld-rimfridge/

But hey, many people use github at a different way, do whahever you like ! :-)

think i fixed it here is link https://github.com/rune1993/Shallow-Water-Floor-mod-for-Rimworld.git
#7
Quote from: Canute on September 03, 2020, 09:16:41 AM
Not realy :-)
Since you arn't familar with github, you maybe don't know how people need to download it.
To get the stuff from the Main folder, you need to use Code/Download zip, then github put anything from the main folder into a zip and send it to you. So you have a zip in a zip ! :-)

You need to put the unziped content of your zip without the Modname folder at the main folder.
There is an option to made/upload a package which get pushed into the release part of your project.
Maybe take a look here
https://github.com/KiameV/rimworld-rimfridge/

But hey, many people use github at a different way, do whahever you like ! :-)
lol ile take another look lol
#8
Quote from: Canute on September 03, 2020, 06:23:34 AM
Maybe you should think about to use Github/Gitlab for your mod development. Then other's can comment,suggest,download the project too.
People who just want to download it don't even need an account like for nexus.

i took a look at github i find it rather confusing to use or look at though this mod isent really a project as i have basically finished what i wanted to do with it though if i decide may change down the line or add something dont know.

but i think i did it rite dont know this is a link to it i think - https://github.com/rune1993/Shallow-Water-Floor-Tile---Rimworld-Mod.git
#9
Quote from: Canute on September 03, 2020, 06:23:34 AM
Maybe you should think about to use Github/Gitlab for your mod development. Then other's can comment,suggest,download the project too.
People who just want to download it don't even need an account like for nexus.

ile take a look as ive herd of them before
#10
Quote from: Canute on September 03, 2020, 04:54:35 AM
For other people the topic How to download workshop mod's as non-steam user. is a sticky ! :-)
I rarely do any manual downloads anymore, since i can download and update mods with RimPy+SteamCMD.

Quote from: vovik on September 03, 2020, 03:07:00 AM
if you want understand part about trap - generate a map with lots of water without this mod, lok at colony wealthand then turn the mod and look at colony walth again
Edit: ho i should download your mod? Yes i know about steamworkshop download, but what about other people?

i have added it on nexus mods and put aa link to it on this mods description.
#11
Quote from: vovik on September 03, 2020, 03:07:00 AM
if you want understand part about trap - generate a map with lots of water without this mod, lok at colony wealthand then turn the mod and look at colony walth again
Edit: ho i should download your mod? Yes i know about steamworkshop download, but what about other people?

I will try to upload it onto nexus mods and i asked someone who helped me with the code about what you said increase colony wealth witch funny thing is before you said about it did not know of it i game. Anyway he said to me - yea it would increase colony wealth slightly due to having a crafting cost however probably not much more than any other floor -

so he suggested i just lower the cost a bit witch i have done i lowered it to cost 2 wood instead of 10 per floor even though the reason for costing 10 in first place was i was told by another it costing the amount i had it at witch was 1 wood per floor was OP so i raised it.
#12
Quote from: vovik on September 02, 2020, 03:38:03 PM
Hi, i will be addng water terraform soon in this mod, so you dont have to do it. Also mod includes source code so you can study it to learn modding more. Your mod also contains a slight problem - adding costlist to water tile bumps up difficulty by increaing colony wealth on maps with water, so your mod is a trap :)

The first part i get is about your mod the second part about my mod being a trap i dont get i just wanted to place shallow water like a floor so i made it lol and i found it rather frustrating so for now wont make another again lol maybe another day and since i got it to work fine i posted it.

At first i just made it cost 1 wood someone said it sounded op costing that so i put it up to 10 i can always take the cost away make it cost no material to make or i can bump it up in how much it needs like 50 wood or something or make it need something els to build.

i mostly made this just so i can make my farms look like they have irrigation canals also couldn't find any other mod that had shallow water as a flooring. also just to say i dont think it actually counts as water in game i tried bad hygiene mods water pump it would not work near it or let me place it near the floor tile so dont think it counts  it as a water source so i dont think it can be used as water anyway.
#13
Quote from: RawCode on September 02, 2020, 10:52:12 AM
can be improved by _not_ adding unused (and obviously copyrighted) texture about 1200 times size of actual mod payload.

anyway, good start.

first thanks second what texture is that can i ask and if you mean the water itself its just using the in game water that the game devs used well i assume but that bit of code for the main file was done by another who helped me.

or if you mean the icon for the floor used in the floor menu in game that was already there i did not put that there and dont know how to change if it was a texture with black white and blue fish on that was made by me in paint 3D on my pc the fish were from it to.

Or if you mean by the preview pic and picture on the mod workshop page that was done by me to i just took pics in game you need to be more specific what texture it is please i have hard time understanding with my learning dificulties thank you.
#14
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)
#15
Mods / Re: Help request with my shallow water floor mod
September 02, 2020, 07:23:22 AM
Quote from: Canute on September 01, 2020, 01:32:15 PM
I think before you should try out the shallow water floor, you should just create a normal floor with a custum texture.
At this way you geting the basics of the mod.
Once that normal custum floor is working, you can use the new knowledge to adapt it for the shallow water floor.
I have no idea, but maybe Rimworld don't allow flooring at shallow/deep water and don't show the textures. But when you know your custum texture would work on regular basis, you could exclude that.

And do you know at the official discord server are some channels for modding too. I think there are more active modder then here at the forum.

good thing i have fixed it got it working fine and have now posted it on the workshop  under the name Shallow Water Floor Tile