Members Online»
0 Active | 63 Guests
Online:
|
LATEST FORUM THREADS»
by morgawr
Posts: 4 / 249 The Future of MODSonline
In The News by KAZAM3766
Posts: 1 / 565 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2640 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 3151 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 1010 New Cod UO Rifle Mod.
CoD Mapping |
Polls»
|
This tutorial will show you how to do rappelling in cod4. sam_fisher3000 will tell you only rappelling stuff. The rest is for you to figure out.
First off, Thanx to BabyCop's Downtown map. I got the code from his source file. He deserves some credits since I got the codes inspired by him.
Following void_source way of saying things.
Assuming you know basic scripting. -without basic, how can you do advance. :D
Assuming you know more advanced scripting. -so you can know rappelling.
Assuming you know how to work with radiant.
Assuming you know how to construct a building for rappelling. -important especially for realism.
Assuming you know about animations. -important b/c you need to know how the mapname_anim.gsc file works.
Assuming you know how to create a basic map. -important b/c if you don't know how, how can you make rappelling.
Assuming you know how to edit the zone file and compiling the fast file. -everyone should know
Beginners, don't try this at home, unless, you know all of the above.
I am saying these b/c I don't want to post a whole gsc script and telling you what codes should be in your gsc file, like _load::main(), etc. And #include maps\_utility; And this way saves time.
The scripting will be purely on rappelling.
In radiant, make sure you have a pathnode.
Key: targetname
Value: player_rappel_node
Place the node near or on the floor of the roof. Make sure, there is a ledge in front of the node. This way, in-game, the rope will have a u shape. The rope is on the floor but is also on the ledge, this way, it will look realistic. Make sure you create a trigger.
Key: targetname
Value: rappel_trigger
Place it near the node so it looks realistic. Once you trigger it, you get on the rope. If you place far it wouldn't look realistic b/c you will move to the rope.
You're done with radiant!
Scripting time!
player_rappel()
This script is from the sniperescape mission. You can use the blackout script as well but I find this more easier to understand. Also I will like to thanx the forum on this topic. (rappelling sound) Also I got this from BabyCop's Homefront: Downtown map. Kudos to him and I am giving him credits for this.
All right, you need a anim script.
#include maps\_anim;
I assume you understand the script. If not, then just use it. It works. Also edit your zone file. There will be stuff you need.
Zone file:
rawfile,animtrees/script_model.atr
Hope this helps. It is best if you understand how rappelling works then it makes your time more worthwhile b/c you know what you're doing and you know how rappelling works! The sound for rappelling, I have no idea where the sounds are. I checked the sound folders but they aren't there. Create some custom sounds if you want. Hope this guide will help out anyone with scripting and mapping skills.
sam_fisher3000
Latest Syndicated News»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware