Editing
Modding
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Creating mods == === Texture packs === :'' The texture files for the game are still changing regularly. Any texture pack mods may need to be updated with each game release.'' To create new textures for the game, it is recommended to create new sprite sheets and only override <code>spritebank.txt</code>. This should allow multiple texture packs to co-exist once stronger mod tooling has been developed. Sprites define their textures as below: <nowiki>BEGIN Sprite Name Engine Image sprite-bank.png BEGIN Frames Size 2 BEGIN "[i 0]" X 2160 Y 300 Width 840 Height 480 ExtendLeft 123 ExtendRight 1 ExtendUp 250 END BEGIN "[i 1]" X 4140 Y 60 Width 840 Height 480 ExtendLeft 135 ExtendRight 1 ExtendUp 2 END END BEGIN Markers Size 13 BEGIN "[i 0]" Name Activation X 2544 Y 239 Width 198 Height 40 END BEGIN "[i 1]" Name FuelBuffer X 2544 Y 318 Width 201 Height 36 END BEGIN "[i 2]" Name Terminal1 X 2963 Y 448 Width 30 Height 92 END BEGIN "[i 3]" Name Terminal2 X 2969 Y 326 Width 19 Height 98 END BEGIN "[i 4]" Name GlowOn1 X 2177 Y 575 Width 186 Height 164 END BEGIN "[i 5]" Name GlowThrust3 X 2097 Y 132 Width 146 Height 356 END BEGIN "[i 6]" Name GlowThrust1 X 2046 Y 467 Width 90 Height 145 END BEGIN "[i 7]" Name GlowThrust2 X 2069 Y 612 Width 69 Height 70 END BEGIN "[i 8]" Name GlowOn3 X 2524 Y 368 Width 244 Height 275 END BEGIN "[i 9]" Name GlowOn4 X 2627 Y 156 Width 64 Height 64 END BEGIN "[i 10]" Name GlowOn5 X 2876 Y 312 Width 34 Height 220 END BEGIN "[i 11]" Name GlowThrust1 X 4083 Y 119 Width 141 Height 360 END BEGIN "[i 12]" Name GlowOn1 X 4519 Y 162 Width 229 Height 293 END END BEGIN State Frames [0] END BEGIN State Name Exterior Frames [1] END END</nowiki> The Name field of the sprite must match the name of the item used in the game. The Image field must be an image inside the <code>sprites</code> data folder. Frames define textures for different rotations and state the item may appear, while Markers define effects on the item. === Translations === :''An existing [https://github.com/Totengeist/LastStarshipTranslations fan translation project] needs support. Please consider contributing to it instead of creating your own.'' To add a new language, create a new directory in <code>data\language</code> with the name of the language (e.g.: <code>latin</code>). The name of the folder will be used for the selection menu in the game. Inside this folder, create the file <code>language.txt</code> to contain all of the strings for the language.
Summary:
Please note that all contributions to The Last Starwiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
The Last Starwiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Style guidelines
Tools
What links here
Related changes
Special pages
Page information