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

Members Online

»
0 Active | 7 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
Page
Next Page
subscribe
Author Topic: [TUTORIAL] Ai and mg42
P.o.W
General Member
Since: Sep 11, 2004
Posts: 123
Last: Mar 17, 2020
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 12:49 am
Ok gonna talk through setting up ai to use an mg42. This tutorial is aimed at sp begginers and is very easy to do.

Ok so lets make a start... Right click and do misc --> turret. Then have a key of model with the value of xmodel/weapon_mg42. Then insert weaponinfo as the key and the value as mg42_bipod_stand. The on the entity window u will see some more options like arcs which is how far the mg42 can be turned in that direction. use wot u like and then place the gun on wotever u want.

Now make a pathnode, the pink 1s. put this about 8 units behind the gun.

Now make an actor

**** THIS PART FOR SPAWNING THE ACTOR ONLY *****
Tick spawner and forcespawn and then make a trigger were u want it, make it into a trigger mulltiple and then add the spawn AI trigger to it.
*******************************************


Now connect IN THIS ORDER the trigger (if u have 1) to the actor, then the actor to the pathnode and finally the pathnode to the mg42.

**ADDITION** If you would like a situation of once the gunner dies some1 else spawns to use the gun then follow this next bit.

On the trigger enter key targetname and a value of flood and secure. then on the actor and a count of hw ever many ai u want to ever spawn from this actor, for example 3.

**********************

You can also use other features like :

key = script_additive_delay // Additive delay is the # of seconds extra a flood_spawner will wait for each additional spawning. Defaults to 1 second.

script_killspawner // When you go through a trigger with this on it, any spawners that have the same # will be deleted.

Cheers
P.o.W
Share |
P.o.W
General Member
Since: Sep 11, 2004
Posts: 123
Last: Mar 17, 2020
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 12:59 am
Wot the hell happened there.

THIS IS A COD 2 TUT AND IS NOT FOR UO.

CAN AN ADMIN PLEASE MOVE TO COD2 SECTION BEFORE UPLOADING TO TUTORIAL SECTION.

Thanks

P.o.W
Share |
mrvip
General Member
Since: Jan 21, 2005
Posts: 65
Last: May 20, 2006
[view latest posts]
Level 3
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 04:23 am
i submitted a suppliment on a simpler version of ur ai that can be furthur edited.

look in the downloads/cod2 suppliments!
Share |
P.o.W
General Member
Since: Sep 11, 2004
Posts: 123
Last: Mar 17, 2020
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 12:18 pm
Yes but copying and pasting is bad practise, it can lead to errors and confusion thats why if u just go ahead and rip an mg42 from newvillers and then after using it several times it may stop working or they may all start spawning off the same trigger and therefore takes longer to go around editing each one than making from scratch. When mapping sp and using entities you are ALWAYS best to start from scratch even if its just copying the key's and values from the old1 to the new 1.

Share |
Bodger2
General Member
Since: Sep 4, 2004
Posts: 132
Last: Aug 5, 2006
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 09:22 pm
They have also added a working 30cal to CoD2 SP. There are two weaponinfo versions, 30cal_stand and 30cal_prone. But the prone version didn't work for me. This is the fatal error I get when loading the map ingame. Error during initialization: Could not find label 'main' in script 'animscripts/30cal/prone. So I set the weaponinfo to mg42_bipod_prone.I works but the sound and fire rate are for the mg42.

Now to be able to commander the gun.
Share |
P.o.W
General Member
Since: Sep 11, 2004
Posts: 123
Last: Mar 17, 2020
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 09:25 pm
nice addition bodger2. [thumbs_up]
Share |
mrvip
General Member
Since: Jan 21, 2005
Posts: 65
Last: May 20, 2006
[view latest posts]
Level 3
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 11:01 pm
i did not copy it from newvillers..

i made it myself...

and what the hell does it matter? i just added a file so noobs can look at it.
Share |
P.o.W
General Member
Since: Sep 11, 2004
Posts: 123
Last: Mar 17, 2020
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 11:05 pm
lol clam down son i never said u took anything from newvillers i said if u go and copy it from.... please watch ur tone and personal attacks m8. no need to get angry and lash out like that, i wasnt critising u and never said anything about u copying something .
Share |
mrvip
General Member
Since: Jan 21, 2005
Posts: 65
Last: May 20, 2006
[view latest posts]
Level 3
Category: CoD2 SP Mapping
Posted: Monday, Apr. 24, 2006 11:07 pm
i wasnt directing any anger..
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 SP Mapping
Posted: Tuesday, Apr. 25, 2006 02:31 am
added to tut section

[angryalien]
Share |
Restricted Access Topic is Locked
Page
Next Page
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

»