Closed is52hertz closed 9 months ago
There are a few things here... the window title, displayed when the application is running, and then the name of the executable itself.
For various reasons, I don't put spaces or punctuation in my EXE file names.
But window titles can be more descriptive and include spaces and punctuation.
The EXE for the game client is called OneLife.exe to keep things short.
EditOneLife
and
OneLifeServer are fine.
Also, many scripts and different things depend on these names.
Object IDs are numbers.
There are 2 billion possible object IDs. You will never run out.
Object IDs are numbers because that's how they are stored in the map database, for efficiency reasons. They cannot contain letters, etc. They are integers for a reason.
Since all the art in the main game was drawn on paper with real pens and colored with real brush markers, a painting tool inside the Editor is way outside the scope of what the Editor was designed to do. None of the art in the game is "painted" on a computer.
Fixing it so that CTRL and SHIFT and CTRL-SHIFT do different things in picker when clicking NEXT/PREV. So you can get variable sized page jumps.
The Tags can be included in object descriptions, as comments after the # sign.
So, for example, you could have:
Gooseberry# food Wild Carrot# food
And then if you search for "food" these will come up.
I have added support for searching by fieldName=value for objects. This also supports > or < in search.
Search for:
MapP>0
will find all objects that occur naturally on the map.
Search for:
hat=1
will find all hats.
Searching for:
race=D
will find all people from the D race.
Most fields and checkboxes on the Object Editor screen are supported. This is quite a nice addition. Thank you for encouraging me to add something like this.
Hmm... you want to export pictures of objects?
You can just BAKE an object as a sprite, and then you will find the baked TGA file in the Sprites folder.
If you want to export objects with all their sprite parts separately.... what is your intended use for such a feature?
The current export/import features is centered around people sharing objects with each other, when they are collaborating or making mods.
Made a lot of progress in this direction so far.
I'm going to close this issue.
Please try the changes in the editor, to see if they solve your problems.
Recently, OneEditor (ie EditOneLife, the same below) has had a lot of changes. Strike while the iron is hot (Purpose: It is a metaphor to seize the favorable opportunity and conditions to do something.) OneEditor is missing a lot of needed features, let us propose:
OneLife
OneLife has three main programs (they are the game body, server and editor) But the server and editor naming is confusing:
editor.cpp
what happened? This has two different names:
EDITOR - OneLife
EditOneLife
It is not difficult to find that the former focuses on the editor, while the latter focuses on the action ofEDIT
. In the player community, it is calledOneLife's Editor
This is so confusing! My suggestion is to give it a unified name. my suggestion is:OneEditor
Now OneLife's ID only supports numbers (0-9) And there is a maximum value (probably 99999) This does not prevent OneLife But if some private servers (such as mine) want to receive OneLife's data updates at the same time and have their own items, I have to start my ID from 10001. But it will hit the upper limit. And if I wanted to add a conversion to a vanilla item, its ID would conflict with OneLife's. So I suggest that ID support English letters and symbols. And can be edited in OneEditor.(Includes TRANS)
So, here’s a preview of what’s new L-1:
In the above picture, there are three functions: The first one is
PAGE
(page turning function) Before that, I hope to improve the page display so that the previous page is fixed. When new things are added later, the items contained in the previous page remain unchanged. In other words, the first page will always be those 5 things. Due to subsequent additions, there are only 4 or 3. On the latest page (that is, the latest added OneEditor displays it by default), if there are less than 5 things, only 1234 will be displayed for the things, not for the latest page. Something shows 5 while changing the last page. So the PAGE of the object in the above screenshot should be (OHOLv405 data 12/16/2023)Woops, better 5... let's subtract one
After the above description, the actual PAGE should be 987, so the latest page only displays 4 things. So if the latest page is a floating point number, then the number after the decimal point should be removed and 1 added.
The second is the
Filter
filtering function. Among them,type
is filtered by OneEdiotr. For example,FOOD
will filterUse Dist
|MAP
will filterMapP
... L-2And
tag
is a new function in Discription As shown below L-3:You can add tags to this
OBJECT/SPRITES/TRANS/CATEGORIES
Group it as this label. Filter the things in this tag group and display them. (You can select multiple label groups.) If not filled in, it will be moved to the null label group by default.The third one is the order
Order
.Time
refers to chronological order.Word
refers to word order. The arrows can be clicked to represent reverse order and forward order.(note: Since OneEditor's search box has both left and right sides, the display position of the above functions should also be flipped when it is on the left.)
CATEGORIES
will be automatically saved, which will cause the game to display an error or even crash if it is accidentally touched. If it is even milder, it is not friendly to obsessive-compulsive disorder. So, add aSAVE
button?I would like to add a
Painter
page within the game. SPRITES can be edited and created, and even OBJECTs composed of SPRITES can be edited and changed. It is enough to have these features built in:.png
/.jpg
/.tga
) You can also export multiple - by selecting the ID in the frame / by selecting the numerical range, for example (80-900) to export all OBJECTs with IDs in this numerical range.