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

Members Online

»
1 Active | 88 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

Tutorials

»
CoD2 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Cod2 moving door tutorial
Versions: You must be logged in to view history.
A short tutorial by PwN3R to create moving doors with sounds

Hi my name is PwN3R and i will show us how to make a cod2 moving door..

 Before reading if u can get my prefab here:

http://www.modsonline.com/Downloads-dl-4715.html


1.Open radiant and create ur own map with lightnings....later create a simple wall and a door where u want.

2.Now go to textures tools and create an square of (ORIG) texture next the door about 1 square with the same height of the door,the orig is going to be the hinge of the door if u don't put them the door is going to be crazy.

3.Select the door and the orig texture and go to the 2d view right click ,script brushmodel and now go to entities (KEY N) and now give it that:
->Key:targetname
->value:door

3.Deselect the door and now go to textures,tools and create a trigger texture near the door.Later go to the 2d view right click and trigger( u can try between trigger-multiple:automatic door or trigger_use_touch:u push f and the door opens.I try with trigger_use_touch.Now i go to entity (key n) and i put this:
->Key:targetname
->Value:trig_door

4.Now deslect the trig and that's all with radiant now let's script.

Script:create a gsc example mp_door and put this inside:

main()
{
thread door1_rotate();
}
door1_rotate()
{
door1 = getent("door", "targetname");
trig = getent("trig_door", "targetname");
while (1)
{
trig waittill("trigger");
door1 playsound("dooropen");
door1 rotateyaw(90, 1.5, 0.7, 0.7);
door1 waittill("rotatedone");
wait (3);
door1 playsound("doorclose");
door1 rotateyaw(-90, 1.5, 0.7, 0.7);
door1 waittill("rotatedone");
}
}

in mp_yourmapname.gsc u have to put this:

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

maps\mp\mp_door::main();

}


To the sounds u only have to create the soundaliass foldier.Inside them create your mp_yourmapname.csv

Add this at ur .csv:

name,file,vol_min,dist_min,dist_max,channel,type,loop,loadspec

dooropen,Doors/mrk_shutter_move5.wav,0.85,50,500,voice,,,
doorclose,Doors/mrk_shutter_move4.wav,0.85,50,500,voice,,,

Door tutorial by PwN3R

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

»