Raised This Month: $51 Target: $400
 12% 

Solved .


Post New Thread Reply   
 
Thread Tools Display Modes
cacaopea
Member
Join Date: May 2019
Location: Viet Nam
Old 08-02-2019 , 22:56   Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
Reply With Quote #11

Quote:
Originally Posted by xZk View Post
hi again cacaopea, I think I understood your concept well, you want the object that lifts the tank, this turns as if it were a rock and when it is impacted it should break.
you could try eliminating all this part of the code:
PHP Code:
public void OnEntityDestroyed(int entity)
{
    if(!
IsValidEntRef(entity))
        return;
    
char classname[64];
    
GetEntityClassname(entityclassnamesizeof classname);
    if (
StrEqual(classname"tank_rock"false))
    {
        
int ent GetEntPropEnt(entityProp_Data"m_hMoveChild");
        if(
IsValidEntRef(entity))
            
RemoveParent(ent);
    }

or else replace that same part of the code with this:
PHP Code:
public void OnEntityDestroyed(int entity)
{
    if(!
IsValidEnt(entity))
        return;
    
char classname[64];
    
GetEntityClassname(entityclassnamesizeof classname);
    if (
StrEqual(classname"tank_rock"false))
    {
        
int ent GetEntPropEnt(entityProp_Data"m_hMoveChild");
        if(
IsValidEnt(ent))
            
AcceptEntityInput(ent"Kill");
    }

- Hi,xzk !!
- Sorry, for bothering you
- I did everything right as you said and it's still stuck on the floor.
- I feel very embarrassed because I have to ask someone for help many times, making them uncomfortable
- I feel quite sad because I have spent a lot of time on this and it has not been successful.
- I used google translate

Last edited by cacaopea; 08-02-2019 at 23:02.
cacaopea is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 08-03-2019 , 00:43   Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
Reply With Quote #12

try this reedited version
Attached Files
File Type: sp Get Plugin or Get Source (l4d_random_tank_rock_vZ.sp - 195 views - 16.3 KB)
xZk is offline
cacaopea
Member
Join Date: May 2019
Location: Viet Nam
Old 08-03-2019 , 00:57   Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
Reply With Quote #13

Quote:
Originally Posted by xZk View Post
try this reedited version
- I tested,Still Stuck !! lol
Attached Images
File Type: jpg c1m2_streets0026.jpg (88.2 KB, 214 views)

Last edited by cacaopea; 08-03-2019 at 01:02.
cacaopea is offline
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 08-03-2019 , 18:28   Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
Reply With Quote #14

i just tested it and it works for me...
https://imgur.com/5mfnJJk
xZk is offline
cacaopea
Member
Join Date: May 2019
Location: Viet Nam
Old 08-03-2019 , 20:57   Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
Reply With Quote #15

Quote:
Originally Posted by xZk View Post
i just tested it and it works for me...
https://imgur.com/5mfnJJk
- maybe you don't understand what I mean
- Your plugin is great
- but it only works well when the tank holds something near the vehicle and sticks to the rock
- when there is no object near it, it will not be the same as the object the tank is holding will be stuck on the floor
- As in the photo you sent, it was a car that stick to the rock, it looked excellent
- In my image,I don't have any cars nearby,just have racecar model
- It would be great if you could make the tank hold any object properly as if it were holding a rock
- Sorry,I used google translate

Last edited by cacaopea; 08-03-2019 at 21:04.
cacaopea is offline
login101
Senior Member
Join Date: Sep 2017
Old 08-03-2019 , 23:26   Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
Reply With Quote #16

Quote:
Originally Posted by cacaopea View Post
- maybe you don't understand what I mean
- Your plugin is great
- but it only works well when the tank holds something near the vehicle and sticks to the rock
- when there is no object near it, it will not be the same as the object the tank is holding will be stuck on the floor
- As in the photo you sent, it was a car that stick to the rock, it looked excellent
- In my image,I don't have any cars nearby,just have racecar model
- It would be great if you could make the tank hold any object properly as if it were holding a rock
- Sorry,I used google translate
I don't have a sp file.

The tank is using a plug-in to throw things.

It can be thrown with probability, and the thrown object is lost according to the set timer.

but
The action of a tank throwing things? when it's motion
He's holding a rock.

YouTube
https://youtu.be/koV4hOZ2nHk


If you look at it,
Throw a car in 4 minutes 45 seconds to 4 minutes 50 seconds.

throw a car

Last edited by login101; 08-03-2019 at 23:27.
login101 is offline
cacaopea
Member
Join Date: May 2019
Location: Viet Nam
Old 08-04-2019 , 01:06   Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
Reply With Quote #17

Quote:
Originally Posted by login101 View Post
I don't have a sp file.

The tank is using a plug-in to throw things.

It can be thrown with probability, and the thrown object is lost according to the set timer.

but
The action of a tank throwing things? when it's motion
He's holding a rock.

YouTube
https://youtu.be/koV4hOZ2nHk


If you look at it,
Throw a car in 4 minutes 45 seconds to 4 minutes 50 seconds.

throw a car
Wow,your plugin is so cool
- - I wonder you can share your plugin for me?. Although it is a bit dark, I still look quite well. It so awesome, I have never seen these before.
- I also have a few interesting plugins.
- If you are interested, please message me via facebook: https://m.facebook.com/PiplupUhita.PhongNino
- I used google translate

Last edited by cacaopea; 08-04-2019 at 01:10.
cacaopea is offline
login101
Senior Member
Join Date: Sep 2017
Old 08-04-2019 , 02:28   Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
Reply With Quote #18

Quote:
Originally Posted by cacaopea View Post
Wow,your plugin is so cool
- - I wonder you can share your plugin for me?. Although it is a bit dark, I still look quite well. It so awesome, I have never seen these before.
- I also have a few interesting plugins.
- If you are interested, please message me via facebook: https://m.facebook.com/PiplupUhita.PhongNino
- I used google translate
We don't have time right now. We're writing it on the mobile.

I'll look it up when I get home.

Maybe there's a file that I've backed up.

What do you mean by some interesting things? ㅇㅅㅇ?

Last edited by login101; 08-04-2019 at 02:30.
login101 is offline
cacaopea
Member
Join Date: May 2019
Location: Viet Nam
Old 08-04-2019 , 03:14   Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
Reply With Quote #19

Quote:
Originally Posted by login101 View Post
We don't have time right now. We're writing it on the mobile.

I'll look it up when I get home.

Maybe there's a file that I've backed up.

What do you mean by some interesting things? ㅇㅅㅇ?
If you want you can ib me via facebook
cacaopea is offline
login101
Senior Member
Join Date: Sep 2017
Old 08-04-2019 , 03:36   Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
Reply With Quote #20

Quote:
Originally Posted by cacaopea View Post
If you want you can ib me via facebook

Okay.
If you go home,
I'll find the plug-in and send you a message.

I'm sick now.
He's in the hospital.
I sometimes go to PC room and enjoy l4d2.

I'm sorry to keep you waiting.ᅲ



go
login101 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode