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

Members Online

»
0 Active | 72 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 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: doorkick
lazygit
General Member
Since: Dec 13, 2003
Posts: 296
Last: Nov 3, 2022
[view latest posts]
Level 5
Category: CoD4 SP Mapping
Posted: Saturday, Dec. 20, 2008 09:33 am
can anyone help me ut here with this ive done a few searches and i tried the cod2 doorkick tut works perfect for cod2 but i cant get it working on cod4

any help would be great :)
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 SP Mapping
Posted: Saturday, Dec. 20, 2008 05:47 pm
What happens when you try to run the CoD2 tutorial?
Do you get a missing animation error?

Because the basics should be the same, but because CoD4 uses other files, the names of the animations are probably different.
Share |
lazygit
General Member
Since: Dec 13, 2003
Posts: 296
Last: Nov 3, 2022
[view latest posts]
Level 5
Category: CoD4 SP Mapping
Posted: Saturday, Dec. 20, 2008 11:08 pm
Thanks for your reply caretaker

the problem im having is not with the anim i just changed the anim name to suit the cod4 one in the maps anim.gsc file

the actor moves to the door kicks the door but the door isnt opening

i am reciving no error as well the script it the same as the tut

Code:
door_node = getnode ("door_node", "targetname");

doortrig = getent("door_trig","targetname");

doortrig waittill("trigger",other);


level.doorkicker = getent("doorkicker","targetname");
level.doorkicker.animname = "doorkicker";
level.doorkicker.anim_node = door_node;
level.doorkicker notify ("stop friendly think");

level.doorkicker thread magic_bullet_shield();
level.doorkicker.ignoreme = true;

level maps\_anim::anim_reach_solo (level.doorkicker, "kickdoor", undefined, door_node);
level.doorkicker pushPlayer (false);
door_node thread maps\_anim::anim_single_solo (level.doorkicker, "kickdoor");

level.doorkicker waittillmatch ("single anim", "soundfx = kickdoor");
door = getent ("door", "targetname");
door playsound ("kickdoor");

door rotateyaw(90,.5,.2,.2);

door connectpaths();

level.doorkicker notify ("stop magic bullet shield");
level.doorkicker.ignoreme = false;



the animname im using for cod4

Code:
level.scr_anim[ "doorkicker" ][ "kickdoor" ] = %doorkick_2_cqbwalk;


ive nearly taken up smoking again and im a bit more balder than yesterday now lol all because of this damn i need a drink [drink]
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 SP Mapping
Posted: Sunday, Dec. 21, 2008 10:41 am
Does the kickdoor sound you use work?
Share |
lazygit
General Member
Since: Dec 13, 2003
Posts: 296
Last: Nov 3, 2022
[view latest posts]
Level 5
Category: CoD4 SP Mapping
Posted: Sunday, Dec. 21, 2008 04:58 pm
great thanks for pointing me in the right direction there Caretaker

i cancelled out those 2 lines

Code:
level.doorkicker waittillmatch ("single anim", "soundfx = kickdoor");

door playsound ("kickdoor");


and its working fine sorted out the sounds now thankyou for that..
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP 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

»