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 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: ai trouble
sgt.hawkins
General Member
Since: Apr 12, 2013
Posts: 122
Last: Nov 28, 2016
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Thursday, Jun. 27, 2013 04:33 pm
When I try to make ai spawn it wont work. I do everything it says in the tuts but when I compile the map and play it the ai just wont spawn.
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Thursday, Jun. 27, 2013 05:43 pm
Do you have basic gsc file?
Code:

#include maps\_utility;


main()
{
      maps\_load::main();
}
Share |
sgt.hawkins
General Member
Since: Apr 12, 2013
Posts: 122
Last: Nov 28, 2016
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Jul. 26, 2013 03:11 am
Sorry for the late reply ,you probably wont get back to me but, to answer your question no. I don't no how to make one(im a noob).
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Friday, Jul. 26, 2013 11:36 am
In maps folder create new text file and name it to yourmapname.gsc
Inside copy the above code.
Share |
sgt.hawkins
General Member
Since: Apr 12, 2013
Posts: 122
Last: Nov 28, 2016
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Jul. 26, 2013 03:41 pm
okay, now what do I do?
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Friday, Jul. 26, 2013 03:57 pm
Now test your map and see, if AI spawns.
Share |
sgt.hawkins
General Member
Since: Apr 12, 2013
Posts: 122
Last: Nov 28, 2016
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Jul. 26, 2013 04:01 pm
Oh btw, you have been so much help you answered all my questions no matter hew noobish they were so thanks. the enemy is spawning but wont move is there anything else I have to do?
Share |
sgt.hawkins
General Member
Since: Apr 12, 2013
Posts: 122
Last: Nov 28, 2016
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Jul. 26, 2013 04:32 pm
nevermind ,I figured it out.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

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

»