Adding a Turret to your map

Tutorials for Call of Duty 4 mapping

Moderator: Core Staff

Post Reply
Dizzy
CJ Fan
CJ Fan
Posts: 143
Joined: May 8th, 2008, 11:45 pm
Location: Colorado, US
Contact:

Adding a Turret to your map

Post by Dizzy » July 4th, 2008, 12:00 am

I just want to mention something before I do this tutorial. I have noticed that alot of people have been copying tutorials from other sources. You guys should create your own tutorials!!

Well anyways here we go. Alright this tutorials is on creating usable turrets in Call of Duty 4.

Alright well go ahead and start by creating the area in which your turret will be mounted. Ex. Window Sill, Sand Bags, Front of a car, ANYTHING!


I just made a basic setup with a nice table for our turret.
Image

Alright now we are going to start to create our turret.
  • Start by Right Clicking -> Misc -> Turret In the 2D Grid


Now you should have something like this:
Image

Now you need to push the 'N' key on your keyboard to bring up the 'Entities' menu.

Make sure you have your Turret selected when you push the 'N' key.

Enter each of the values and press enter after entering each one.
  • Key: bottomarc
    Value: 30

    Key: export
    Value: 2

    Key: model
    Value: xmodel/weapon_saw_MG_setup

    Key: spawnflags
    Value: 1

    Key: weaponinfo
    Value: saw_bipod_crouch_mp


Not all of these are needed but they certainly help make your turret function better :)

Image

Now place your turret
Image

That is it for the mapping. Now the last thing you have to do is when you are compiling your map in your zone file updating be sure to include

Code: Select all

xmodel,weapon_saw_mg_setup

Now your turret should work in game :)


Any problems just send me a PM!
Image
"I am also know as lethal323" - Myself
Xfire = Dizzymagoo

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests