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

Members Online

»
0 Active | 120 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: Breakable windows problem
khopki30
General Member
Since: May 7, 2008
Posts: 46
Last: Jul 13, 2011
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Monday, Dec. 7, 2009 02:52 am
I have follow this tutorial and I am having no luck

http://www.modsonline.com/Tutorials-read-117.html

Is COD2 the same as COD in this area? I cannot find a breaking glass tut for COD2.

In a nutshell, when I follow this (ignoring the sounds intially) I can see both pre and post break images (see-thru glass) so I am not sure what else I am meant to do, and even when I shoot the glass, the complete window doesn't disappear.

Any suggestions??
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Monday, Dec. 7, 2009 07:58 am
ok while i havent mapped on cod2 for a while i do assume things are similar to that of cod4 mod tools ( because i map on that now ). So ill just recap over what i do and maybe u could do that in cod2 radiant and see if that works.

first create your frame for your window dont put anything in it, leave it empty.

next create ur brush and texture it with a glass texture of your choice.

next cut the glass so that you have some edges sticking out.

next select only the pieces that are in the center and that have to be gone ( the ones u want to delete) and while you have them selected right click in the 2d grid window and go down to "script" and then select "brushmodel".

now for the important key values to give to your script_brushmodel
type in the following(key/values ):

script_exploder / 1

Now create a trigger_damage trigger and give it these (key/values):

script_exploder / 1

make sure u set up wat kinda damage it should take like, grenades, pistols, bash etc.. by checking some of the boxes in the entity of that brush. Press N while the trigger is selected, and you should see the boxes.

now to have some fx's show up like glass breaking and watnot simple do the following

right click on the 2d window go down to script > model
and when it asks you to search for a model just close it but leave the entity window open and type in these ( key/values ):

model/ fx
script_exploder / 1
script_fxid / ???? <------- place the name of the fx in the value.

example: script_fxid / large_glass_break

if you want your FX to fly out a certain direction placer a "script_origin" and have it face in the direction that u want ur fx to go and then without having anything selected, select your "FX" model and THEN your script origin and link them. I dont know the key in cod2 to link them but probably ctrl + k? idk. in cod4 it is W. Thats it
and your all done for the radiant part. save and close.


Make sure now that in your mp_mapname_fx.gsc you have called your effect properly. this should work. If you have any problems understanding heres a vid that a fellow modder did, check it out:

part1

part2

part 3


even though its on cod4 the same rules apply as to how it is called and what files have to the thing work properly.

I hope this has help shed some light.

edited on Dec. 7, 2009 03:00 am by voidsource

edited on Dec. 7, 2009 03:03 am by voidsource
Share |
khopki30
General Member
Since: May 7, 2008
Posts: 46
Last: Jul 13, 2011
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Monday, Dec. 7, 2009 12:44 pm
http://cid-6991d93cd485e547.skydrive.live.com/embedicon.aspx/COD2%20Maps

Void,

Thanks for the great and detailed response.

I believe that I am doing similar to this.

Can you have a look at my test map (simple house) and I have created a window with a trigger that I cannot get to execute no matter what combinations I try.

At this stage I am not worried about the sound, I can't even get the window to show.

In my test, there is a top part of the window (in brick and then the concrete bottom half should be left after the trigger)

Any help from anyone would be appreciated.

Cheers,

Hoppy
Share |
Banana2077
General Member
Since: Aug 30, 2009
Posts: 7
Last: Apr 18, 2010
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Monday, Dec. 7, 2009 05:06 pm
http://wiki.modsrepository.com/index.php/Call_of_Duty_4:_Breakable_Windows

easier aaand it works [jumping]


rednose
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Monday, Dec. 7, 2009 10:41 pm
banana i took a look and watnot, although it is the same idea, i believe khopki30 is trying to do it without a script. And if he doesnt understand the script ( i dont know if he does or doesnt but for the sake of the arguement assume he doesnt ) then he will g et even more confuse and watnot if something should fail to work. hey khopki add me to xfire my sn is : "voidsource" without quotes. i can help you out more better from xfire.
Share |
khopki30
General Member
Since: May 7, 2008
Posts: 46
Last: Jul 13, 2011
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Monday, Dec. 7, 2009 10:44 pm
What timezone do you operate in Void?

(I am in Australia +10) so it is 8.45am at the moment
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Monday, Dec. 7, 2009 11:23 pm
pacific time i think thats gmt -8 ?? idk.
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11672
Last: Apr 20, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 MP Mapping
Posted: Tuesday, Dec. 8, 2009 12:00 am
Have a look at this tutorial that someone (heh heh - i wonder who) did for cod & uo. the principals haven't changed with exploders all the way through waw

http://www.modsonline.com/Tutorials-read-239.html

[angryalien]
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Tuesday, Dec. 8, 2009 12:13 am
hehehe wat big type-o on there lol :P

edited on Dec. 7, 2009 07:14 pm by voidsource
Share |
khopki30
General Member
Since: May 7, 2008
Posts: 46
Last: Jul 13, 2011
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Tuesday, Dec. 8, 2009 12:14 am
I will have a look at the tut tonight and have a crack at it, thanks for everything so far guys, you all ROCK!!! [rocking]

If I have any more problems, I will post up.

Cheers,

Hoppy
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

»