names file

Forum Archive - from http://theuniversal.net
Locked
User avatar
bijou666
Posts: 89
Joined: Tue May 17, 2005 11:30 am
Location: Canada

names file

Post by bijou666 »

im just wondering, how xcan i reset all the item names on my world without having to change them all individualy? :)
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

delete the namesfile and restart the world
User avatar
bijou666
Posts: 89
Joined: Tue May 17, 2005 11:30 am
Location: Canada

Post by bijou666 »

kk
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

mm.. doin that will lose all your model selections and other stuff, so i wouldnt recommend it.
There isnt a specific command for resetting the item names atm (ill put one on the to-do list). Easiest method for now would be to open up the namesfile.txt in notepad or something and just delete all the lines referring to item=
User avatar
Hammerhands
Posts: 25
Joined: Mon Jun 26, 2006 4:14 pm
Location: aprox 4.3 lyrs from Alpha Centauri

huh?

Post by Hammerhands »

Mit wrote:mm.. doin that will lose all your model selections and other stuff, so i wouldnt recommend it.
There isnt a specific command for resetting the item names atm (ill put one on the to-do list). Easiest method for now would be to open up the namesfile.txt in notepad or something and just delete all the lines referring to item=
perhaps you could help me read this file
i have open the NamesFile.txt file and heres whats in it
*UPD=222
AUTOGENTEXTURE,1=Grass00.bmp
AUTOGENTEXTURE,2=Grass00.bmp
AUTOGENTEXTURE,3=Grass00.bmp
AUTOGENTEXTURE,4=Grass00.bmp
AUTOGENTEXTURE,5=Grass00.bmp
AUTOGENTEXTURE,6=Grass00.bmp
AUTOGENTEXTURE,7=Grass00.bmp
MAINSURFACETEXTURE,0=Grass00.bmp
SURFACETEXTURE,0=Grass00.bmp
SURFACETEXTURE,1=Grass00.bmp
SURFACETEXTURE,2=Grass00.bmp
SURFACETEXTURE,3=Grass00.bmp
SURFACETEXTURE,4=Grass00.bmp
SURFACETEXTURE,5=Grass00.bmp
SURFACETEXTURE,6=Grass00.bmp
SURFACETEXTURE,7=Grass00.bmp
SURFACETEXTURE,8=Grass00.bmp
SURFACETEXTURE,9=Grass00.bmp
SURFACETEXTURE,10=Grass00.bmp
SURFACETEXTURE,11=Grass00.bmp
TEXMAP,0=Grass00.bmp
TEXMAP,1=Grass00.bmp
TEXMAP,2=Grass00.bmp
TEXMAP,3=Grass00.bmp
TEXMAP,4=Grass00.bmp
TEXMAP,5=Grass00.bmp
TEXMAP,6=Grass00.bmp
TEXMAP,7=Grass00.bmp
TEXMAP,8=Grass00.bmp
TEXMAP,9=Grass00.bmp
TEXMAP,10=Grass00.bmp
TEXMAP,11=Grass00.bmp
TEXMAP,12=Grass00.bmp
TEXMAP,13=Grass00.bmp
TEXMAP,14=Grass00.bmp
TEXMAP,15=Grass00.bmp
AUTOGENTEXTURE,0=Grass02.bmp
MISCTEXTURE,0=bipsky1.jpg
BUILDINGMODEL,0=TP01.atm
BUILDINGTEXTURE,0=TP005d.bmp
OBJECTMODEL,0=Oak01.atm
OBJECTMODEL,6=Oak01.atm
OBJECTTEXTURE,6=Oak01.bmp
OBJECTMODEL,5=Pine01.atm
OBJECTTEXTURE,5=Pine01.bmp
OBJECTMODEL,4=Oak01.atm
OBJECTTEXTURE,4=Oak01.bmp
OBJECTMODEL,3=Pine01.atm
OBJECTTEXTURE,3=Pine01.bmp
OBJECTMODEL,2=Oak01.atm
OBJECTTEXTURE,2=Oak01.bmp
OBJECTMODEL,1=Pine01.atm
OBJECTTEXTURE,1=Pine01.bmp
OBJECTTEXTURE,0=Oak01.bmp
OBJECTMODEL,7=Marker.atm
OBJECTTEXTURE,7=Marker.bmp

so exactly where are the ITEMS stored cause it aint in this file


Edit I actually renamed this file so it couldnt be found by Buiding Editor
and the reloaded and all items are still there so there is no way this file
is the holder of items names

the fact the editor asks for different file name its NameFiles.txt not NamesFile.txt
actually makes sense why tis is so but what doesnt make sense is there is no file called
NameFiles.txt
User avatar
VDZ
Posts: 1205
Joined: Wed Apr 07, 2004 11:32 am
Location: Netherlands

Post by VDZ »

Yours doesn't contain any item names. However, it IS in the NamesFile.
Part of my namesfile: (the whole doesn't fit)
VEHICLETEXTURE,13=genericbuilding2.jpg
VEHICLEMODEL,13=building.atm
BUILDINGMODEL,0=plinth01.atm
BUILDINGTEXTURE,0=stone02.bmp
BUILDINGMODEL,1=Mine02.atm
BUILDINGTEXTURE,1=Mine02.jpg
BUILDINGTEXTURE,2=refinery.jpg
BUILDINGMODEL,2=refinery1.atm
BUILDINGMODEL,3=obelisk.atm
BUILDINGTEXTURE,3=statstone.jpg
BUILDINGMODEL,4=smallfactory.atm
BUILDINGTEXTURE,4=smallfactory.bmp
BUILDINGMODEL,5=Mine02.atm
BUILDINGTEXTURE,5=stone02.bmp
BUILDINGTEXTURE,6=medfactory.jpg
BUILDINGMODEL,6=mediumfactory.atm
BUILDINGMODEL,7=researchlabfuture.atm
BUILDINGTEXTURE,7=reslabfuture.jpg
BUILDINGMODEL,8=Well.atm
BUILDINGTEXTURE,8=well.jpg
ITEMNAME,32=Metal Ore <------------
ITEMNAME,112=Steel <----------
ITEMNAME,25=Paint <----------
ITEMNAME,23=Magic <----------
ITEMNAME,24=Gold <------------

Those last ones are the item names.
User avatar
Hammerhands
Posts: 25
Joined: Mon Jun 26, 2006 4:14 pm
Location: aprox 4.3 lyrs from Alpha Centauri

Post by Hammerhands »

thank you I can edit that now
the previous thread i read said item=
now that i see format ill add them to over ride defaults
thanks
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Post by Magicfinger »

the recommended way of changing an item name is to use

Code: Select all

 *changeitemname {oldname},{newname}
from within the game, it just has less chance of getting any kind of windows formatting attached to the file that way which is bound to break it :)
Locked