Post: [UPDATABLE] BMP2Code Bunkers
10-29-2011, 08:51 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey there,
Theres a couple of different ways you can use this, ill explain them here.

First off, Precache these =D
    
precacheModel("static_peleliu_crate01");
precacheModel("static_peleliu_crate02");
precacheModel("static_peleliu_corrugated_metal4");
precacheModel("static_peleliu_corrugated_metal5");
precacheModel("collision_wall_32x32x10");
precachemodel("collision_wall_64x64x10");
precachemodel("collision_geo_32x32x32");
precachemodel("collision_geo_64x64x64");
precachemodel("collision_geo_256x256x256");
precachemodel("collision_geo_512x512x512");
precachemodel("collision_geo_128x128x128");
precachemodel("collision_wall_128x128x10");
precachemodel("collision_wall_256x256x10");
precachemodel("collision_wall_512x512x10");
precachemodel("lights_jap_field_lantern_on");
precachemodel("field_lantern_jap");
precachemodel("static_okinawa_sandbags_lego_mdl");
precachemodel("static_peleliu_palette");
precachemodel("static_peleliu_sandbags_lego_mdl");
precachemodel("static_peleliu_palette_char");
precachemodel("static_berlin_gurney");
precachemodel("static_berlin_bathtub");
precachemodel("dest_seelow_crate_long");
precachemodel("static_berlin_sandbags_lego_mdl");
precachemodel("static_seelow_bnkrtable");
precachemodel("war_hq_obj");
precachemodel("lantern_on");
precachemodel("static_berlin_logpile");
precachemodel("static_berlin_victorian_couch_d");
precachemodel("static_berlin_bed_iron");
precachemodel("static_berlin_bookshelf_wide");
precacheModel("static_seelow_hay_bale_sqr");
precacheModel("static_seelow_hay_mound");
precacheModel("global_explosive_barrel_japanese");
precacheModel("static_seelow_logpile_plain");
precacheModel("static_seelow_gate_iron");
precacheModel("static_peleliu_hedgehog01");
precacheModel("static_peleliu_crate02");
precacheModel("viewmodel_mp_handheld_radio");
level.VadersFire = loadfx("env/fire/fx_fire_player_md_mp");
level.artilleryFX = loadfx("explosions/artilleryExp_dirt_brown");
precacheModel( "prop_flag_russian" );


They have a series of models and Fx's that can be used to edit this bunker as you wish...

    
SpawnBunker()
{
level.BunkerOrigin=(2559, 6133, 155);
level thread MainBunker();
}


And just add this in.....

    
MainBunker()
{
//Layer 0
WP("0,180,55,180,110,180,165,180,220,180,275,180,0,210,55,210,110,210,165,210,220,210,275,210,0,240,55,240,110,240,165,240,220,240,275,240,0,270,55,270,110,270,165,270,220,270,275,270,0,300,55,300,110,300,165,300,220,300,275,300,0,330,55,330,110,330,165,330,220,330,275,330,0,360,55,360,110,360,165,360,220,360,275,360,0,390,55,390,110,390,165,390,220,390,275,390,0,420,55,420,110,420,165,420,220,420,275,420",0,1);
WP("0,180,55,180,110,180,165,180,220,180,275,180,0,210,275,210,0,240,275,240,0,270,275,270,0,300,275,300,0,330,55,330,275,330,0,360,275,360,0,390,275,390,0,420,55,420,110,420,165,420,220,420,275,420",25,1);
WP("0,180,55,180,220,180,275,180,0,210,275,210,0,240,275,240,0,270,275,270,0,300,55,300,275,300,0,330,275,330,0,360,275,360,0,390,275,390,0,420,55,420,110,420,165,420,220,420,275,420",50,1);
WP("0,180,55,180,220,180,275,180,0,210,275,210,0,240,275,240,0,270,55,270,275,270,0,300,275,300,0,330,275,330,0,360,275,360,0,390,275,390,0,420,55,420,110,420,165,420,220,420,275,420",75,1);
WP("0,180,55,180,110,180,165,180,220,180,275,180,0,210,275,210,0,240,55,240,275,240,0,270,275,270,0,300,275,300,0,330,275,330,0,360,275,360,0,390,275,390,0,420,55,420,110,420,165,420,220,420,275,420",100,1);
WP("0,150,55,150,110,150,165,150,220,150,275,150,0,180,55,180,110,180,165,180,220,180,275,180,0,210,55,210,110,210,165,210,220,210,275,210,0,240,110,240,165,240,220,240,275,240,0,270,110,270,165,270,220,270,275,270,0,300,275,300,0,330,275,330,0,360,275,360,0,390,275,390,0,420,55,420,110,420,165,420,220,420,275,420",125,1);
WP("0,150,55,150,110,150,165,150,220,150,275,150,0,180,275,180,0,210,275,210,0,240,275,240,0,270,110,270,165,270,220,270,275,270",150,1);
FS("0,150,275,150,275,270",175,1);
BR("0,150,275,150,275,270",175,1);
}

WP(D,Z,P){
L=strTok(D,",");
for(i=0;i<L.size;i+=2){
B=spawn("script_model",level.BunkerOrigin+(int(L[i]),int(L[i+1]),Z));
if(!P)B.angles=(90,0,0);B setModel("static_peleliu_crate01");
spawncollision("collision_wall_32x32x10","collider", level.BunkerOrigin+(int(L[i]),int(L[i+1]),Z), (0,0,0));
}
}
FS(D,Z,P){
L=strTok(D,",");
for(i=0;i<L.size;i+=2){
B=spawn("script_model",level.BunkerOrigin+(int(L[i]),int(L[i+1]),Z));
if(!P)B.angles=(90,0,0);
B setModel( "prop_flag_russian" );}}

BR(D,Z,P){
L=strTok(D,",");
for(i=0;i<L.size;i+=2){
B=spawn("script_model",level.BunkerOrigin+(int(L[i]),int(L[i+1]),Z));
if(!P)B.angles=(90,0,0);
B setModel( "global_explosive_barrel_japanese" );}}


Screensnap : You must login or register to view this content.

Thats one way you can spawn the bunker. The others i will add later.
REMEMBER: Only some models work on certain maps. And you can change this to your liking... level.BunkerOrigin=(2559, 6133, 155);

This thread will be updated and changed......
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Studman2Fresshh for this useful post:

BlazingDope, cadpimp1289, Diddles2Fresshh, iReset Nigga, xRaW
11-13-2011, 10:55 PM #20
Originally posted by kane212v2isgay View Post
I didn't originally make this account. I am 17. I am not bipolar. I wasn't trying to start a flame war or a rant. I simply asked how did this originally have anything to do with BMP2CODE since you only mentioned it once which was in the title.


because he used bmp2code to make the code from the bitmap images. how else.?
could you explain to me how else anyone could make a bunker like the ones he posted?
11-13-2011, 11:21 PM #21
Kane500
< ^ > < ^ >
Originally posted by ManOnTheMoon
because he used bmp2code to make the code from the bitmap images. how else.?
could you explain to me how else anyone could make a bunker like the ones he posted?


Easy. Spawn carepackages and set a point in which you want them to spawn. How do you think the unknown coded the program. He had to do all of it manually before he made the program.

So please do not reply until you know what your talking about.

The following user groaned Kane500 for this awful post:

Docko412
11-13-2011, 11:49 PM #22
iReset Nigga
2Fresshh!!
Originally posted by kane212v2isgay View Post
Easy. Spawn carepackages and set a point in which you want them to spawn. How do you think the unknown coded the program. He had to do all of it manually before he made the program.

So please do not reply until you know what your talking about.


I dont see why u have to be a dick to every 1 u talk to i mean really?
11-14-2011, 12:25 AM #23
Kane500
< ^ > < ^ >
Originally posted by iFresshh View Post
I dont see why u have to be a dick to every 1 u talk to i mean really?


Because it makes me feel good about myself. Or maybe it might be because everyone has to be a smartass. Or maybe it has something to do with most people being dumbasses.

So the conclusion of this post is: I have no ****ing idea.
11-24-2011, 05:52 PM #24
xRaW
xI2aW-
Guys what this kane was trying to get at is he only has BMP2CODE in the title. When this is not helpful for a lot of people on how to create this bunker. All it is, is a code release. It doesnt tell us how to make the bunker its just the method he used and the code

The following user thanked xRaW for this useful post:

Kane500
12-13-2011, 06:02 PM #25
bloodthugga
Bounty hunter
Is work 4 ps3 ?
12-13-2011, 10:31 PM #26
Kane500
< ^ > < ^ >
Originally posted by xRaW View Post
Guys what this kane was trying to get at is he only has BMP2CODE in the title. When this is not helpful for a lot of people on how to create this bunker. All it is, is a code release. It doesnt tell us how to make the bunker its just the method he used and the code


Sorry for late reply but THANK YOU.
01-08-2012, 11:35 PM #27
3HUNNA
Splicer
Is this what he used?
02-03-2012, 03:46 AM #28
bloodthugga
Bounty hunter
how i precacheModel?????????

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo