Editor is not saving placed items[message #328001]
|
Tue, 12 November 2013 12:40
|
|
cnagorneac |
|
Messages:190
Registered:April 2012 |
|
|
Hi.
I tried to do some editing and encoutered the following problem:
When I place an item on the ground, save the map and load it again - it is not there.
Looks like I am doeing something wrong, but i barely have any good information on editing maps.
Hope any 1 can help me.
Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
Re: Editor is not saving placed items[message #328006]
|
Tue, 12 November 2013 13:26
|
|
cnagorneac |
|
Messages:190
Registered:April 2012 |
|
|
silversurferCan't reproduce with the current editor. Which version are you using and which item did you try to place?
I downloaded last exe file and i am using updated svn.
Okay it works now. Thanks a lot.
I also wanted to try to place items 1623 - random NATO AR1 and 1624 - random WP AR1 and editor were constantly crushing. i was not able to save the map with those items on them.
Think I have to mention that I plced them on the ground because I still do not know how to place them inside a crate or something.
I will try to create a random item by myself and will try to place it also and see what happens.
[Updated on: Tue, 12 November 2013 13:42] by Moderator Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
Re: Editor is not saving placed items[message #328012]
|
Tue, 12 November 2013 13:45
|
|
cnagorneac |
|
Messages:190
Registered:April 2012 |
|
|
Thanks for all your feedback. You actually answered faster then i was able to react on them =) thanks guys.
At the moment everything is working, but as was mentioned, random items behave strange. I will try to make a random item by myself and test it.
Edit: I made a new random item tried to place it, but editor was always crushing. Sometimes right at the moment of placing the item, sometines when i wanted to go to options.
So looks like it is not possible to place random items at the moment.
Editor version is 1.13.6513 JA2_6567_Editor.exe
[Updated on: Tue, 12 November 2013 13:58] by Moderator Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Editor is not saving placed items[message #328127]
|
Thu, 14 November 2013 09:20
|
|
cnagorneac |
|
Messages:190
Registered:April 2012 |
|
|
Thanks a lot.
My test results:
Downloaded the file, placed it in fresh unedited JA2 1.13 folder.
Launched, tried to go to the empty "RND" tab, then back - Crash.
Edited items.xml file
for item
1623
random NATO AR number 1
changed 268435456
to 1073741824
the item is now in "RND" tab. Placin it gives the followitg:
Runtime error
Press to exit
file : ..\src\Core\vfs_file_raii.cpp
line : 113
function : vfs:COpenWriteFile:CopenWriteFile
invalid file object
file : ..\src\Core\vfs_file_raii.cpp
line : 118
function : vfs:COpenWriteFile:CopenWriteFile
Created a new item in XML editor and then edited it in items.xml so it became like this:
1705
test random
test random item
no description
N_A
N_A
1073741824
2
95
100
1
1
Tried to place it with editor - it placed it.
placed second, third, fourth - it placed them. placed 5th - CTD with the same description as above.
Restarted editor. tried to place the same items: Place 1 item - OK place second - CTD without log.
So generally, after couple of more CTDs I managed to place both items (the one in wich i changed ItemClass, and the one I created) on the ground, Saved map and tried to play it.
When played, random items were not converted into other items. they remained the same "random items".
Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
|
|
|