Jump to content

Photo

Moar Requests


  • Please log in to reply
1 reply to this topic

#1 Majora

Majora

    Unironic Marxist-Leninist

  • Members

Posted 22 December 2007 - 12:08 PM

Well, technically, you need to have made it to hell to FULLY know what I am talking about.


Those enemies that chuck blocks at you? I need a script that copies the behaviour EXACTLY. So, the FFC that is a block, rises for 1 combo, then goes left or right in an arc where the apex is 1 combo higher, and it flies for about 4-6 combos, then just goes down 1 combo, and "respawns" back at the point where it will rise to be thrown again.


Those angels that fly at you? Yea, need one of those too. Where they fly in your general direction, bump off walls, and then change direction to try to hit you. Think of a drunken monkey.


A jetpack script. Once you pick up a certain "dummy" item, link can go in any direction whilst in mid air for a duration of x frames. eg after he jumps, he can go in any of the 4 directions until either the frames are up, or he hits the ground. if he flies into a solid object above or to either side of him, the script still attempts to propel him. (But can't, like walking into a wall)


EDIT: Oh, and if someone could explain to me how to make falling blocks (no script), that would be appreciated. I know it's possible, but I could never get looping FFC's to work. icon_unsettled.gif


I think that's it. These SHOULD be possible.

Edited by Majora, 22 December 2007 - 12:16 PM.


#2 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 04 January 2008 - 07:16 AM

Majora, you should just learn Zscript. All your requests go unanswered not because they aren't good, but because they'd likely be a pain to make for someone who might not even use them.. So i'll at least suggest similar scripts or functions you could use to make them.

1) flying blocks: The block trajectory would likely be something like (facing right) Vx=1.8, Vy= -0.5; Ay=0.2; Look at something like my Veg-o-matic script for a simple ffc firing function and delete dir up and dir down.


2) C-Dawg has a CE_? that bounces off walls. Take a look or use that.


3)jetpack....you're on your own there buddy. icon_wink.gif


4) I dunno. Use a script.

CODE

ffc script falling_blocks{ void run(){

int startX = this->X;
int startY = this->Y;

while(true){

this->Vy=0.1; this->Ay=0.1;

if(this->Y>168){this->Y=startY;this->Ay=0;}

Waitframe();
}
}
}


You may have to adjust Ay a little. or this might be better:


CODE

ffc script falling_blocks{ void run(){

int startX = this->X;
int startY = this->Y;
int accel;

while(true){

this->Vy=0.1; this->Ay= 0.1+ accel;
accel+=0.01;

if(this->Y>168){this->Y=startY;this->Ay=0;accel=0;}

Waitframe();
}
}
}




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users