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

Members Online

»
0 Active | 113 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 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: need a little help with a tutorial
SkyDog
General Member
Since: Aug 26, 2013
Posts: 14
Last: Sep 10, 2013
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Tuesday, Sep. 3, 2013 02:00 am
Ok, Trying to go through this tutorial http://modsonline.com/Tutorials-read-525.html


I have downloaded everything and have made the files. What I need to know is. What are the file names supposed to be and where should they go?
tutroom.csv and tutroom.gsc?

I tried placing both of them in the raw/maps folder under those names but I get errors when attempting to run the map.

could not find script maps_load maps_load:main();
see console for details.
The console says something similar.

Would like to verify what I should have from this tutorial. I'd really appreciate some help with this.

Thanks


Share |
juliendrix
General Member
Since: Sep 2, 2013
Posts: 5
Last: Jan 27, 2014
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Tuesday, Sep. 3, 2013 10:04 am
hey

the tutroom.csv should go into \raw\soundaliases\
and tutroom.gsc into raw\maps\

then add to your zone file when you compile your map:
sound,tutroom,tutroom,all_sp

then build your fast file again and it should work
Share |
SkyDog
General Member
Since: Aug 26, 2013
Posts: 14
Last: Sep 10, 2013
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Wednesday, Sep. 4, 2013 12:37 am
juliendrix writes...
Quote:
hey

the tutroom.csv should go into \raw\soundaliases\
and tutroom.gsc into raw\maps\

then add to your zone file when you compile your map:
sound,tutroom,tutroom,all_sp

then build your fast file again and it should work


Omg thank you so much for your help I am grateful, really. All of your information was spot on.

The tutorial however had a few scripting errors and would never work as packaged. Between your info here and google I was able to get it sorted.


Now hoping I can take this and make it work for my mp_map.

Then I still need to have a sound file play at the beginning and end of an ffa match.

Again, Thank you so much. Glad to know there are still people here that are willing to help the noobs :)







Share |
SkyDog
General Member
Since: Aug 26, 2013
Posts: 14
Last: Sep 10, 2013
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Wednesday, Sep. 4, 2013 02:53 am
Somehow I was able to figure out how to make the sound play in multiplayer :) But I need just a little more help to get it right.

I created a map based from the mp_test and called it mp_testjc

I took the existing information from the sp tutorial and changed it to the following:

gsc file :

main()
{
maps\mp\_load::main();

thread serious();

}
// main()


serious()
{
trigger = getent("soundtrig","targetname");
sound = getent("soundai","targetname");
trigger waittill ("trigger");
sound playsound ("serious");

} // serious()

The csv file was unchanged, just renamed the file.

Removed the actor vasquez,,, and replaced him with a second trigger multiple brush and gave it a targetname "soundai".

Modifed the: sound,tutroom,tutroom,all_sp

to read: sound,mp_testjc,mp_testjc,all_mp

And presto! had the sound in the mp map. [jumping]

The problem is it only happens once. How can I make this trigger repeatedly? I want to play a sound anytime someone walks into a room so it needs to reactivate each time.

I tried playing with the gsc file a bit but no luck. I would be grateful if you could help me once again get this figured out. I'm amazed I was able to get away with what I've done so far lol, the scripts look greek to me...

Thanks





Share |
SkyDog
General Member
Since: Aug 26, 2013
Posts: 14
Last: Sep 10, 2013
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Wednesday, Sep. 4, 2013 03:12 am
The other thing I wanted to know was about packing up the iwd file. so all of this works in the usermaps folder.

What do I need and what is the folder structure for those files?

thanks

Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Wednesday, Sep. 4, 2013 06:14 am
I'll teach you how to do audio in Cod4 if you want. Just PM me if you still need help and we'll get something going.
Share |
juliendrix
General Member
Since: Sep 2, 2013
Posts: 5
Last: Jan 27, 2014
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Wednesday, Sep. 4, 2013 07:01 am
SkyDog writes...
Quote:
Somehow I was able to figure out how to make the sound play in multiplayer :) But I need just a little more help to get it right.

I created a map based from the mp_test and called it mp_testjc

I took the existing information from the sp tutorial and changed it to the following:

gsc file :

main()
{
maps\mp\_load::main();

thread serious();

}
// main()


serious()
{
trigger = getent("soundtrig","targetname");
sound = getent("soundai","targetname");
trigger waittill ("trigger");
sound playsound ("serious");

} // serious()

The csv file was unchanged, just renamed the file.

Removed the actor vasquez,,, and replaced him with a second trigger multiple brush and gave it a targetname "soundai".

Modifed the: sound,tutroom,tutroom,all_sp

to read: sound,mp_testjc,mp_testjc,all_mp

And presto! had the sound in the mp map. [jumping]

The problem is it only happens once. How can I make this trigger repeatedly? I want to play a sound anytime someone walks into a room so it needs to reactivate each time.

I tried playing with the gsc file a bit but no luck. I would be grateful if you could help me once again get this figured out. I'm amazed I was able to get away with what I've done so far lol, the scripts look greek to me...

Thanks




put your sound script in a while(1)
and for the iwd s in the folder in usermaps for your map you need to put your map.ff and map_load.ff in there, and if you have custom textures used you just put them in a map called images and package it as a .zip, but rename the extension to iwd and it works.
if you dont know how to put your script in a while(1) , post again and i will do it for you its very easy
Share |
SkyDog
General Member
Since: Aug 26, 2013
Posts: 14
Last: Sep 10, 2013
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Thursday, Sep. 5, 2013 03:14 am
Folder structures: Yes I knew about the iwd but just needed to know about the sound folder part of it.

While(1) script: Yes please if you could, I wouldn't know where to start.

Here is my existing mp_mapname.gsc

main()
{
maps\mp\_load::main();
maps\mp\_load::main();
maps\mp\_explosive_barrels::main();
thread serious();

}
// main()


serious()
{
trigger = getent("soundtrig","targetname");
sound = getent("soundai","targetname");
trigger waittill ("trigger");
sound playsound ("serious");

} // serious()


edited on Sep. 4, 2013 09:45 pm by SkyDog

edited on Sep. 5, 2013 04:11 am by SkyDog
Share |
juliendrix
General Member
Since: Sep 2, 2013
Posts: 5
Last: Jan 27, 2014
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Saturday, Sep. 7, 2013 09:11 am
main()
{
maps\mp\_load::main();
maps\mp\_load::main();
maps\mp\_explosive_barrels::main();
thread serious();

}
// main()


serious()
{
while(1)
{
trigger = getent("soundtrig","targetname");
sound = getent("soundai","targetname");
trigger waittill ("trigger");
sound playsound ("serious");
}
} // serious()



thats it basicly, now it should word everytime
Share |
SkyDog
General Member
Since: Aug 26, 2013
Posts: 14
Last: Sep 10, 2013
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Saturday, Sep. 7, 2013 11:54 pm
juliendrix writes...
Quote:
main()
{
maps\mp\_load::main();
maps\mp\_load::main();
maps\mp\_explosive_barrels::main();
thread serious();

}
// main()


serious()
{
while(1)
{
trigger = getent("soundtrig","targetname");
sound = getent("soundai","targetname");
trigger waittill ("trigger");
sound playsound ("serious");
}
} // serious()



thats it basicly, now it should word everytime

Just tried this and LOL it worked too good, had to put a wait 5; in there so it could finish playing before starting to play again.

Thanks [rocking]
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 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

»