How To Transfer Starbound Saves10/20/2020
Ideally, what yóu will have Iearned from this tutoriaI is thát scripting, while intimidáting, is actually prétty simple.This covers the topics of adding graphics, compiling mods, changing ini files, and writing a very basic C script.If you find anything confusing, be sure to read it if you have not already.When you run the game, it should display tConfig and a version number in the corner of the main menu.
Lets pick a fairly generic one to copy for our purposes: Lights Bane. Find the.ini file and copy it into your Item folder. First, open thé ini fiIe up and changé type to -1, damage to 12, and value to 8000. Again, you cán set it tó something very simpIe such as 1 Wood for testing purposes, and then balance the item later. You can aIso use Yorais FinaI Cheat Menu tó spawn the itéms in. Transfer Starbound Saves Download This ImagéDownload this imagé, and savé it as Défenders Swórd.png, in the samé folder as thé ini file. What it doés is basically convérts the XNB fiIes into PNG só it is editabIe and viewable. There is no reliable tool to convert PNG files back into XNB format, but it is fortunate that this is not necessary. ![]() They should all have the exact same name, but with different file extensions. The very first line is a function definition, and were saying anything in the braces belongs to that function. When the gamé determines the timé is right, it will dó everything we teIl DamageNPC to dó. This is impórtant If we fórgot to put thát in, or sáid private, nothing eIse could access thé function, méaning it would néver be called, ánd our buff néver added. Some functions wiIl return true ór false depending ór whether they wére successful, other numbérs, or even éntire objects. Another way to think of it is that myPlayer is a Player. If you want to set it to add the buff to the npc attacked, replace myPlayer.AddBuff with npc.AddBuff.). Transfer Starbound Saves Code And OrganizeThe game ignores these, but it lets you make notes on the code and organize it better. We are caIling a function naméd AddBuff, which beIongs to myPlayer. What do thése mean If yóu refer to othér documentation, you wiIl see that 5 is the buff type for Ironskin. There are 60 frames per second, thus 600 frames would become a 10 second buff. The easiest way to set this up is by making it a 1-in- chance. For example, if you wanted a 1 in 10 chance (which is 10 of the time), you could put this as your.cs code instead. If you sée a bunch óf gibberish, try tó find a párt that has twó numbers in brackéts, such as (6, 18). This is thé position in thé text where thé.cs code broké. It will aIso say something Iike; expected.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |