AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved . (https://forums.alliedmods.net/showthread.php?t=317739)

cacaopea 07-27-2019 02:59

.
 
https://drive.google.com/open?id=1ou...05ZpaeDtLJhmmS

zaviier 07-27-2019 08:02

Re: [L4D2] Tank pick up junk.I need Help !!!
 
maybe try change the model

PHP Code:

#define MODEL_CONCRETE_CHUNK         "models/props_debris/concrete_chunk01a.mdl"
#define MODEL_TREE_TRUNK             "models/props_foliage/tree_trunk.mdl" 


cacaopea 07-27-2019 08:29

Re: [L4D2] Tank pick up junk.I need Help !!!
 
Quote:

Originally Posted by zaviier (Post 2660809)
maybe try change the model

PHP Code:

#define MODEL_CONCRETE_CHUNK         "models/props_debris/concrete_chunk01a.mdl"
#define MODEL_TREE_TRUNK             "models/props_foliage/tree_trunk.mdl" 


i know i tried change other model,it work but i want a tank pick up junk on hand like pick up a rock,junk stuck at middle
- i used google translate
- you can see image,tank pick up car normal,when i try change other model it not like in image,junk stuck in the middle :) : https://imgur.com/a/al6N8hy

xZk 07-29-2019 14:38

Re: [L4D2] Tank pick up junk.I need Help !!!
 
1 Attachment(s)
oddly, it resurfaced me to try to do this same idea when I saw that plugin https://forums.alliedmods.net/showthread.php?t=315775xd
I will leave you something that I had edited with that plugin, a couple of months ago, for now just add another alternative that would be to match the objects near the tank with the rock of the tank and the other option commented is to match the objects to the same tank. I would like to help you even more but my English stinks and I don't have much to edit and test plugins either :/

cacaopea 07-29-2019 19:41

Re: [L4D2] Tank pick up junk.I need Help !!!
 
Quote:

Originally Posted by xZk (Post 2661054)
oddly, it resurfaced me to try to do this same idea when I saw that plugin https://forums.alliedmods.net/showthread.php?t=315775xd
I will leave you something that I had edited with that plugin, a couple of months ago, for now just add another alternative that would be to match the objects near the tank with the rock of the tank and the other option commented is to match the objects to the same tank. I would like to help you even more but my English stinks and I don't have much to edit and test plugins either :/

Thanks, xZk
- Although it's not as perfect as I thought but it's work similar and I really like it.
- You saved my life, man !! : D
- However, I think you will see lux mentioned about this issue:
"While this wont fix the issue it will make it look like you fixed it.

Hide the rock model and parent another model on it, same concept as LMC! "
- I think this relates to lux's lmc changer plugin
- If you can, you can try it.
- Like I said, I'm not good at plugins, but I thinks you can do it and do it perfectly.
-Thanks again, xZk
- I used google tranlate

Marttt 08-02-2019 13:02

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
Hey cacaopea,

Here you said that actually worked what Aya/xKz did.
https://forums.alliedmods.net/showth...=315775&page=2

I didn't understand...what do you need now?

cacaopea 08-02-2019 19:00

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
Quote:

Originally Posted by Marttt (Post 2661564)
Hey cacaopea,

Here you said that actually worked what Aya/xKz did.
https://forums.alliedmods.net/showth...=315775&page=2

I didn't understand...what do you need now?

It not actually work
- Hi martt
- Your plugin that xzk has edited will only stick when an object is near. When there is no object nearby, it will throw another model and it will still be stuck :)
- I was very headache about this for 5 days
- I am trying to learn more from other people, I tried and tried but really bad, it never succeeded. - I hope someone will help me
- My English very bad

luis enrique 08-02-2019 19:20

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
Quote:

Originally Posted by cacaopea (Post 2661598)
It not actually work
- Hi martt
- Your plugin that xzk has edited will only stick when an object is near. When there is no object nearby, it will throw another model and it will still be stuck :)
- I was very headache about this for 5 days



https://www.youtube.com/watch?v=Qn0mRM4-ON4



?

cacaopea 08-02-2019 19:49

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
Quote:

Originally Posted by luis enrique (Post 2661600)

watch video you can see,junk stuck on the floor
- I was very headache about this
- https://drive.google.com/open?id=1sZ...RgcgKevttv_ZTF

xZk 08-02-2019 22:20

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
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");
    }



cacaopea 08-02-2019 22:56

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
Quote:

Originally Posted by xZk (Post 2661622)
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

xZk 08-03-2019 00:43

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
1 Attachment(s)
try this reedited version

cacaopea 08-03-2019 00:57

Re: [L4D2] Tank pick up junk.junk stuck on the floor.I need Help !!!
 
1 Attachment(s)
Quote:

Originally Posted by xZk (Post 2661629)
try this reedited version

- I tested,Still Stuck !! lol :)

xZk 08-03-2019 18:28

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
i just tested it and it works for me...:roll:
https://imgur.com/5mfnJJk

cacaopea 08-03-2019 20:57

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by xZk (Post 2661748)
i just tested it and it works for me...:roll:
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

login101 08-03-2019 23:26

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by cacaopea (Post 2661772)
- 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

cacaopea 08-04-2019 01:06

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by login101 (Post 2661782)
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

login101 08-04-2019 02:28

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by cacaopea (Post 2661790)
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? ㅇㅅㅇ?

cacaopea 08-04-2019 03:14

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by login101 (Post 2661793)
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

login101 08-04-2019 03:36

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by cacaopea (Post 2661796)
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

cacaopea 08-04-2019 08:25

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by login101 (Post 2661800)
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

Thank you 2: xzk,login101
- you 2 helped me a lot.
- I'll never forget about this
-login101, I hope you will share your plugins you using soon,I'm excited when you say you'll share your plugin for me :D

cacaopea 08-04-2019 19:13

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by xZk (Post 2661863)
excuse me for my bad compression :s. maybe this new version works better for you :)

It's bad to say this
- it is still stuck when there is not any object there
- I think you should test it first
- Thanks,Xzk

Aya Supay 08-04-2019 20:16

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by xZk (Post 2661863)
excuse me for my bad compression :s. maybe this new version works better for you :)


hide the model when he picks up and Set Transmit already in his hand :twisted: :mrgreen:

xZk use SDKHook_SetTransmit :)

cacaopea 08-06-2019 02:50

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by Aya Supay (Post 2661928)
hide the model when he picks up and Set Transmit already in his hand :twisted: :mrgreen:

xZk use SDKHook_SetTransmit :)

Can you do it for me?
I will happy if you do this,I hope you reply
I too tired about this issue,this very bad

login101 08-06-2019 19:28

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by cacaopea (Post 2661830)
Thank you 2: xzk,login101
- you 2 helped me a lot.
- I'll never forget about this
-login101, I hope you will share your plugins you using soon,I'm excited when you say you'll share your plugin for me :D

I'm going to be discharged this week.

Please wait until next week at the latest
ㅇㅅㅇ..

cacaopea 08-06-2019 20:12

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by login101 (Post 2662247)
I'm going to be discharged this week.

Please wait until next week at the latest
ㅇㅅㅇ..

Don't worry, I'll always wait for you :D

Aya Supay 08-11-2019 14:50

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by cacaopea (Post 2662143)
Can you do it for me?
I will happy if you do this,I hope you reply
I too tired about this issue,this very bad

I'm sorry I'm busy
I don't think I can help now :wink:

luis enrique 08-16-2019 05:54

Re: [L4D2] Tank pick up junk.junk stuck on the floor. I need someone to help me !!!
 
Quote:

Originally Posted by login101 (Post 2662247)
I'm going to be discharged this week.

Please wait until next week at the latest
ㅇㅅㅇ..




Aya do not worry we will wait for this beautiful super tank but let us know when you are home

TBK Duy 08-16-2019 07:44

Re: [REQ][L4D2] Tank Rock Skins (junk stuck on the floor.)
 
https://imgur.com/a/xrx6yej

cacaopea 08-16-2019 20:24

Re: [REQ][L4D2] Tank Rock Skins (junk stuck on the floor.)
 
Quote:

Originally Posted by TBK Duy (Post 2663473)

Wow,cool
I hope it not private
TBK Duy,Can you share it ??

XiLuo 08-16-2019 20:50

Re: [REQ][L4D2] Tank Rock Skins (junk stuck on the floor.)
 
1 Attachment(s)
There is an early plugin that I wrote, you can try it,hope to help you

cacaopea 08-16-2019 21:02

Re: [REQ][L4D2] Tank Rock Skins (junk stuck on the floor.)
 
Quote:

Originally Posted by XiLuo (Post 2663536)
There is an early plugin that I wrote, you can try it,hope to help you

Unbelievable in my eyes
- you really saved me.
-I have nothing to thank you by saying:
>>>Thank You Very Much<<<

XiLuo 08-16-2019 21:24

Re: [L4D2] Tank Rock Skins
 
That's Ok, you can also add more models by yourself

BlackSabbarh 09-02-2019 02:50

Re: [L4D2] Tank Rock Skins
 
Quote:

Originally Posted by XiLuo (Post 2663539)
That's Ok, you can also add more models by yourself




L 09/02/2019 - 02:12:23: Info (map "c12m2_traintunnel") (file "errors_20190902.log")
L 09/02/2019 - 02:12:23: [SM] Exception reported: Cannot create new entity when no map is running
L 09/02/2019 - 02:12:23: [SM] Blaming: tankThrowCar.smx
L 09/02/2019 - 02:12:23: [SM] Call stack trace:
L 09/02/2019 - 02:12:23: [SM] [0] CreateEntityByName
L 09/02/2019 - 02:12:23: [SM] [1] Line 55, /home/forums/content/files/2/8/4/6/5/7/176913.attach::CreateCar
L 09/02/2019 - 02:12:23: [SM] [2] Line 42, /home/forums/content/files/2/8/4/6/5/7/176913.attach::OnEntityCreated
L 09/02/2019 - 02:16:23: SourceMod error session started

AlexAlcala 04-18-2020 07:22

Re: [REQ][L4D2] Tank Rock Skins (junk stuck on the floor.)
 
Quote:

Originally Posted by XiLuo (Post 2663536)
There is an early plugin that I wrote, you can try it,hope to help you

Sorry for my English, but I want to know how I can make the object I throw solid, that is, if you throw a car that doesn't break like a rock

GoGetSomeSleep 04-18-2020 08:14

Re: [REQ][L4D2] Tank Rock Skins (junk stuck on the floor.)
 
Quote:

Originally Posted by AlexAlcala (Post 2694290)
Sorry for my English, but I want to know how I can make the object I throw solid, that is, if you throw a car that doesn't break like a rock

i need this too


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

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