Welcome New User Home | Forums | Register | Login | Larger Font
Main-Menu
Home
Login
Register
Add Download
Add News
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
MasterChief [Today]
Zestycookie [Forum]

2 Members and 8 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Friday, May. 16th
Video games 'do not' encourage violence
Friday, May. 16th
Site update
Friday, May. 16th
MODSonair Episode 127
Tuesday, May. 13th
Web hosting, you need?
Sunday, May. 11th
MODSonair 127 Live
Latest Poll
Would you subscribe for a maps/projects backup utility and service?
I'd pay just about anything for that. 2.06%
If it was cheap enough I would. 4.12%
Only if it came with my MODSonline subscription. 6.19%
I can backup my own files. 82.47%
Why would I backup my files? 5.15%
Read More...
8 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
[TUTORIAL] How to get rid of the wait time
CoD 4 Level Desi.. Posts: (5) Views: (116) by CoDLiNK
SP_Help!
CoD Level Design.. Posts: (2) Views: (15) by Sparks.
Kill3r's K3 MOD is DANGEROUS TO YOU AND YOUR S...
CoD4 General Gam.. Posts: (17) Views: (216) by 4mori_rabbit
train
CoD 4 Level Desi.. Posts: (1) Views: (12) by navysealsniper
Treyarch SPLITREASON.COM - Gear for Geeks and GamersBuy geek and gamer themed T-Shirts and Hats @ SplitReason.com!
Tutorials: CoDUO Mapping
Mapping and modding for Call of Duty United Offensive.

Rating:
Aweful Rating Poor Rating Average Rating Good Rating Excellent Rating
Getting AI actors to Talk, Anim
2005-12-03 08:24:30
So you want to know how to get your plain AI actors to act more mature? well in a few small steps you will be able to
Tut written by Hercules
////////////////////////////////////////////
//////INTRO_ANIM_SOUND/////
///////////////////////////////////////////

Step 1: make an AI actor, put him where ever you want right click>>>>actor

Step 2: give him the entitys below...

targetname moody
script_friendname Sgt. Moody

Thats it for the mapping, save & compile

////////////////////////////////////////////////////////////////////
////////////////now for the scripting//////////////////////
//////////////////////////////////////////////////////////////////

Step 3:
#using_animtree("generic_human");
main()
{
maps\_load_gmi::main();
level.scrsound["foley"] ["open_speech"] = "foley_ev00_01";
level.scr_face["foley"] ["open_speech"] = (%f_foy_foley_ev00_01);
level.scr_anim["foley"] ["open_speech"] = (%c_us_foy_foley_ev00_01);
wait 2;
level.scrsound["foley"] ["open_speecha"] = "foley_ev00_01a";
level.scr_face["foley"] ["open_speecha"] = (%f_foy_foley_ev00_01a);
level.scr_anim["foley"] ["open_speecha"] = (%c_us_foy_foley_ev00_01a);
wait 4;
level.scr_face["foley"] ["whistle_blow"] = (%PegDay_facial_Friend1_01_incoming);
level.scr_anim["foley"] ["whistle_blow"] = (%c_us_foy_blow_wistle);
level.scrsound["foley"] ["whistle_blow_rolloff2"] = "whistle_blow_rolloff2";
wait 4;

thread foley();

}

foley()
{
level.foley = getent("moody","targetname");
level.foley.animname = "foley";
level.foley thread anim_single_solo (level.foley,"open_speech");
wait 19;
level.foley thread anim_single_solo (level.foley,"open_speecha");
wait 4;
level.foley thread anim_single_solo (level.foley,"whistle_blow");
}


anim_single_solo (guy, anime, tag, node, tag_entity)
{
newguy[0] = guy;
maps\_anim_gmi::anim_single (newguy, anime, tag, node, tag_entity);
}


/////////////////////////////////////////////////////////////////////
/////////////////now for the sounds////////////////////////
///////////////////////////////////////////////////////////////////

Step 4: in your soundaliases folder, make a new txt document and rename it to YOURMAPNAME.csv and put this inside
"# If the text in the first column of a row starts with a # character, the row is ignored",,
,,"If the first column for a row is blank, then the row is ignored"
# The first non-comment line of a sound alias file specifies the key name for all values appearing in this column.,,
"# This means it is safe to swap entire columns around, though you should never swap partial columns.",,
"# You can invent new keys, but the game will ignore them if it doesn't know about them.",,
"# You can leave out keys, but the ""name"" and ""file"" keys must always be present.",,

,name,name of the alias that is used to play this sound (required)
,sequence,"used to uniquely identify alias entries when more than one sound goes to an alias, used only to catch unwanted duplicates (default = 0)"
,file,the name of the file that contains the sound data (required)
,vol_min,"0 is silent, 1 is full volume (default = 1)"
,vol_max,"0 is silent, 1 is full volume (default = same as vol_min)"
,pitch_min,"1 is normal playback, 2 is twice as fast, 0.5 is half as fast (default = 1)"
,pitch_max,"1 is normal playback, 2 is twice as fast, 0.5 is half as fast (default = same as pitch_min)"
,dist_min,"within this distance in inches, the sound is always full volume (default = 120)"
,dist_max,"outside this distance in inches, the sound is not started. If left blank or set to 0, the sound will play from any distance. This does not affect sound volume

falloff."
,channel,"auto, menu, weapon, voice, item, body, local, music, announcer (default = auto)",,,,,,,,,,,,,
,type,streamed / loaded (default = loaded),,,,,,,,,,,,,
,probability,weight to use for the weighted probability of playing this sound instead of another sound (default = 1),,,,,,,,,,,,,
,loop,"whether this sound is ""looping"" or ""nonlooping"" (default = ""nonlooping"")",,,,,,,,,,,,,
,masterslave,"if ""master"", this is a master sound. If a number, then this sound won't exceed this volume whenever any master sound is playing. If blank, then neither

master nor slave.",,,,,,,,,,,,,
,loadspec,"space-separated list of which maps should use this alias; eg, ""burnville dawnville"". If blank, the alias is used on all maps.",,,,,,,,,,,,,
name,sequence,file,vol_min,vol_max,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle

#foley,,,,,,,,,,,,,,,
foley_ev00_01,,voiceovers/foy/foley_ev00_01.mp3,1,,,,80,1500,voice,streamed,,,,MAP NAME HERE,GMI_SUBTITLES_FOY_FOLEY_EV00_01
foley_ev00_01a,,voiceovers/foy/foley_ev00_01a.mp3,1.1,,,,80,1500,voice,streamed,,,,MAP NAME HERE,GMI_SUBTITLES_FOY_FOLEY_EV00_01A
whistle_blow_rolloff2,,misc/whistle_blow_rolloff2.wav,1,,,,80,1500,voice,streamed,,,,MAP NAME HERE,


Step 5: in your soundloadspecs folder, make a new folder rename it to SP, and inside that make a new txt document rename it to YOURMAPNAME.csv and put this inside
# This file defines the default soundalias files to load if no map specific loadspec file is found
# If you want to include sounds into your map file which are not included here you should make a seperate
"# load spec file int the form of "".csv"" using this file as a base. You should only load the"
# soundalias files which are absolutely necessary to keep the sound memory footprint as small as possible
#*********************************************************************************************************

YOUR MAP NAME.csv
gmi_mp_weap_uk.csv
gmi_sound.csv
gmi_music.csv
default.csv
wep_gmi_sound.csv
iw_sound.csv
iw_sound2.csv
iw_music.csv
pi_sound.csv
surface_gmi_sound.csv
pi_sound.csv
generic_mp_sound.csv
gmi_credits.csv
dialog_generic.csv
dialog_mp.csv
gmi_dialog_generic.csv
gmi_dialog_mp.csv
gmi_intros.csv
gmi_mp_aircraft.csv
gmi_mp_artillery.csv
gmi_mp_vehicles_ge.csv
gmi_mp_vehicles_ru.csv
gmi_mp_vehicles_us.csv
gmi_mp_weap_all_allied.csv
gmi_mp_weap_uk.csv
gmi_mp_weap_ru.csv
gmi_mp_weap_us.csv
credits.csv
default.csv
gmi_ru_intro.csv
gmi_uk_intro.csv
gmi_uk_mid.csv


Thats it, wasnt hard was it you can get the .map file & files from HERE.

All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline.com can be found News.php.
MODSonline Subscriptions
Partners
Call of Duty Headquarters
mp_carpark
The Firing Box
modbase.be
Battle for Europe COD2
Half-Life 2 Mods for Dummies
Frag Universe
Quake 4 Mods for Dummies
Ask About
Advertising
Friends
Volcano
After Life Gaming
SOF2 Files and Downloads
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 127
MODSonair Episode 126
MODSonair Episode 125
MODSonair Episode 124
MODSonair Episode 123
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware