Global/Precache, Mymap_precache

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Global/Precache, Mymap_precache

Post by Desert Eagle »

what tells the game to run your "mymap_precache"? Does the Global/DMprecache tell it to look for "mymap_precache" file?

For somereason items that I have added to my precache keep showing up in console with the cache */Model/Item/Etc..error. I do not understand why. I have put them in my precache for map
Desert-Eagle
....The Eagle Has Landed...
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

The "mapname_prechache" is run automatically if the file exists.
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Post by Desert Eagle »

I have a map pre_cache but I do think it is loading or working right. My precache file:

exec global/DMprecache.scr
cache models/sound/deradler/custom.tik
cache models/misobj/welding_torch.tik
cache models/misobj/welding_tank.tik
cache models/misobj/welding_mask.tik
cache models/misobj/searchlight.tik
cache models/human/sumo_german_misc_worker.tik
cache models/vehicles/sdkfz_mg42.tik
cache models/vehicle/vehiclessoundentity.tik
cache models/vehicles/sdkfz.tik
cache models/fx/corona-red.tik
cache models/fx/steamworks.tik
cache models/stateweapons/nebelwerfer.tik

In game console gives my the old error cache models/etc/etc error...
Desert-Eagle
....The Eagle Has Landed...
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Post by Desert Eagle »

Never mind all is well and working.
Desert-Eagle
....The Eagle Has Landed...
Post Reply