Members Online»
0 Active | 84 Guests
Online:
|
LATEST FORUM THREADS»
by supersword
Posts: 2 / 105 The Future of MODSonline
In The News by KAZAM3766
Posts: 1 / 487 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2561 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 3079 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 984 New Cod UO Rifle Mod.
CoD Mapping |
Polls»
|
!TUTORIAL for adding teleports to COD2!
Open your map in the editor.
Navigate to the position you want to be teleported from.
Create a large trigger (about the size of an actor).
With the trigger still selected, right click in the 2D view and select trigger_multipple.
Still with the trigger selected press n.
In the key field type targetname.
In the value field type enter, press [enter]
Now in the key field type target
In the value field type a name for the area you want to teleport to lets say for example tower press [enter] then [esc]
THATS IT FOR THE TRIGGER
Now navigate to the area you want to be teleported to.
Right click in the 2D view and select script_origin.
Position the small red cube slightly above ground or floor and not intersecting with any other brush, rotate it so the arrow points in the direction you wish to face.
With the script_origin still selected press n.
In the key field type targetname.
In the value field type tower (or whatever you chose for the target when you made the trigger) press [enter].
If you have everything correct you should now see a red "connection" line with arrows running from the trigger to the origin.
Here is a hint from Cybershot, if you dont see a red line connecting the trigger to the origin select both and press the "w" key. If you now see the red line but dont have the arrows on it pointing from trigger to origin then recheck the targetnames and target for any typo's.
THATS IT FOR THE MAPPING (save and compile)
Extract and use the teleportenter.gsc from this zip file. Place it in your mapsmp folder.
Add this line to yourmapname.gsc
mapsmp eleportenter::main(); //this calls up the teleportenter.gsc If you are unsure where to add this line simply look in the mp_cod2teleportdemo.gsc enclosed in this zip.
Also included in this zip is the mp_cod2teleportdemo.map file. If need be you can load this up in the editor to get a better idea of how to add teleporting.
Example Download
If you require more teleports in your map simply follow the above procedure, always give the trigger the targetname of enter but make the target the same as the next script_origins targetname.
To load the cod2teleportdemo map in your game extract the cod2teleporttutorialanddemomap.IWD into your COD2main folder, start game, select start server, mahe pure no, dedicated no, select death match, scroll down map list and select COD 2 teleport demo, start.
Many thanks to modsonline member cybershot for help with the scripting and testing.
Dadofazz
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