Poll: ?
You do not have permission to vote in this poll.
OMA
7.14%
2 7.14%
OMA
7.14%
2 7.14%
OMA
7.14%
2 7.14%
OMA
14.29%
4 14.29%
OMA
10.71%
3 10.71%
Nyan Cat
7.14%
2 7.14%
Nyan Cat
7.14%
2 7.14%
Nyan Cat
3.57%
1 3.57%
Nyan Cat
3.57%
1 3.57%
Nyan Cat
7.14%
2 7.14%
Nyan Cat
3.57%
1 3.57%
Nyan Cat
7.14%
2 7.14%
Epic
7.14%
2 7.14%
Narwhal
7.14%
2 7.14%
Total 28 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Luggage "destructables" (By Yamato)
#1
OMA


[Image: 8e0c5fd1.png]


This was made by @Yamato , he just asked me to post it here since he couldn't access his account right now. [Image: OneManArmy.png]


OMA

Precache the models;
Code:
Precachemodel("ap_luggage01"); //You can use ap_luggage01 - 04

OMA

Code:
SpawnLuggage(origin,angle)
{
    lugg = spawn("script_model",origin);
    lugg setmodel("ap_luggage01"); //You can use ap_luggage01 - 04
    lugg.angles = angle;
    lugg setcandamage(true);
    lugg.killed = 0;
    lugg.health = 50;
    lugg.maxhealth = 50;
    luggfx = loadfx("props/garbage_spew_des");
    for(;;)
    {
        if(lugg.health < 0 && lugg.killed != 1)
        {
            lugg playsound("luggage_burst_open");
            playfx(luggfx,lugg.origin);
            lugg.killed = 1;
            lugg physicslaunchserver(lugg.origin,(randomintrange(-100,100),randomintrange(-100,100),randomint(100)));
            wait 5.5;
            lugg delete();
        }
    wait 0.05;
    }
}
OMA





[Image: OneManArmy.png]











OMA
Reply

#2
OMA
Reply

#3
@Yamato is there a way to use the fx's models individually and place them in your map? I'm talking about the bottles and food cans, etc that pop out of it. Also, would it work on Overgrown?

thanks
Reply

#4
(12-25-2011, 15:05)xplosiff Wrote: @Yamato is there a way to use the fx's models individually and place them in your map? I'm talking about the bottles and food cans, etc that pop out of it. Also, would it work on Overgrown?

thanks

What would work on Overgrown? The luggage?

About the models, yes , is possible, I was going to make many objects like this but got lazy and only made this one and some plant pots, Tongue
Reply

#5
(12-25-2011, 15:54)Yamato Wrote:
(12-25-2011, 15:05)xplosiff Wrote: @Yamato is there a way to use the fx's models individually and place them in your map? I'm talking about the bottles and food cans, etc that pop out of it. Also, would it work on Overgrown?

thanks

What would work on Overgrown? The luggage?

About the models, yes , is possible, I was going to make many objects like this but got lazy and only made this one and some plant pots, Tongue

I mean the models inside it. Like, would I be able to spawn a model of a bottle, or a can of food out of it and have it dynamic. For example, spawning bottles across a rail (each individual bottle placed through code).

Like,
precacheModel("dynent_bottle");
and placing it in the world like you would place a the luggage, but JUST the bottle model out of the FX it produces
Reply

#6
(12-25-2011, 17:14)xplosiff Wrote:
(12-25-2011, 15:54)Yamato Wrote:
(12-25-2011, 15:05)xplosiff Wrote: @Yamato is there a way to use the fx's models individually and place them in your map? I'm talking about the bottles and food cans, etc that pop out of it. Also, would it work on Overgrown?

thanks

What would work on Overgrown? The luggage?

About the models, yes , is possible, I was going to make many objects like this but got lazy and only made this one and some plant pots, Tongue

I mean the models inside it. Like, would I be able to spawn a model of a bottle, or a can of food out of it and have it dynamic. For example, spawning bottles across a rail (each individual bottle placed through code).

Like,
precacheModel("dynent_bottle");
and placing it in the world like you would place a the luggage, but JUST the bottle model out of the FX it produces
[Image: a948fe4a.png]

I agree with Yamato, what are you saying? lol

Changing the model?
Just change the "setmodel" to dynent_bottle...?
Reply

#7
(12-25-2011, 17:24)Rendflex Wrote:
(12-25-2011, 17:14)xplosiff Wrote:
(12-25-2011, 15:54)Yamato Wrote:
(12-25-2011, 15:05)xplosiff Wrote: @Yamato is there a way to use the fx's models individually and place them in your map? I'm talking about the bottles and food cans, etc that pop out of it. Also, would it work on Overgrown?

thanks

What would work on Overgrown? The luggage?

About the models, yes , is possible, I was going to make many objects like this but got lazy and only made this one and some plant pots, Tongue

I mean the models inside it. Like, would I be able to spawn a model of a bottle, or a can of food out of it and have it dynamic. For example, spawning bottles across a rail (each individual bottle placed through code).

Like,
precacheModel("dynent_bottle");
and placing it in the world like you would place a the luggage, but JUST the bottle model out of the FX it produces
[Image: a948fe4a.png]

I agree with Yamato, what are you saying? lol

Changing the model?
Just change the "setmodel" to dynent_bottle...?

omg lol ok, here's take 3...

You know when you shoot the crap out of it and models fly out? There's what, a couple shirts, cans and bottles.

Is there a way to take the individual models of the cans/bottles so I can place them ingame as props? I.E: Target practice, place a row of bottles on something, go right away and shoot at the bottles.

BTW, dynent_bottle was made up and idk if it exsts.
Reply

#8
(12-26-2011, 01:38)xplosiff Wrote:
(12-25-2011, 17:24)Rendflex Wrote:
(12-25-2011, 17:14)xplosiff Wrote:
(12-25-2011, 15:54)Yamato Wrote:
(12-25-2011, 15:05)xplosiff Wrote: @Yamato is there a way to use the fx's models individually and place them in your map? I'm talking about the bottles and food cans, etc that pop out of it. Also, would it work on Overgrown?

thanks

What would work on Overgrown? The luggage?

About the models, yes , is possible, I was going to make many objects like this but got lazy and only made this one and some plant pots, Tongue

I mean the models inside it. Like, would I be able to spawn a model of a bottle, or a can of food out of it and have it dynamic. For example, spawning bottles across a rail (each individual bottle placed through code).

Like,
precacheModel("dynent_bottle");
and placing it in the world like you would place a the luggage, but JUST the bottle model out of the FX it produces
[Image: a948fe4a.png]

I agree with Yamato, what are you saying? lol

Changing the model?
Just change the "setmodel" to dynent_bottle...?

omg lol ok, here's take 3...

You know when you shoot the crap out of it and models fly out? There's what, a couple shirts, cans and bottles.

Is there a way to take the individual models of the cans/bottles so I can place them ingame as props? I.E: Target practice, place a row of bottles on something, go right away and shoot at the bottles.

BTW, dynent_bottle was made up and idk if it exsts.

I am not very sure if they are models or FX, if they are models, yes, you can perfectly spawn them and make some target shooting.
Reply

#9
(12-26-2011, 01:38)xplosiff Wrote: omg lol ok, here's take 3...

You know when you shoot the crap out of it and models fly out? There's what, a couple shirts, cans and bottles.

Is there a way to take the individual models of the cans/bottles so I can place them ingame as props? I.E: Target practice, place a row of bottles on something, go right away and shoot at the bottles.

BTW, dynent_bottle was made up and idk if it exsts.

Try these:
Code:
com_bottle1
com_bottle2
com_bottle3
com_bottle4
Reply

#10
if you really want to make that
why don't you then create a internet game?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Health Icon (By Yamato) Rendflex 25 13,796 10-12-2012, 14:04
Last Post: momo5502
  [News] Yamato, i am on your side! Tomsen1410 7 4,149 05-04-2012, 13:48
Last Post: 4FunPlayin
  I HATE YOU YAMATO !!!!!!!!!!!!!!!! kokole 10 6,225 05-04-2012, 01:47
Last Post: kokole
  [Release] Yamato's Knife Mod [Modified] ScHmIdTy56789 8 5,043 12-16-2011, 02:49
Last Post: ScHmIdTy56789
  [Request] Yamato's tutorial zone in MW3 section JariZ 4 2,968 11-30-2011, 15:22
Last Post: JariZ
  YAMATO 4FunPlayin 2 2,323 10-05-2011, 13:33
Last Post: Yamato
  Fuck yamato Arteq 11 6,211 08-22-2011, 00:24
Last Post: Lemon
Question Help Question for yamato BraxPL 6 3,623 08-11-2011, 20:21
Last Post: Yamato
  Why Yamato hates Black Ops. Pozzuh 32 13,163 08-08-2011, 11:03
Last Post: Pozzuh

Forum Jump:


Users browsing this thread:
3 Guest(s)

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