How do I use the "Rock Spawner" thing?

Status
Not open for further replies.

DrTapeworm

Midnight Abyss did nothing wrong
Kart Krew™️
Retired Staff
Whenever I try to use the Rock Spawner, it doesn't work. Not even copying it from ACZ works.

Please, help!
 
I've found out so far that linedef length indicates throwing strength and direction and x offset is possibly the delay of tics between each spawn.
 
@EvilEnternity3000:
Do you know how linedeff types and control sectors work? Just copying the sectors and things won't work since you need to point the tags right.




@Eblo:
According to the source code and if I get it right...

Code:
mo->angle = R_PointToAngle2(line->v2->x, line->v2->y, line->v1->x, line->v1->y);
The rock's angle is determined by the direction in which the control linedeff points.


Code:
dist = P_AproxDistance(line->dx, line->dy)/16;
Code:
P_InstaThrust(mo, mo->angle, dist + randomoomph);
mo->momz = dist + randomoomph;
The rock's force (horizontal and vertical) is, in fact, determined by the linedeff length.


Code:
var1 = sides[line->sidenum[0]].textureoffset >> FRACBITS;
	A_SetTics(actor);
I am not sure here... I think the delay of ticks is determined by the texture offset of the linedeff's outer side. ^^'
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top