The war that changed the world rages on, with 13 all-new single-player missions, 11 new multiplayer maps, and more intense action than ever before. Award-winning developer Gray Matter Interactive Studios follows up on the success of Infinity Ward's Call of Duty - winner of over 80 Game of the year and 50 Editors' Choice Awards worldwide - with Call of Duty: United Offensive. This next chapter in the Call of Duty franchise raises the brand's trademark cinematic intensity to new heights with over 13 new single-player levels, plus an enhanced multiplayer experience featuring new maps and 3 new modes of play. Players will look once again through the eyes of American, British and Russian soldiers, as they are thrust alongside their squad mates into more authentic action across Fortress Europe’s most historic battlefields - this time with new weather and pyrotechnic effects, character abilities such as sprinting and cooking-off grenades, and weapons including flamethrowers and...

Post tutorial Report RSS Swinging Signs Tutorial

BR3NT shows you how to add swinging signs to your map

Posted by on - Intermediate Level Design/Theory

Tutorial written by B43nt. Mirrored here for archival purposes.


Swinging Signs TutorialVersions: You must be logged in to view history.BR3NT shows you how to add swinging signs to your map

Swinging Sign Tutorial


By: BR3NT

SIGNS

1/Put a script_model in Your Map, Give it these Parameters:

KEY:model
VALUE:xmodel/o_us_prp_sign_a

KEY:targetname
VALUE:sign_a

Thats it For the Map.

(NOTE: The script below has the syntax for all four signs-
You only need to use the script section for the sign you are Using.Unless you use all Four signs in your map.)
The other signs You can use in the Models:

ex: xmodel/o_us_prp_sign_b
xmodel/o_us_prp_sign_c
xmodel/o_us_prp_sign_c2 (NOTE: I named it "sign_d" for the tutorial.)

Here is the script.

============= SCRIPT ==============

main()
{
maps\_load_gmi::main();
maps oville_anim::main();
level thread sign_anim_loop();

}



#using_animtree("noville_signs");
sign_anim_loop()
{
// SIGN A
level.scr_anim["sign_a"]["swing"][0] = (%o_us_prp_sign_a);
sign = getent("sign_a","targetname");
sign useAnimTree( #animtree );
sign.animname = "sign_a";
sign thread maps\_anim_gmi::anim_loop_solo(sign, "swing");

// SIGN B
level.scr_anim["sign_b"]["swing"][0] = (%o_us_prp_sign_b);
sign = getent("sign_b","targetname");
sign useAnimTree( #animtree );
sign.animname = "sign_b";
sign thread maps\_anim_gmi::anim_loop_solo(sign, "swing");

// SIGN C
level.scr_anim["sign_c"]["swing"][0] = (%o_us_prp_sign_c);
sign = getent("sign_c","targetname");
sign useAnimTree( #animtree );
sign.animname = "sign_c";
sign thread maps\_anim_gmi::anim_loop_solo(sign, "swing");

// SIGN D
level.scr_anim["sign_d"]["swing"][0] = (%o_us_prp_sign_c);
sign = getent("sign_d","targetname");
sign useAnimTree( #animtree );
sign.animname = "sign_d";
sign thread maps\_anim_gmi::anim_loop_solo(sign, "swing");

}

============ END SCRIPT===============

Futher more there are sounds you can add like wind and swinging sign sound.
That deals with .CSV and soundaliases and can be learned here.
I cant show how to make a soundfile everytime I show Stuff, so figure out the sounds from the tutorials and forums on the MODSONLINE.COM Web Site. Map On.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: