First, you MUST use an editor made for the game, such as the in-game Script Editor. A normal text/xml editor will not work. If you want an external editor then use X-Studio Script Editor or Exscriptor.The human-readable portion of X3's script files is just "documentation". The real code is the array of numbers at the bottom. A standard editor will not edit scripts correctly.
Second, changing the *name* of the pack could get you into trouble. The name must match $level, which is passed to getlists as an argument (which means that it is used in other scripts). It would be much easier to leave the names as they are and change only the content.
Yes, changing the content is as easy as commenting out a ware or appending a new ware. The task should be obvious in a proper editor.
[ALP] Upgrade Kits (JDK) 1.5 TC 9/12/08
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 37
- Joined: Fri, 1. Dec 06, 13:03
Thank you for your help.DrBullwinkle wrote:First, you MUST use an editor made for the game, such as the in-game Script Editor. A normal text/xml editor will not work. If you want an external editor then use X-Studio Script Editor or Exscriptor.The human-readable portion of X3's script files is just "documentation". The real code is the array of numbers at the bottom. A standard editor will not edit scripts correctly.
Second, changing the *name* of the pack could get you into trouble. The name must match $level, which is passed to getlists as an argument (which means that it is used in other scripts). It would be much easier to leave the names as they are and change only the content.
Yes, changing the content is as easy as commenting out a ware or appending a new ware. The task should be obvious in a proper editor.
Will stick with just editing the content then. And will use one of the editors suited for it.
Was just looking at it with the notepad 2 to see if I could grasp it
