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

Members Online

»
0 Active | 5 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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
Page
Next Page
subscribe
Author Topic: Couple probs on my map
{[TLOTD]}-Kenny
General Member
Since: May 29, 2007
Posts: 8
Last: Jan 23, 2008
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Monday, Sep. 10, 2007 11:54 pm
I have 2 errors on my map that i hope someone can help with ,

1 : i have put teleports in the map ( its a 2 sided sniper map ) but they only seem to work on one side ?

2 : I have added the flying stukas from the cod1 tut , but when they fly over i hear no sound, i did add the code to the soundalises file, but no joy .

Any ideas
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: Tuesday, Sep. 11, 2007 08:13 pm
1) Ca you post the script you used?

2) Can you post the script you used, as wel as the .csv file you made?
Share |
{[TLOTD]}-Kenny
General Member
Since: May 29, 2007
Posts: 8
Last: Jan 23, 2008
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Tuesday, Sep. 11, 2007 11:07 pm
Yep

1. - Teleport script i got from the tutorials.


main()
{

entTransporter = getentarray("enter","targetname");
if(isdefined(entTransporter))
{
for(lp=0;lp entTransporter[lp] thread Transporter();
}


}


Transporter()
{
while(true)
{
self waittill("trigger",other);
entTarget = getent(self.target, "targetname");

wait(0.10);
other setorigin(entTarget.origin);
other setplayerangles(entTarget.angles);
//iprintlnbold ("You have been teleported !!!");
wait(0.10);
}
}


I have went into the map & checked & double checked everything , trigs, targetnames, script origins. but still no joy.


2 - script for the planes was from the flying stuka tutorial.

main()
{

level thread planes();
}

planes()
{
level.PlaneSpeed = 7;

stuka1 = getent ("stuka1","targetname");
stuka2 = getent ("stuka2","targetname");
stuka3 = getent ("stuka3","targetname");

temp = getent (stuka1.target,"targetname");
stuka1.dest = temp.origin;
stuka1.start = stuka1.origin;
stuka1 hide();
temp = getent (stuka2.target,"targetname");
stuka2.dest = temp.origin;
stuka2.start = stuka2.origin;
stuka2 hide();
temp = getent (stuka3.target,"targetname");
stuka3.dest = temp.origin;
stuka3.start = stuka3.origin;
stuka3 hide();

wait 2;

while (1)
{
stuka1 thread plane_flyby("stuka_flyby");
wait .15;
stuka2 thread plane_flyby("stuka_flyby");
wait .15;
stuka3 thread plane_flyby("stuka_flyby");

wait 60;
}
}


plane_flyby(sound)
{
// If you specified a sound to play then play it
if (isdefined (sound))
self playsound (sound);

wait 15;

self show();

self moveto(self.dest, level.PlaneSpeed, 0.1, 0.1);

wait level.PlaneSpeed;

self hide();
self.origin = self.start;
}

& the CSV i used the one from the map making bible & just added the code from the tutoial


name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage

#Ambiance
ambient_tlotd_desert_base,,ambient/amb_africa01b.mp3,0.63,,,,,,,local,streamed,,looping,,tlotd_desert_base

#Tank sounds,,,,,,,,,,,,,,,
stuka_flyby,,vehicles/stuka_by02.wav,1.25,,,,100000,,,,,,,,



edited on Sep. 11, 2007 07:08 pm by {[TLOTD]}-Kenny
Share |
Marshall2006
General Member
Since: May 1, 2006
Posts: 180
Last: Oct 24, 2010
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 12, 2007 12:00 am
Make sure you didn't copy and paste the script origins for the teleporters...

That sometimes creates a null value on the entity.
Share |
{[TLOTD]}-Kenny
General Member
Since: May 29, 2007
Posts: 8
Last: Jan 23, 2008
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 12, 2007 12:57 am
Yep cause i just made one side then copied it all , i think thats the prob with the teleport .

& i must say a big thanks to MHZ 45King for sorting my sound probs , thx dude. [biggrin]
Share |
the4threich
General Member
Since: May 28, 2006
Posts: 70
Last: Jan 25, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Thursday, Sep. 20, 2007 05:20 pm
What was the fix? I'm having trouble getting my sound to work with my planes too.
Share |
the4threich
General Member
Since: May 28, 2006
Posts: 70
Last: Jan 25, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Thursday, Sep. 20, 2007 05:50 pm
The plane works just not the sound.
GSC
Code:
main() 
{ 

level thread planes(); 
} 

planes() 
{ 
level.PlaneSpeed = 3.5; 

stuka1 = getent ("stuka1","targetname"); 

temp = getent (stuka1.target,"targetname"); 
stuka1.dest = temp.origin; 
stuka1.start = stuka1.origin; 
stuka1 hide(); 

wait 2; 

while (1) 
{ 
stuka1 thread plane_flyby("stuka_flyby"); 
wait .15; 

wait 60; 
} 
} 

plane_flyby(sound) 
{ 
// If you specified a sound to play then play it 
if (isdefined (sound)) 
self playsound (sound); 

wait 15; 

self show(); 

self moveto(self.dest, level.PlaneSpeed, 0.1, 0.1); 

wait level.PlaneSpeed; 

self hide(); 
self.origin = self.start; 
} 


CSV
Code:
name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage

#Flying Stuka

stuka_flyby,,vehicles/mrk_airplane_drone3b_loop.wav,1,,,,100000,,,,,,,,

#Exploding Barrel

barrels,,Explosions/exp_armoredcar.wav,1,,,,,50,3000,voice,streamed,,,
Share |
Capt.Com
General Member
Since: Nov 14, 2004
Posts: 879
Last: Oct 6, 2007
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Thursday, Sep. 20, 2007 06:11 pm
Try this:
Code:
name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage

#Flying Stuka

stuka_flyby,,vehicles/mrk_airplane_drone3b_loop.wav,0.6,0.95,,,,,100000,local,streamed,,,,,,

#Exploding Barrel

barrels,,Explosions/exp_armoredcar.wav,1,,,,,50,3000,voice,streamed,,,


edited on Sep. 20, 2007 02:13 pm by Capt.Com
Share |
the4threich
General Member
Since: May 28, 2006
Posts: 70
Last: Jan 25, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Thursday, Sep. 20, 2007 06:19 pm
Thanks Capt, it's getting better. However, the sound starts almost immediately and the plane doesn't start until about 10 seconds after the sound is done. At least i heard something.
Share |
Capt.Com
General Member
Since: Nov 14, 2004
Posts: 879
Last: Oct 6, 2007
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Thursday, Sep. 20, 2007 06:37 pm
Add a delay to the sound the same as you added to your plane, they will start together at the same time.
Share |
Restricted Access Topic is Locked
Page
Next Page
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

»