Page 1 of 1

Weapons that move players

Posted: Mon Dec 15, 2008 9:23 pm
by Fiodis
This got on my mind recently when I started a topic about making a grappling hook. I realize now that a "grappling hook" is impossible in BF2 and any mention of it locks a thread, so please don't.

All the same, I'd like to discuss weapons that move other players. A couple well-known examples are force push and pull. Is it possible to give, say, a missile pushing powers so it can plow down all in it's path? Or just so that whatever it hits is flung extra far?

Or the opposite; can you make a missile (or grenade) that pulls enemies toward you? The force pull power only affects enemies, as far as I know; so a "pull grenade" would be an effective means of forcing enemies onto mines or off bridges. Is such a thing possible?

Re: Weapons that move players

Posted: Mon Dec 15, 2008 9:32 pm
by [RDH]Zerted
I forget where exactly it was done, but a respawning timebomb was created to throw/push players over a ditch when the player triggered it. So, yes you can create weapons that move players.

Re: Weapons that move players

Posted: Mon Dec 15, 2008 9:43 pm
by Master_Ben
Two things immediately pop into my head when reading this.

1) I think in the convo pack there was some sith who had a weapon called "burst of speed, and it did just that.

2) If you couldn't figure out how to make a grenade that pushed, at the very least you could create a custom animation of being thrown backwards.

Re: Weapons that move players

Posted: Mon Dec 15, 2008 9:58 pm
by Maveritchell
Master_Ben wrote:1) I think in the convo pack there was some sith who had a weapon called "burst of speed, and it did just that.
That's a very self-explanatory weapon. All it does is triple your movement speed for a very short amount of time.
Master_Ben wrote:2) If you couldn't figure out how to make a grenade that pushed, at the very least you could create a custom animation of being thrown backwards.
Any weapon can push or pull, depending on what you do in its _exp file. Positive push is a push, negative push is a pull. All damage-dealing weapons (except buffs) can do this. To the OP, this was mentioned in the previous thread you had before it was locked, I don't know why you bothered to create a whole new thread to re-ask it.

Re: Weapons that move players

Posted: Mon Dec 15, 2008 10:00 pm
by Master_Ben
Maveritchell wrote:
Master_Ben wrote:2) If you couldn't figure out how to make a grenade that pushed, at the very least you could create a custom animation of being thrown backwards.
Any weapon can push or pull, depending on what you do in its _exp file. Positive push is a push, negative push is a pull. All damage-dealing weapons (except buffs) can do this. To the OP, this was mentioned in the previous thread you had before it was locked, I don't know why you bothered to create a whole new thread to re-ask it.
Lol I had no idea :roll:

Re: Weapons that move players

Posted: Mon Dec 15, 2008 10:07 pm
by Fiodis
I simply thought you could get a whole lot more discussion and help out of an open thread than a locked one.

Re: Weapons that move players

Posted: Mon Dec 15, 2008 10:14 pm
by Maveritchell
Fiodis wrote:I simply thought you could get a whole lot more discussion and help out of an open thread than a locked one.
There's a reason the thread was locked. The question, whether it's the less-explicit "how do I move a player from one place to another with a weapon" or the more-explicit "how do I make a grappling hook", is the same and has the same answer. It can't be done effectively. Everything that needed to be answered was.

Re: Weapons that move players

Posted: Mon Dec 15, 2008 10:21 pm
by Fiodis
So I'll ask more questions.

Can you associate a teleporter with a weapon? Like make a "teleport mine" that, when stepped on, teleports you over, say, a pit of doom?

Re: Weapons that move players

Posted: Mon Dec 15, 2008 10:28 pm
by Master_Ben
I dunno.

You can't get ingame coordinates, but a teleporter in a random spot? Im not sure i think you could make one.

Re: Weapons that move players

Posted: Mon Dec 15, 2008 10:31 pm
by Fiodis
A teleporter in a random spot is fine, my map is essentially 90% doom pit.

Re: Weapons that move players

Posted: Tue Dec 16, 2008 2:17 pm
by [RDH]Zerted
You can teleport from one entity to another: Unit/Entity/Object locations, regions, and spawn paths. So if a player is damaged by a certain entity (such as a certain type of mine), then he can be teleported to another location.

I think the scripts in Galactic Conquest show how to play around with ingame coordinates, but I no longer have time to continue researching them.

Re: Weapons that move players

Posted: Tue Dec 16, 2008 3:06 pm
by 666rulerofclones
if you are talking about the missiles/grenades from bf1, all you need to do to make them push people but not kill them is this
Hidden/Spoiler:
add this line to the grenade's exp odf file (at least thats what i think it is)

pushwhendeadonly = 0
if thats what you wanna do, then this should help you

Re: Weapons that move players

Posted: Tue Dec 16, 2008 5:10 pm
by Fiodis
That would toss you in any random direction rather than teleport you.

How would someone go about the method Zerted described? Would I have to make a teleporter region in ZeroEdit and load it in the LUA some special way? Then what would I edit, the mine's ord, exp, what?

Re: Weapons that move players

Posted: Tue Dec 16, 2008 6:27 pm
by Tourny
BTW Fiodis, I don't remember the exact name of my magnet bomb's ODF. It's the Klag Marine's weapon.

Off topic: I'm going to keep working on the hook anyway. Fiodis, I'll keep you up to date via PM.

Re: Weapons that move players

Posted: Tue Dec 16, 2008 6:53 pm
by Fiodis
Thanks, I appreciate it.

Re: Weapons that move players

Posted: Tue Dec 16, 2008 7:04 pm
by vampire_lord
Now that you talk about pull and push, I want to confirm one thing...

So, force push or pull can't affect vehicles in any way? there goes my custom Yoda -.- can I at least force crush vehicles? you know it doesn't need animation, only shake them a little and stop their movement, anyone knows?

Re: Weapons that move players

Posted: Tue Dec 16, 2008 7:09 pm
by Fiodis
Maybe have Yoda shoot a large, invisible somethign from his hand? That would hit a vehicle and arrest its movement for a short time before exploding?

Re: Weapons that move players

Posted: Tue Dec 16, 2008 7:19 pm
by Maveritchell
No, pushes (or pulls/negative pushes) can't affect vehicles. It wouldn't be hard to make a force power that did affect vehicles (using a "haywire" ordnance), but that's another question for another topic.

Re: Weapons that move players

Posted: Thu Dec 18, 2008 6:37 pm
by Tourny
How does the Free Camera's teleport work?