Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial How to make cod4 Deathrun map.
#1
Question 
Hey, if you are interested in making map and you know how to use Radiant, then this topic is for you.

Needed files:

- CoD4 Mod Tools
- Death Run Spawn Points, download Here : http://www.gamefront.com/files/17918421/...ities.zip/




1. Installing
- 1. Extract deathrun_entities.zip.
- 2. Replace _globalentities.gsc from "CoD4\raw\maps\mp\gametypes" with extracted one.
- 3. Restart CoD4 Radiant.
- 4. Place mp_jumper_spawn and mp_activator_spawn on Your map.
- 5. Save map, compile and thats all.



2. Required entities in Death Run map

- mp_jumper_spawn(s)
- mp_activator_spawn(s)
- One mp_global_intermission




3. Scripting
Since Death Run 0.9 mod require scripts for traps that are being deactivated in free run rounds. It means that you have to add activation triggers into array so mod will recognize what entities have to be disabled. This part is very easy (for newbies too).
You can use this function:
Code:
// Usage: addTriggerToList( "trigger1" );
addTriggerToList( name )
{
   if( !isDefined( level.trapTriggers ) )
      level.trapTriggers = [];
   level.trapTriggers[level.trapTriggers.size] = getEnt( name, "targetname" );
}

Ok, lets imagine that you added 2 traps to your map and now you have to add activation triggers to list (for example their targetnames are "trigger1" and "trigger2" ).
In main() function you will have to add these lines:
Code:
addTriggerToList( "trigger1" );
addTriggerToList( "trigger2" );

You see, it wasnt hard, this was the last required step but you can continue reading if you want to know some more tricks.





4. Tricks
Since Death Run 0.8 you can call your own script functions on all Jumpers and Activators. In this step ill just show how to display some messages on spawned players.
Code:
test1()
{
   while( 1 )
   {
      // wait for jumper, who is the person from Jumpers team that just spawned
      level waittill( "jumper", who );
      who iPrintlnBold( "Hey jumper, go and get activator" );
   }
}
test2()
{
   while( 1 )
   {
      // wait for activator, who is the player that was picked to be the activator
      // Note: this must be also in loop, game will pick another activator if previous quit the server      
      level waittill( "activator", who );
      who iPrintlnBold( "Yoo bro, dont call free round and kill all jumpers!" );
   }
}




5. Tips about Death Run maps (totaly useless because you know them)
- 1. Separate Activator from Jumpers.
- 2. Allways make doors for Jumpers so after finishing map they may get into Activator and kill him.
- 3. Use "clip_full" texture so jumpers won't shot Activator through the glass.
- 4. Don't forget to add traps to the map.

6.When is map done
Enjoy.
Reply

#2
Good tutorial, the problem is that there is no radiant for BO, they will have to add blocks or something to the 3arc maps, Big Grin
Reply

#3
Yea. That's too badly for BO.

Added link for deathrun spawn points.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Porting into cod4 Cuddlyedits 4 4,309 10-21-2013, 00:47
Last Post: mitchhacker
  Make area detect. flag Teleport lewisbibo 4 4,992 10-12-2013, 18:10
Last Post: EnVi Sweden Rocks
Wink Make Platforme lewisbibo 5 4,991 10-08-2013, 14:35
Last Post: 8q4s8
  Make obj MW3.by lewisbibo lewisbibo 3 3,701 10-05-2013, 20:16
Last Post: Nekochan
  Make obj MW3.by lewisbibo lewisbibo 0 2,332 10-03-2013, 20:19
Last Post: lewisbibo
  Help need help?how to make plugins code hXnarutoXone 12 8,546 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Make ac130 shoot custom bullets Ra3shed 0 2,729 07-23-2013, 13:02
Last Post: Ra3shed
  how to make a plugin (mod) E-losev 5 4,330 07-12-2013, 15:48
Last Post: OzonE
  [Release] Make Trees Fall Yamato 8 12,293 06-15-2013, 11:45
Last Post: xfxtroll
  How to make superjump mod TDM sniper hipperz 4 3,975 03-28-2013, 15:09
Last Post: hillbilly

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.