Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 67 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: cxaca
wsa.miller
General Member
Since: May 26, 2006
Posts: 51
Last: Oct 25, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Sunday, May. 20, 2007 04:46 am
[banghead]
Look my script:


________________________________________________

sonido_1()
{
efx_avion_1 = getent ("efx_avion_1","targetname");

efx_avion_1 = efx_avion_1 getorigin();
efx_avion_1 playsound ("avion_en_caida");
wait 10;
efx_avion_1 playsound("exp_avion");
}

________________________________________________

The origin (efx_avion_1) is good in radiant, I when run the map, saw this:


vector is not an entity: (file 'maps/mp/aviones_exp.gsc', line 71)
efx_avion_1 playsound ("avion_en_caida");


I donĀ“t understand!!![mad]

Help me please!!!

edited on May. 20, 2007 12:47 am by wsa.miller

edited on May. 20, 2007 12:48 am by wsa.miller
Share |
codmp
General Member
Since: Feb 7, 2006
Posts: 905
Last: Aug 1, 2011
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Sunday, May. 20, 2007 05:47 am
Do you have your .csv file? You gonna need that for the sound to play.
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Sunday, May. 20, 2007 08:00 am
you can remove the line.

efx_avion_1 = efx_avion_1 getorigin();

It turn efx_avion_! into a vectro, with the origin as numbers. And the playsound function works of entities, not of origin numbers (vectors).
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»