#Can we talk about Roshan?

1 messages · Page 1 of 1 (latest)

ocean walrus
#

With 7.33, Valve changed Rosh's implementation. Instead of only needing npc_dota_roshan_spawner, it now needs some info_player_start_dota Dota entities called roshan_location_1 and roshan_location_2. Even then, the client will crash when Roshan attempts to change locations unless there are two portals on the map. Even then even then, Roshan doesn't seem to know how to go through the portals properly and you get weird behaviour.

It looks like if you want to make a traditional Rosh pit, you need to handle the Roshan respawning yourself. This kind of sucks because it means the Roshan respawn timer for spectators and TA's innate won't work, but that's a minor issue. The other thing is that if you spawn Rosh with CreateUnitByName, then he won't have the correct AI. So fine, you also need to create a timer and do the AI yourself, whatever. The problem that I can't see a way to fix is that Roshan seems to be hard coded to not have any aggression when it turns to daytime. I guess Valve did this so that he wouldn't fight while he's travelling, but then they didn't give us any control to say whether he's travelling or not.

Is Roshan basically unusable now or is there something I'm missing?

(Even if not I thought it would be good to make this thread so anyone searching for Roshan in the future will see it's not just them.)

languid valley
#

what do you mean about "traditional roshan pit"?
behaviors like before 7.33 or after?

ocean walrus
#

Before 7.33, but after 7.33 is also complicated to replicate.

wooden void
#

I took the map from the old dota client (patch 7.28), restored the prefabs, and took from the prefab of the current dota (7.37) spawners. but to make them work correctly they need to be taken out of the prefabs.

ocean walrus
#

Whoa that's huge. That's really smart to just check the old map. I'm going to have to remind myself how to download that. I'll try it out when I get back today.

ocean walrus
wooden void
ocean walrus
wooden void
ocean walrus
wooden void
ocean walrus
#

Oh maybe? I'll try deleting it and then verifying cache

wooden void
#

use Source2Viewer to look at the current Dota files.

A powerful tool that allows you to browse VPK archives, view, extract, and decompile Source 2 assets, including maps, models, materials, textures, sounds, and more.

ocean walrus
#

is that how you decompiled the 7.28 map?

#

That's probably useful

wooden void
ocean walrus
#

ah okay

#

There are all the old map files in game/dota/maps, but they're .vpk

wooden void
#

they don't work XD

ocean walrus
#

oh xd

brave smelt
#

@ocean walrus So have you solved your problem?

ocean walrus
#

Yes I think so, with this method you can make a Rosh pit without crashing

brave smelt
#

normal behavior at night and day

ocean walrus
#

Did you do this the same way with the info_player_start_dota spawners?

brave smelt
#

Im just used this shit.

ocean walrus
#

I see

brave smelt
#

So u dont want to use portals right?

brave smelt
ocean walrus
wooden void
#

in my mode, I just let it cooldown and froze it

#

via code

brave smelt
wooden void
#

dota))

lunar anvil
ocean walrus
#

well there will be a crash if the ability is allowed to execute as normal anyway

wooden void
lunar anvil
#

SetFrozenCooldown does nothing as far as I know

ocean walrus
#

oh cool, is this typescript?

#

It might be interesting to use roshan_teleport for something else. Maybe I'll try using findabilitybyname and modify it

ocean walrus
#

I guess one last question would be what determines the direction Roshan faces towards?

void lodge