Members Online»
0 Active | 82 Guests
Online:
|
LATEST FORUM THREADS»
by Welshy
Posts: 6 / 409 The Future of MODSonline
In The News by KAZAM3766
Posts: 1 / 645 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2710 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 3227 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 1034 New Cod UO Rifle Mod.
CoD Mapping |
Polls»
|
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»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware