Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 09:50:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Maybe add to the W3Interface other functions, such as War3_PrecacheSound !?  (Read 195 times)
Frenzzy
Full Member
***
Posts: 217


337905984 frenzzy@live.ru
View Profile WWW
« on: January 27, 2011, 04:19:55 AM »

Please add to war3source simple functions (such as War3_PrecacheSound) for working with files.
There are a lot of races, which use custom files, sounds, decals and models. In these races often repeats one and the same code.
I think it will help to simplify the use of custom resources.

Here is an example of how this might look like:
« Last Edit: January 27, 2011, 09:03:28 AM by Frenzzy » Logged

O_o
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #1 on: February 06, 2011, 01:31:37 PM »

Does this not already do that for models?

Code:
HaloSprite = PrecacheModel("materials/sprites/halo01.vmt");

Yes I know that is a sprite but I have used the same code for models in the past...
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!