Solved Disable obstacle blockade

Question that is answered or resolved.

dantedevil

Well-known member
In my mod I have some special entities that change the type of "enemy" to obstacle ", the problem is that sometimes they change when a character is very close and they get stuck in the obstacle.
Is there a way to disable the blockade of an obstacle?
 
Solution
Finally I was able to solve this, thanks to a PM that I had sent to Bloodbane before opening this thread and he answered me now.

Bloodbane said:
Hmmm... oh you mean disable platform effect owned by obstacles, all you need is to set platform 1 1 1 1 1 1 1 1 in obstacle's animation like this:
Code:
anim	idle
	loop	1
	delay	20
	offset	13 26
	bbox	4 4 18 18 50
	platform 1 1 1 1 1 1 1 1
	frame	data/chars/mesin/target1.png
	frame	data/chars/mesin/target1.png

This target entity is an obstacle i.e it can be attacked but it's not blocking other entities' movement

Works perfect my friend, thanks!
I had tried with putting:
platform 0 0 0 0 0 0 0 0
But it does not work.

This solves me many problems!
Really thank you very much!
Finally I was able to solve this, thanks to a PM that I had sent to Bloodbane before opening this thread and he answered me now.

Bloodbane said:
Hmmm... oh you mean disable platform effect owned by obstacles, all you need is to set platform 1 1 1 1 1 1 1 1 in obstacle's animation like this:
Code:
anim	idle
	loop	1
	delay	20
	offset	13 26
	bbox	4 4 18 18 50
	platform 1 1 1 1 1 1 1 1
	frame	data/chars/mesin/target1.png
	frame	data/chars/mesin/target1.png

This target entity is an obstacle i.e it can be attacked but it's not blocking other entities' movement

Works perfect my friend, thanks!
I had tried with putting:
platform 0 0 0 0 0 0 0 0
But it does not work.

This solves me many problems!
Really thank you very much!
 
Solution
Back
Top Bottom