Editing all.spawn

From Mod Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:01, 10 July 2008 (edit)
Atrocious (Talk | contribs)
(new article: Editing all.spawn -- WIP)
← Previous diff
Revision as of 22:25, 10 July 2008 (edit) (undo)
Atrocious (Talk | contribs)
(Editing all.spawn - wip)
Next diff →
Line 16: Line 16:
== Editing all.spawn == == Editing all.spawn ==
 + This section could use more info on the structure of all.spawn. If you can provide information, feel free to contribute! [[User:Atrocious|Atrocious]]
After you have set up everything, double-click the <tt>decompile.bat</tt> and wait for the process to finish. It should take some seconds. If the window is instantly closing, you have an error. Read the troubleshooting section then. After you have set up everything, double-click the <tt>decompile.bat</tt> and wait for the process to finish. It should take some seconds. If the window is instantly closing, you have an error. Read the troubleshooting section then.

Revision as of 22:25, 10 July 2008

all.spawn is a rather big file in the S.T.A.L.K.E.R. gamedata\spawns directory. It contains information about NPCs, monsters, objects, basically anything that is not static level geometry in STALKER. The files is loaded once at game start and it's information is stored in the save-game. That means: Editing the all.spawn requires to start a new game afterwards!

Contents


Setting up all.spawn workspace

Before you can start, you need to download a little tool that opens the all.spawn for you. The link is on the Tools list. Follow these steps after you've downloaded the file:

  1. Open the downloaded archive and extract the content
  2. Rename the .pl file to acdc.pl, if it's not already the case
  3. Copy the all.spawn from gamedata\spawns into the folder with the acdc.pl
  4. Create a .txt file, open it, copy this string into it perl acdc.pl -d all.spawn then save and close it
  5. Rename the .txt to decompile.bat
  6. Create another .txt file, open it, copy this string into it perl acdc.pl -c all.ltx -o new.spawn then save and close it
  7. Rename the .txt to compile.bat

Now you're ready to go.

Editing all.spawn

This section could use more info on the structure of all.spawn. If you can provide information, feel free to contribute! Atrocious

After you have set up everything, double-click the decompile.bat and wait for the process to finish. It should take some seconds. If the window is instantly closing, you have an error. Read the troubleshooting section then.

After the files have been extracted, you can edit them like any other .ltx file. They entries have numbers in brackets [ ] as section identifiers. Those identifiers must be unique over all .ltx files.

When you are finished, double-click compile.bat and wait until the new.spawn is finished. Copy the new.spawn into your STALKER gamedata\spawns directory, make a backup of the existing spawn file and rename the new.spawn to all.spawn.

Troubleshooting

Personal tools