Weapons that move players

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Weapons that move players

Post 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?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Weapons that move players

Post 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.
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Watching your PC over your shoulder. No, the other sholder....

Re: Weapons that move players

Post 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.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Weapons that move players

Post 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.
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Watching your PC over your shoulder. No, the other sholder....

Re: Weapons that move players

Post 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:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Weapons that move players

Post by Fiodis »

I simply thought you could get a whole lot more discussion and help out of an open thread than a locked one.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Weapons that move players

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Weapons that move players

Post 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?
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Watching your PC over your shoulder. No, the other sholder....

Re: Weapons that move players

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Weapons that move players

Post by Fiodis »

A teleporter in a random spot is fine, my map is essentially 90% doom pit.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Weapons that move players

Post 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.
User avatar
666rulerofclones
Command Sergeant Major
Command Sergeant Major
Posts: 281
Joined: Fri Aug 08, 2008 1:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The Badger State!

Re: Weapons that move players

Post 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
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Weapons that move players

Post 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?
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: Weapons that move players

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Weapons that move players

Post by Fiodis »

Thanks, I appreciate it.
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City
Contact:

Re: Weapons that move players

Post 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?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Weapons that move players

Post 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?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Weapons that move players

Post 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.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: Weapons that move players

Post by Tourny »

How does the Free Camera's teleport work?
Post Reply