Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Checkig For Precached Models And Sounds

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
Junrall Joined: 21 Sep 2009 Posts: 136 Location: North West Oregon, USA |

Posted: Mon Mar 01, 2010 7:36 pm Post subject: Checkig For Precached Models And Sounds |

Is there a way, in QC, to check if something is already precached? If something is precached twice will Quake know not to precache the item twice or will it overwrite the first precache? Are there negative effects to precaching something twice... like memory usage?
_________________
Good God! You shot my leg off!

Back to top |

Spike Joined: 05 Nov 2004 Posts: 944 Location: UK |

Posted: Mon Mar 01, 2010 8:35 pm Post subject: |

duplicate precaches are not a problem. there is no standard way to see if something is already precached. just precache it again. note that precaches (normally) only work at map load time. _________________
What's a signature?

Back to top |

frag.machine Joined: 25 Nov 2006 Posts: 728 |

Posted: Tue Mar 02, 2010 12:22 am Post subject: |

Don't worry about duplicate precaches, Quake just ignores it. _________________ frag.machine - Q2K4 Project http://fragmachine.quakedev.com/

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT
Page 1 of 1

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group