RimWorld

RimWorld

59 Bewertungen
Modding Tutorial: Gun
3
2
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Mod, 1.3
Dateigröße
Veröffentlicht
441.974 KB
13. Apr. 2022 um 16:27
1 Änderungshinweis (anzeigen)

Abonnieren zum Herunterladen
Modding Tutorial: Gun

Beschreibung
Modding Tutorial

Questions? Join the Discord: https://discord.gg/b6EPMhC7QB

Just a very quick and simple follow the video tutorial on how to add a new weapon to RimWorld. This one is following the vanilla sniper rifle and just putting it in the game, nothing special or exciting, just getting it into the world and structuring the mod.

Link to Visual Studio Code: https://code.visualstudio.com/
Link to steam workshop downloader (copy paste this page and put it in the downloader and youll get the files we made in this mod!): {LINK ENTFERNT}


If you have suggestions for future tutorials leave a comment!


Credits: RimWorld is owned by Tynan Sylvester
20 Kommentare
Ranger Rick  [Autor] 13. Juni 2022 um 21:38 
Never irrelevant ! I love seeing more and more fallout content and as modders we all have dif styles and ideas. Cant wait to see more!
El Bongo 13. Juni 2022 um 20:40 
@Ranger Rick Thank you, i did make it work, this is not that hard when you get into it hahahah. After asking i saw you did a lot of FNV content for Rimworld ... I had the same idea hahaha. I was actually trying to link a sounds of the 10mm pistol from NV to a sprite i did of the gun. Now that i saw all your content ... making this seems irrelevant :/
Cheers mate and thanks for the help
Ranger Rick  [Autor] 13. Juni 2022 um 19:24 
@El Bongo for the sound def I make a xml file in the defs folder named SoundDefs. And for the actual .ogg sound file I make a file called sounds and place it in there. For example here is a def.

<?xml version="1.0" encoding="utf-8"?>
<Defs>

<SoundDef>
<defName>Shot_Silenced_SMG</defName>
<context>MapOnly</context>
<eventNames />
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<grains>
<li Class="AudioGrain_Folder">
<clipFolderPath>Shot_Silenced_SMG</clipFolderPath>
</li>
</grains>
<volumeRange>
<min>39.76471</min>
<max>41.76471</max>
</volumeRange>
<sustainLoop>False</sustainLoop>
</li>
</subSounds>
</SoundDef>

</Defs>



and the .ogg sound file name is Shot_Silenced_SMG
El Bongo 13. Juni 2022 um 17:22 
How does the SoundPath works? I have tried to make the file path "mod/modname/sound/10mmsound/10mm.wav" and then make the xml to atach the sound to a name "mod/modname/defs/SoundDefs/pistol.xml" then use the name on the <soundpath> tag inside the gun xml.
And this seems to not work properly i am kinda lost here :/
If u can help me it will be apreciated
Ranger Rick  [Autor] 19. Apr. 2022 um 9:52 
Ive been thinking about that, I do have a good friend who made an amazing mod called Medieval Overhaul! He may be willing to make one for your request as hes a bit more confident than I in that aspect!
SirLalaPyon 19. Apr. 2022 um 7:36 
Hey man! big fan of your work, I was hoping if there are any tutorials for c#. It would not be complete without it!
Ranger Rick  [Autor] 18. Apr. 2022 um 23:03 
Sure!
HYDRA 18. Apr. 2022 um 22:48 
This is a mighty fine line up would you mind making vids on animals and mechs too :fd1mikoto:
Ranger Rick  [Autor] 17. Apr. 2022 um 14:36 
Armor, Races, Factions, Research, and recipes are planned so far. Also open to send the Preview image and intro to any known modders wanting to do these as well!
Beats-With-BothHands 17. Apr. 2022 um 14:29 
nice ill have to look at my old mods to find the tutorial i used to learn how to mod weapons and armor, but it is always good to have more tutorials just in case. i suggest a "race" tutorial or something with more codding and variables involved. (from my memory weapons were pretty easy, armor less so and using the race tutorial was harder)