Post: New cod4 Bunker (Carepackages)
07-10-2011, 10:43 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NextGenUpdate,
I recently modified the Mw2 spawn bunker code and got it to work for cod4, Download this package for TheUnkn0wn's BMP2CODE program to create your own personal program You must login or register to view this content.

PRECACHE THIS, its thecarepackage code Winky Winky
    precacheModel( "com_plasticcase_beige_big" );


HOW TO:
In your patch to make this work, put this code anywhere:
    
WP(D,Z,P){L=strTok(D,",");for(i=0;i<L.size;i+=2){B=spawn("script_model",self.origin+(int(L[i]),int(L[i+1]),Z));if(!P)B.angles=(90,0,0);B setModel("com_plasticcase_beige_big");B = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 100, 75 );B.origin = self.origin+(int(L[i]),int(L[i+1]),Z); B.angles = (90,0,0);B setContents( 1 ); }}

Now take your bunker code and thread it like so:
    
doBunk()
{
//Layer 0
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,55,30, 110,30,165,30,220,30,275,30,330,30,0,60,55,60,110, 60,165,60,220,60,275,60,330,60,0,90,55,90,110,90,1 65,90,220,90,275,90,330,90,0,120,55,120,110,120,16 5,120,220,120,275,120,330,120,0,150,55,150,110,150 ,165,150,220,150,275,150,330,150,0,180,55,180,110, 180,165,180,220,180,275,180,330,180",500,1);
//Layer 1
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,330,30 ,0,60,330,60,0,90,330,90,0,120,330,120,0,150,330,1 50,0,180,55,180,110,180,165,180,220,180,275,180,33 0,180",525,1);
//Layer 2
WP("0,0,55,0,275,0,330,0,0,30,330,30,0,150,330,150,0,1 80,55,180,275,180,330,180",550,1);
//Layer 3
WP("0,0,55,0,275,0,330,0,0,30,330,30,0,150,330,150,0,1 80,55,180,275,180,330,180",575,1);
//Layer 4
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,330,30 ,0,60,330,60,0,90,330,90,0,120,330,120,0,150,330,1 50,0,180,55,180,110,180,165,180,220,180,275,180,33 0,180",600,1);
//Layer 5
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,55,30, 110,30,165,30,220,30,275,30,330,30,0,60,55,60,110, 60,165,60,220,60,275,60,330,60,0,90,55,90,110,90,1 65,90,220,90,275,90,330,90,0,120,55,120,110,120,16 5,120,220,120,275,120,330,120,0,150,55,150,110,150 ,165,150,220,150,275,150,330,150,0,180,55,180,110, 180,165,180,220,180,275,180,330,180",625,1);
}

Now call it from the menu Smile



Video tutorial:



Notes: This program does not have any kind of virus, i dont know how to make a virus scan, sorry.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to xiRevized for this useful post:

Correy, INSAN3LY_D34TH

The following user groaned xiRevized for this awful post:

REZNET \|/
07-13-2011, 03:05 AM #2
hydro_122499
Bounty hunter
Originally posted by xiRevized View Post
Hello NextGenUpdate,
I recently modified the Mw2 spawn bunker code and got it to work for cod4, Download this package for TheUnkn0wn's BMP2CODE program to create your own personal program You must login or register to view this content.

PRECACHE THIS, its thecarepackage code Winky Winky
    precacheModel( "com_plasticcase_beige_big" );


HOW TO:
In your patch to make this work, put this code anywhere:
    
WP(D,Z,P){L=strTok(D,",");for(i=0;i<L.size;i+=2){B=spawn("script_model",self.origin+(int(L[i]),int(L[i+1]),Z));if(!P)B.angles=(90,0,0);B setModel("com_plasticcase_beige_big");B = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 100, 75 );B.origin = self.origin+(int(L[i]),int(L[i+1]),Z); B.angles = (90,0,0);B setContents( 1 ); }}

Now take your bunker code and thread it like so:
    
doBunk()
{
//Layer 0
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,55,30, 110,30,165,30,220,30,275,30,330,30,0,60,55,60,110, 60,165,60,220,60,275,60,330,60,0,90,55,90,110,90,1 65,90,220,90,275,90,330,90,0,120,55,120,110,120,16 5,120,220,120,275,120,330,120,0,150,55,150,110,150 ,165,150,220,150,275,150,330,150,0,180,55,180,110, 180,165,180,220,180,275,180,330,180",500,1);
//Layer 1
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,330,30 ,0,60,330,60,0,90,330,90,0,120,330,120,0,150,330,1 50,0,180,55,180,110,180,165,180,220,180,275,180,33 0,180",525,1);
//Layer 2
WP("0,0,55,0,275,0,330,0,0,30,330,30,0,150,330,150,0,1 80,55,180,275,180,330,180",550,1);
//Layer 3
WP("0,0,55,0,275,0,330,0,0,30,330,30,0,150,330,150,0,1 80,55,180,275,180,330,180",575,1);
//Layer 4
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,330,30 ,0,60,330,60,0,90,330,90,0,120,330,120,0,150,330,1 50,0,180,55,180,110,180,165,180,220,180,275,180,33 0,180",600,1);
//Layer 5
WP("0,0,55,0,110,0,165,0,220,0,275,0,330,0,0,30,55,30, 110,30,165,30,220,30,275,30,330,30,0,60,55,60,110, 60,165,60,220,60,275,60,330,60,0,90,55,90,110,90,1 65,90,220,90,275,90,330,90,0,120,55,120,110,120,16 5,120,220,120,275,120,330,120,0,150,55,150,110,150 ,165,150,220,150,275,150,330,150,0,180,55,180,110, 180,165,180,220,180,275,180,330,180",625,1);
}

Now call it from the menu Smile



Video tutorial:



Notes: This program does not have any kind of virus, i dont know how to make a virus scan, sorry.


that was on MW2 -___- are the CP's solid??
07-13-2011, 03:27 AM #3
REZNET \|/
The Land Of The Lost.....
Are they solid or go through?
I will add it to quicksilver to test.
07-13-2011, 04:26 AM #4
Originally posted by 122499 View Post
that was on MW2 -___- are the CP's solid??


Erm Not Happy or Sad, i said that i modded the code to work on cod4 from mw2 and yes they are solid. Why dont you look at the script before asking stupid questions, Thanks.

---------- Post added at 12:26 AM ---------- Previous post was at 12:26 AM ----------

Originally posted by Reznet338 View Post
Are they solid or go through?
I will add it to quicksilver to test.


Yes, They are solid.

The following user groaned xiRevized for this awful post:

hydro_122499
07-13-2011, 04:51 AM #5
REZNET \|/
The Land Of The Lost.....
Me & Hawkin just had a look and i didnt even see this com_plasticcase_beige_big");B = spawn( "trigger_radius"
the code "trigger_radius" is old and it isn't solid just provlivare you will be able to bounce off the object but not rock dead solid.
07-13-2011, 05:01 AM #6
cool as hell ill add it to hawkins v4 hopefully i get it working Happy
07-13-2011, 05:04 AM #7
REZNET \|/
The Land Of The Lost.....
Originally posted by doggyshizz View Post
cool as hell ill add it to hawkins v4 hopefully i get it working Happy


wasting ur time its already in hawkin zombies.
07-13-2011, 05:07 AM #8
no i mean like a base like the one on rust:note:
07-13-2011, 05:29 AM #9
Hawkin
Lord of the Undead
Originally posted by xiRevized View Post
Erm Not Happy or Sad, i said that i modded the code to work on cod4 from mw2 and yes they are solid. Why dont you look at the script before asking stupid questions, Thanks.

---------- Post added at 12:26 AM ---------- Previous post was at 12:26 AM ----------



Yes, They are solid.


your code is not the most user friendly to read & understand. with the whole strtok bit and all. Also u are just using trigger radius, which is laggy at best, & patch crashing at worse. it is difficult to walk on, and been posted many times.

Lastly, don't act like you're better then someone until you've earned it.

---------- Post added at 01:29 AM ---------- Previous post was at 01:22 AM ----------

Originally posted by doggyshizz View Post
no i mean like a base like the one on rust:note:


i had it in zombieland & took it out. except in Force FIELDS & Walls. way too laggy & hard 2 walk on.

The following user thanked Hawkin for this useful post:

hydro_122499
07-13-2011, 04:25 PM #10
Originally posted by Hawkin View Post
your code is not the most user friendly to read & understand. with the whole strtok bit and all. Also u are just using trigger radius, which is laggy at best, & patch crashing at worse. it is difficult to walk on, and been posted many times.

Lastly, don't act like you're better then someone until you've earned it.

---------- Post added at 01:29 AM ---------- Previous post was at 01:22 AM ----------



i had it in zombieland & took it out. except in Force FIELDS & Walls. way too laggy & hard 2 walk on.


Thanks for your conern, i was being a little of a dick, When i spawn a trigger radius, it works fine and is easy to walk on, i extended the range of it so you get the whole carepackage to walk on, Once again Sorry for my attitude, thats normally not me. Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo