Page 1 of 1

Another Precache Problem

Posted: Sun Mar 30, 2003 4:09 am
by PsychoE
Wrote my precache.scr - ensured name was correct. All my models dissapeared. Anyone tell me where they went?

E

Posted: Sun Mar 30, 2003 6:13 am
by jv_map
That's not due to your precache script :roll:

Posted: Sun Mar 30, 2003 6:25 am
by PsychoE
ok. They were all there until i put the precache.scr in my pk3. Ill test and let everyone know what happens

Posted: Sun Mar 30, 2003 6:30 am
by PsychoE
I dont know what to say. I took the precache.scr out of my pk3 and now all my models are there again :?

Posted: Sun Mar 30, 2003 6:32 am
by jv_map
:shock: :? :?:

*startles*

Posted: Sun Mar 30, 2003 3:27 pm
by PsychoE
I know - me too. I will play around with it and tell u if i find out what the prob was.

script

Posted: Sun Mar 30, 2003 7:20 pm
by tltrude
Can you post the the script? BTW, you can test it without making a pk3. Just put the script in the same folder as your BSP file in main/maps (maps, obj, or dm).

One posibility is that you have a lot of Spearhead models in your map and you're trying to use them in Mohaa. Spearhead uses the "mainta" folder. Try renaming the mainta folder to Xmainta and see if your models vanish from the editor.

Posted: Mon Mar 31, 2003 2:01 am
by PsychoE
Suuuuurrrreeeee. here it is. This is my first attempt at one. The first group is what the MOHAA console said ("Please add to precache.scr)



exec global/DMprecache.scr


cache models/fx/bh_paper_lite.tik
cache models/fx/bh_paper_hard.tik
cache models/fx/bh_wood_lite.tik
cache models/fx/bh_wood_hard.tik
cache models/fx/bh_metal_lite.tik
cache models/fx/bh_metal_hard.tik
cache models/fx/bh_stone_lite.tik
cache models/fx/bh_stone_hard.tik
cache models/fx/bh_dirt_lite.tik
cache models/fx/bh_dirt_hard.tik
cache models/fx/bh_grass_lite.tik
cache models/fx/bh_grass_hard.tik
cache models/fx/bh_mud_lite.tik
cache models/fx/bh_mud_hard.tik
cache models/fx/bh_water_lite.tik
cache models/fx/bh_water_hard.tik
cache models/fx/bh_glass_lite.tik
cache models/fx/bh_glass_hard.tik
cache models/fx/bh_sand_lite.tik
cache models/fx/bh_sand_hard.tik
cache models/fx/bh_foliage_lite.tik
cache models/fx/bh_foliage_hard.tik
cache models/fx/bh_snow_lite.tik
cache models/fx/bh_snow_hard.tik
cache models/fx/bh_carpet_lite.tik
cache models/fx/bh_carpet_hard.tik
cache models/fx/bh_human_uniform_lite.tik
cache models/fx/bh_human_uniform_hard.tik
cache models/fx/water_trail_bubble.tik
cache models/fx/grenexp_base.tik
cache models/fx/bazookaexp_base.tik
cache models/fx/grenexp_paper.tik
cache models/fx/grenexp_wood.tik
cache models/fx/grenexp_metal.tik
cache models/fx/grenexp_stone.tik
cache models/fx/grenexp_dirt.tik
cache models/fx/grenexp_grass.tik
cache models/fx/grenexp_mud.tik
cache models/fx/grenexp_water.tik
cache models/fx/grenexp_gravel.tik
cache models/fx/grenexp_sand.tik
cache models/fx/grenexp_foliage.tik
cache models/fx/grenexp_snow.tik
cache models/fx/grenexp_carpet.tik
cache models/fx/water_ripple_still.tik
cache models/fx/water_ripple_moving.tik
cache models/fx/barrel_oil_leak_big.tik
cache models/fx/barrel_oil_leak_medium.tik
cache models/fx/barrel_oil_leak_small.tik
cache models/fx/barrel_oil_leak_splat.tik
cache models/fx/barrel_water_leak_big.tik
cache models/fx/barrel_water_leak_medium.tik
cache models/fx/barrel_water_leak_small.tik
cache models/fx/barrel_water_leak_splat.tik
cache models/fx/fs_light_dust.tik
cache models/fx/fs_heavy_dust.tik



cache models/static/static_cagelight.tik
cache models/static/lightbulb_covered_on_wire_short.tik
cache models/static/lightbulb_on_wire.tik
cache models/lights/lightbulb_caged.tik
cache models/static/vehicle_shermantank.tik
cache models/static/tree_commontree.tik
cache models/static/smallhutch.tik
cache models/furniture/simplechair.tik
cache models/furniture/table.tik
cache models/lights/hang5lamp.tik
cache models/lights/ceilinglamp1.tik
cache models/static/metalbench.tik
cache models/static/coatrack.tik
cache models/static/loveseat.tik
cache models/static/dresser.tik
cache models/lights/fattablelamp.tik
cache models/static/night_stand.tik
cache models/static/doublemetalbed.tik
cache models/furniture/armchairposh.tik
cache models/static/toilet_short.tik
cache models/static/bathroomsink.tik
cache models/static/bathtubwithshowerhead.tik
cache models/static/stackedshelves.tik
cache models/static/halfcouch.tik
cache models/miscobj/hidden_cabinet_c.tik
cache models/static/wardrobe.tik
cache models/static/typewriter.tik
cache models/furniture/roundedchair.tik
cache models/lights/tablelamp.tik
cache models/static/simpledesk.tik
cache models/static/single_bed.tik
cache models/static/lightbulb_nowire.tik
cache models/static/lightbulb_on_wire_short.tik
cache models/static/rolltop_desk.tik
cache models/miscobj/clipboard.tik
cache models/miscobj/radio_civilian.tik
cache models/static/bigfilecabinet.tik
cache models/lights/hang3lamp.tik
cache models/static/cello.tik
cache models/static/hopechest.tik
cache models/miscobj/hidden_cabinet_a.tik
cache models/static/winecasks.tik
cache models/static/toolbox_closed.tik
cache models/miscobj/welding_mask.tik
cache models/miscobj/welding_torch.tik
cache models/miscobj/welding_tank.tik
cache models/static/simplemetaldesk.tik
cache models/lights/wallsconce-frosted.tik
cache models/static/lightpost_globe.tik
cache models/lights/hanglamp.tik
cache models/static/phonograph.tik
cache models/static/piano.tik
cache models/static/flowerpainting.tik
cache models/static/oldladypainting.tik
cache models/furniture/cardchair.tik
cache models/static/card_table.tik
cache models/static/cabinet_dark.tik
cache models/static/coat_hanging_stand.tik
cache models/static/flourbag-stack.tik
cache models/static/shovel.tik
cache models/static/locker.tik
cache models/furniture/interrogationchair.tik
cache models/static/metaldesk.tik
cache models/lights/glasslamp.tik
cache models/static/desk.tik
cache models/static/static_clock3.tik
cache models/static/cabinet_large.tik
cache models/static/bigbed.tik
cache models/static/static_clock1a.tik
cache models/static/bookcase.tik
cache models/static/lightbulb_covered_on_wire.tik
cache models/lights/chandalier.tik
cache models/furniture/luxuryfootrest.tik
cache models/furniture/luxurychair.tik
cache models/static/metal_mug.tik
cache models/items/bratwurst.tik
cache models/static/servingplate.tik
cache models/static/square_table_red.tik
cache models/static/bighutch.tik
cache models/static/cabinet_small.tik
cache models/static/hedgehog.tik
cache models/static/toilet.tik
cache models/furniture/bunkerchairstool.tik
cache models/static/planningtable.tik
cache models/static/bathtub.tik
cache models/static/body_us04.tik
cache models/static/cot.tik
cache models/static/static_us-helmet_medic.tik
cache models/static/deckofcards.tik
cache models/static/bottle_large.tik
cache models/miscobj/phone_roundbase.tik
cache models/items/documents2b.tik
cache models/static/scr536.tik
cache models/items/documents2d.tik
cache models/items/documents1b.tik
cache models/items/documents1a.tik
cache models/static/rations_sh.tik
cache models/static/mg42ammoboxwbelt.tik
cache models/items/bangalore.tik
cache models/items/explosive.tik
cache models/furniture/bunkerchair.tik
cache models/static/bunkertable.tik
cache models/static/bunkershelves.tik
cache models/static/bunkerbench.tik
cache models/static/bunkbed.tik
cache models/statweapons/mg42_bipod.tik
cache models/static/sandbag_link_topcap.tik
cache models/static/sandbag_link_main.tik
cache models/static/30cal_crate.tik
cache models/static/50cal_crate.tik
cache models/static/static_cablespool_full.tik
cache models/static/square_table.tik
cache models/static/bshelf-tall-thin.tik
cache models/static/lightbulb_covered_nowire.tik
cache models/static/square_table.tik
cache models/static/vehicle_gmctruck.tik
cache models/static/vehicle_jeep.tik
cache models/static/pitchfork.tik
cache models/static/produce_cart.tik
cache models/tatic/haystack.tik
cache models/lights/wallsconce-cutglass.tik
cache models/static/projector.tik
cache models/static/fire.tik
cache models/static/fireplaceset.tik
cache models/static/large_desk.tik
cache models/static/librarytable.tik
cache models/miscobj/hidden_cabinet_b.tik
cache models/furniture/grillchair.tik

haystack

Posted: Mon Mar 31, 2003 2:36 am
by tltrude
cache models/tatic/haystack.tik

Posted: Mon Mar 31, 2003 2:41 am
by PsychoE
OMG - How the heck did u see that one. Thanks.

Posted: Mon Mar 31, 2003 2:46 am
by PsychoE
Fixed it and tried but still not working.

Posted: Mon Mar 31, 2003 3:59 pm
by PsychoE
I took 1 item from my map and placed it in my precache.scr. The item i used was the hedgehog. The line in my old one was:

cache models/static/hedgehog.tik

Of course when i loaded the map, the only model missing was the hedgehog. Everything else was there.

In my new precache.scr i tried this:

cache models/static/hedgehog/hedgehog.tik

I just added the extra /hedgehog/ and sure enough - it was there!!!!!!!!!

re-opening an old topic

Posted: Fri Aug 20, 2004 4:01 am
by PsychoE
PsychoE wrote:1.cache models/static/hedgehog.tik

2.cache models/static/hedgehog/hedgehog.tik
Which line above is the proper method for a precache.scr?

If i use #1, all my models disappear. If I use #2, they are all there, but I think the console is stating an error (will confirm later)

Posted: Fri Aug 20, 2004 5:35 am
by G3mInI
I have never heard of symptom like this. Very odd indeed. But I can say why #2 is working for you. Its as if you have no precache file at all. Since the paths are not valid, Im sure the console is saying for each one, "Could not load blah blah blah, model blah blah not found". So in essence by putting in bogus names in the precache script you are back to seeing all models as if you had no precache file. But something else is at work here, is this for spearhead or mohaa ???

G3mInI

Posted: Fri Aug 20, 2004 4:17 pm
by PsychoE
It is for AA. You are correct. The errors are something like that.