Im using choasedit and Wolf4SDL both newest version, but how the... do i add stuff to choasedit? All i know is "Lists.txt".
Please help me. im going crazy about this...
Please help me. im going crazy about this...
A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...
70,"Vines",
108,"Guard 1/standing/East",
74,"New object",
124 95 1 0
;
; Non directional enemies (type 3)
;
124 95 1 0
74 0 1 0 ;Change the first 0 to sprite number
;Add new items here....
;
; Non directional enemies (type 3)
;
id sprite 0 1
WLHack wrote:To add new object with ChaosEdit (e.g with ID 74), you have to do the following:
Open the mapobjects folder and choose the game which data you want to edit (e.g Wolfenstein 3-D)...
In that folder you see three different files: List.txt, sprinfo.txt and Symbols.bmb.
Open the List.txt and search for the following lines:
And now add this line between them:
- Code:
70,"Vines",
108,"Guard 1/standing/East",
- Code:
74,"New object",
Then open sprinfo.txt and search for these lines:
Change it to this:
- Code:
124 95 1 0
;
; Non directional enemies (type 3)
;
- Code:
124 95 1 0
74 0 1 0 ;Change the first 0 to sprite number
;Add new items here....
;
; Non directional enemies (type 3)
;
As you can read from the beginning of the sprinfo, those numbers are:
Tilenumber (object id), Spritenumber, Type, Direction (mostly for enemies),
so basically when you add new static objects the correct format is nearly always:
- Code:
id sprite 0 1
Now the last thing for you to do is to open symbols.bmb and draw the icon you want to show
in the map editor... The Symbols.bmb is divided to two block: walls (orange) and objects (green)
where each item is represented by 7x7 sprite. In our case you want to draw the icon for the new
object just above the icon for dog (d1) moving west...
Adding walls is bit easier as you do not need to alter the sprinfo-file unless you want to add new doors.
In that case you should take a look at the end of the sprinfo-file... There is good explanation for the line format.