Forum > Serverside Modding

[QUESTION] Ride gameobjects

<< < (4/10) > >>

stoneharry:

--- Quote from: "kojak488" ---That's not entirely true.  Well as far as saying that transports on predetermined routes is the only option for him, that's not true.  It's not.  There is a way to accomplish what he wants.
--- End quote ---

Well this is just bullshit. Post something useful or don't post at all.


--- Quote from: "Смердокрыл" ---Is it possible to make a usual vehicle npc, which, when stopped, would spawn an object (of the same model, but with collision) over itself, and then, when I mount it and start moving, it would despawn the object?
--- End quote ---

It's possible but would be buggy and too slow to use on a server with players from many locations and a volatile latency. So not a feasible solution really.

edit: Just re-read this again. Yes, that would be very feasible to spawn and remove on start/stop. But not constantly respawning the object while moving along, which is how I read it the first time.


--- Quote from: "saifi0102" ---
--- Quote from: "stoneharry" ---You can implement it for creatures because you can code them to think there is a barrier there (this is how creatures spreading out is implemented)
--- End quote ---

That sounds interesting. Can you move the creature around and keep the collision object stick with it? And what do you mean by creatures spreading out?
--- End quote ---

As in like this video: https://youtu.be/DbjAF-atgZ8?t=27

kojak488:

--- Quote from: "Смердокрыл" ---
--- Quote from: "kojak488" ---There is a way to accomplish what he wants.
--- End quote ---
You are the king of intriguing!
Jokes aside, what is it?
--- End quote ---

I'm not known for sharing my techniques...


--- Quote from: "stoneharry" ---Well this is just bullshit. Post something useful or don't post at all.
--- End quote ---

I did post something useful.  I gave him a hint.  Furthermore, I clarified that you're giving him incorrect information as far as possible solutions being limited.  Sorry, I don't hold hands and leave little breadcrumbs for the mouse to find the cheese.  That doesn't mean my comment isn't useful.  And let me show you what happened the last time some bluebie called bullshit on me in a similar situation: viewtopic.php?f=93&t=9058

Or there's the time that Anthony said he was the first to achieve something that I then showed him a video of me doing it a while before.  Just because you haven't figured something out doesn't mean it's bullshit that someone else has nor mean it's bullshit because you think it's impossible.

schlumpf:
If you want to help, actually help. "I KNOW BUT I DON'T TELL" does not help at all, in no possible way. Otherwise, you're the one trolling.

Смердокрыл:

--- Quote from: "stoneharry" --- to spawn and remove on start/stop
--- End quote ---
Yeah, thats what I meant. I can imagine how to make it spawn an object (a spell, or a smart script maybe), but how will it remove it? Each time the guid is gonna be different, and its not guaranteed that the guid will increase by 1 every time.

stoneharry:

--- Quote from: "Смердокрыл" ---
--- Quote from: "stoneharry" --- to spawn and remove on start/stop
--- End quote ---
Yeah, thats what I meant. I can imagine how to make it spawn an object (a spell, or a smart script maybe), but how will it remove it? Each time the guid is gonna be different, and its not guaranteed that the guid will increase by 1 every time.



--- Quote from: "kojak488" ---That's not entirely true.  Well as far as saying that transports on predetermined routes is the only option for him, that's not true.  It's not.  There is a way to accomplish what he wants.
--- End quote ---

--- Quote from: "kojak488" ---I'm not known for sharing my techniques...
--- End quote ---
What exactly in this six sentences do you call
--- Quote from: "kojak488" --- a hint
--- End quote ---
?
--- End quote ---

That's the beauty of object orientated programming. You could just store the current object guid that is spawned in the player class and remove it on a movement packet being received, or all the other cases like logout, map change, command...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version