The Ship Single Player: Creating Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
{{alias|MODDIR|your mod's directory name}}
{{alias|#|the chapter number you are making}}
You'll probably want to use [[Adding chapters to your mod|this article]] as a more thorough reference of a similar task.
==cfg\chapter#.cfg==
==cfg\chapter#.cfg==
*Intro/outro maps only need a map command.
Intro/outro maps only need a map command.
==cfg\The-Ship-Chapter-#.sav==
==cfg\The-Ship-Chapter-#.sav==
*The "mission" key corresponds to one more than the number of missions preceding the target mission in <code>scripts\sp\mission_obj.txt</code>.
Intro/outro maps do not need one of these.
 
The "mission" key corresponds to one more than the number of missions preceding the target mission in <code>scripts\sp\mission_obj.txt</code>.
==SAVE\chapter#.tga==
==SAVE\chapter#.tga==
*This image should be scaled to 256x128 from 152x86.
This image should be scaled to 256x128 from 152x86.
==materials\vgui\chapters\chapter#.vmt & materials\vgui\chapters\chapter#.vtf==
==materials\vgui\chapters\chapter#.vmt & materials\vgui\chapters\chapter#.vtf==
*The texture should be 256x128 with the 152x86 image embedded at the top left.
The texture should be 256x128 with the 152x86 image embedded at the top left.
==resource\MODDIR_english.txt (and other languages)==
==resource\MODDIR_english.txt (and other languages)==
* The chapter name should go in here with the string name as <code>MODDIR_Chapter#_Title</code>
The chapter name should go in here with the string name as <code>MODDIR_Chapter#_Title</code>
[[Category:The Ship Single Player]]
[[Category:The Ship Single Player]]

Latest revision as of 23:27, 29 November 2006

Note.pngNote:For the sake of this article, MODDIR represents your mod's directory name.
Note.pngNote:For the sake of this article, # represents the chapter number you are making.

You'll probably want to use this article as a more thorough reference of a similar task.

cfg\chapter#.cfg

Intro/outro maps only need a map command.

cfg\The-Ship-Chapter-#.sav

Intro/outro maps do not need one of these.

The "mission" key corresponds to one more than the number of missions preceding the target mission in scripts\sp\mission_obj.txt.

SAVE\chapter#.tga

This image should be scaled to 256x128 from 152x86.

materials\vgui\chapters\chapter#.vmt & materials\vgui\chapters\chapter#.vtf

The texture should be 256x128 with the 152x86 image embedded at the top left.

resource\MODDIR_english.txt (and other languages)

The chapter name should go in here with the string name as MODDIR_Chapter#_Title