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......

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

BlazingDope, cadpimp1289, Diddles2Fresshh, iReset Nigga, xRaW
11-02-2011, 01:18 AM #11
Originally posted by kane212v2isgay View Post
How is this bmp2code?


Have you ever experienced using bmp2code to create bunkers? I think not. Maybe if you ever take some time and understand the principals of using unknown's bmp2 program you would answer your own question.
11-02-2011, 01:45 AM #12
Kane500
< ^ > < ^ >
Originally posted by Studman2Fresshh View Post
Have you ever experienced using bmp2code to create bunkers? I think not. Maybe if you ever take some time and understand the principals of using unknown's bmp2 program you would answer your own question.


Actually I have. This is not BMP2CODE. BMP2CODE is exactly what it sounds like. BMP to gsc code. I know what i'm talking about.
11-02-2011, 01:54 AM #13
Originally posted by kane212v2isgay View Post
Actually I have. This is not BMP2CODE. BMP2CODE is exactly what it sounds like. BMP to gsc code. I know what i'm talking about.

Thats why this thread is called BMP2CODE Bunkers. Bunkers created using bitmap images. You have actually no idea what your talking about if your asking such a silly question.
11-02-2011, 01:57 AM #14
Kane500
< ^ > < ^ >
Originally posted by Studman2Fresshh View Post
Thats why this thread is called BMP2CODE Bunkers. Bunkers created using bitmap images. You have actually no idea what your talking about if your asking such a silly question.


Did you create these with a BMP? I'm pretty sure you didn't unless you decided not to post that. This is not BMP2CODE. This is simply code. Nothing more, nothing less. So please **** off.
11-02-2011, 02:11 AM #15
Originally posted by kane212v2isgay View Post
Did you create these with a BMP? I'm pretty sure you didn't unless you decided not to post that. This is not BMP2CODE. This is simply code. Nothing more, nothing less. So please **** off.


There is no need for profanity ma'am/sir. I did create this code with Bitmap Image Files. Maybe if you look up on it you would not be so confused. Do you have OCD?
11-02-2011, 02:20 AM #16
Kane500
< ^ > < ^ >
Originally posted by Studman2Fresshh View Post
There is no need for profanity ma'am/sir. I did create this code with Bitmap Image Files. Maybe if you look up on it you would not be so confused. Do you have OCD?


No I do not have OCD thank you. Also I am not confused. This has nothing to do with BMP2CODE and that's why I replied. All you did was post a code containing a bunker (Or whatever. I didn't test code). Also I said **** off because you said I have no idea what i'm talking about which, personally, I take offensively. My first post was not to flame or criticize. I was just saying. Is there a problem with that?
11-02-2011, 03:20 AM #17
Originally posted by kane212v2isgay View Post
No I do not have OCD thank you. Also I am not confused. This has nothing to do with BMP2CODE and that's why I replied. All you did was post a code containing a bunker (Or whatever. I didn't test code). Also I said **** off because you said I have no idea what i'm talking about which, personally, I take offensively. My first post was not to flame or criticize. I was just saying. Is there a problem with that?


It appears as if you do have OCD. As you can clearly tell these codes are created using bitmap images ( You must login or register to view this content. ).
Before you try to prove me wrong, have the decency to do some research before flaming or trying to start a rant. You either have OCD or you are bipolar as your username is calling someone gay. You have no room to speak, you are just like all of the other immature bastards on this site who think they are on top of everyone, i'm sorry but you have no intelligence what so ever and i have no more time that i want to waste out of my life trying to educate a little kid on a website about the principals of using bmp2code to create bunkers, this is absolutely the most ridiculous argument i have ever had over the internet with another user.
11-02-2011, 03:47 AM #18
Kane500
< ^ > < ^ >
Originally posted by Studman2Fresshh View Post
It appears as if you do have OCD. As you can clearly tell these codes are created using bitmap images ( You must login or register to view this content. ).
Before you try to prove me wrong, have the decency to do some research before flaming or trying to start a rant. You either have OCD or you are bipolar as your username is calling someone gay. You have no room to speak, you are just like all of the other immature bastards on this site who think they are on top of everyone, i'm sorry but you have no intelligence what so ever and i have no more time that i want to waste out of my life trying to educate a little kid on a website about the principals of using bmp2code to create bunkers, this is absolutely the most ridiculous argument i have ever had over the internet with another user.


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.
11-13-2011, 10:43 PM #19
Neff
WTF Just Happened?
thanks for this :P

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo