FOnline Development > Questions and Answers

FO Mapper not loading new assets

<< < (2/3) > >>

E3245:

--- Quote from: b__B on July 03, 2013, 04:50:22 pm ---Objects aren't added automatically in 2238 Mapper tabs. You have to add their proto ids in Mapper/tabs.cfg
Preferably in the right tab/subtab of course, same with tiles but in this case use tile prefixes

Most tabs in Mapper have subtabs if you click them again.

It's a bit more work when you add a new object to game but it pays out later when you make maps,
because you spend less time scrolling and looking for various things. Also there are items which simply
make no sense in Mapper because they are used exclusively by scripts.

--- End quote ---

Tabs.cfg doesn't exist in the mapper directory. Do I create tabs.cfg and add it just like how the items were added in the ItemNames.lst?

JovankaB:
It should exist if it's 2238 Mapper from here
http://fo2238.fodev.net/source/FOnline2238.client+mapper.zip

E3245:
I don't understand how to add tiles. It looks like this:

--- Code: ---###############
# Floor Tiles #
###############

[SubTab]
MainTab=11
Tiles=arfl bld brcbr brd brick brn cabrik capb car cav1 cav2 cav3 cav4 cav5 cavb cmt crbm crta crtb curb edg en foot gar gek gras grt head hol ment mnt moda mstrflr plt road rst run_ saus sbrdg seas sewr shipflr shor silo slime stlflr tepflr towr tp153 tp154 tp155 tp156 tp157 tp158 tp159 tp160 tp161 tp162 tp163 tp164 tp165 tp166 tp167 tpl vtggr water

--- End code ---

Unlike the other items in the tabs.cfg, which I believe they are PID ID for items and Critter ID for NPCs and creatures.

--- Code: ---################
# Normal Items #
################

[SubTab]
MainTab=1
Name=001 - weapons: small
Pids=8 9 10 18 22 23 94 122 143 161 162 241 242 261 268 283 287 296 299 300 313 332 351 352 353 354 385 388 391 392 394 398 403 404 405 500...

--- End code ---

JovankaB:
Tiles don't have protos and therefore proto Ids don't exist either, that's why format is different.

In case of tiles it's filename prefixes, for example "bld" will add everything in tile directory that starts with "bld": bld001.frm, bld002.frm, and so on. Subtabs of tiles are created and named automatically, it's impossible to control it with AngelScript (which sucks, but it is what it is). The only reason the tiles are in tabs.cfg at all, is because I wanted at least the floor and the roof tiles to be in separate tabs, which cuts the mess by half.

Alvarez:
Which PID ranges are reserved and which could be taken for new objects?
I could not add any new PIDs beyond 10225.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version