Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"Mod or modification is a term generally applied to PC games, especially first-person shooters, RPGs and real-time strategy games." 2
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD4 Map + Mod R.. Posts: (27) Views: (204) by sam_fisher3000
CoD4 SP Mapping.. Posts: (7) Views: (100) by Marty22
CoD2 MP Mapping.. Posts: (8) Views: (50) by Infern4ll
CoDUO Mapping.. Posts: (3) Views: (29) by Fawlty
CoDUO Mapping.. Posts: (4) Views: (26) by morgawr
CoD4 Map + Mod R.. Posts: (2) Views: (45) by Hajas
CoD4 Map + Mod R.. Posts: (6) Views: (492) by tomv8
CoD4 MP Mapping.. Posts: (15) Views: (83) by sam_fisher3000
CoD4 MP Mapping.. Posts: (21) Views: (467) by Darfyddi
CoD4 Scripting.. Posts: (5) Views: (97) by playername
Back to Home Page
MODSCON 2010 L4D2 Contest
Register/Login to Add a Tutorial
Tutorials
CoD2 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
AI Using an MG42
Versions: You must be logged in to view history.
P.o.W. explains how to set you sp_ map up to have an AI use an mg42
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