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

Members Online

»
0 Active | 5 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 SP Mapping
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Question about AI
Spiritualkid
General Member
Since: May 28, 2008
Posts: 27
Last: Mar 26, 2013
[view latest posts]
Level 2
Category: CoD2 SP Mapping
Posted: Saturday, Mar. 2, 2013 07:05 pm
Hello all how can I Make Ai to go in crouch/prone position


ex: Ai moves in his path after he raeaches his node he hits the dirt(go prone) and he moves to the next node in prone position pls help
Share |
FzBr.d4rk
General Member
Since: Jan 23, 2011
Posts: 86
Last: Jun 7, 2016
[view latest posts]
Level 3
Category: CoD2 SP Mapping
Posted: Sunday, Mar. 3, 2013 02:05 am
node = getnode("whatever","targetname");
node_2 = getnode("whatever_2","targetname");

ai = getEnt("whatever_3", "targetname");//The actor

ai setGoalNode(node);
ai waittill("goal");

ai allowedstances("prone");//go prone

ai setGoalNode(node_2);


PS:.I have not tested the code but hope it works.[thumbs_up]
Share |
Spiritualkid
General Member
Since: May 28, 2008
Posts: 27
Last: Mar 26, 2013
[view latest posts]
Level 2
Category: CoD2 SP Mapping
Posted: Friday, Mar. 8, 2013 04:43 pm
i will test it mate another question how can i make a normal ai ex

american ranger reg garand to shoot one location always?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»