JK and MotS Editing >> Level Editing >> Force Push?     (Moderator: Admins) Previous Topic | Next Topic
Page 1 of 1
 Author 
 Post 
Post 27-Aug-2011 02:26        

Ok now I know about Pullable and Force throwable, but how can an object be made pushable?

I ask because of an error in my project. The object doesnt wanna be pushed.

Do i need a special cog or template?

HELP??
Post 07-Sep-2011 19:43        

i know there is actually a projectile called +force_push, or something to that effect...
its what either gork or pic use in the level where you fight them.

i also made a "hack" a long time ago that edited force throw and made it so you targeted yourself, then defined the "throwable object" as whatever enemies were nearby and reversed the direction of the throw so you efectively pushed enemies away from you... dont know if that is along the lines of what you are looking for?
Post 08-Sep-2011 01:31        

Alran, what i need more or less is similar to what FG used in TODOA. It was a recog of the Pull where tap the button was "push" and hold was pull.

My issue is I need to to affect on object, not an actor.

Force throw only works with an enemy present since it "targets the enemy".
Pull is mainly used on objects such as guns right?
Post 08-Sep-2011 03:16        

GAH!!! !(GetThingFlags(potential) & 0x200) && what the heck is ThingFlag 0X200??!!!??!!??!!

anyways, i think you may be able to do this, but you would have to figure out a way to make crates targetable...

yes pull is usually used on guns or powerups... i dont think static "things" are generally targetable.
Post 23-Sep-2011 17:33        

Just a thought. You could give your object a template of an actor just with no ai or pups or anything. I'm guessing the cog looks for actor things. Maybe this will work, maybe not.
Post 29-Nov-2011 01:46        

As far as I know, only 'throwable' objects (the cubes that move when you walk into them, the rock debris, stormtrooper helmets, etc.) are pushable. Not 'fixed' 3DOs.

At least, that's how it works in SBX. I'd say take a look at the throwable items template.
Post 29-Nov-2011 04:12        

Actually it was as simple as making it a puppetless actor. Actor templates are pushable. Throwable objects are throwable and only weapons are pullable. Thanks to Edwards inate sense of curiousity, he is pursuing the ability to merge all 3 into one via a class cog. So lets see what the wiz can whip up.
*** Post commands are unavailable for guests. ***