Grappling hook fix
Moderator: Moderators
-
ARC_Commander
- High General

- Posts: 838
- Joined: Tue Feb 06, 2007 7:18 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Grappling hook fix
This brings to mind the Orbital Strike beacon. The way I've got it set up, it's a pair of binoculars that fires a beacon, which triggers an ordnance. If the AimElevation and AimAzimuth (or whatever) were changed, and the orbital strike bolts were replaced with a narrow Force Pull, I imagine that it would work.
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
Re: Grappling hook fix
Oh yea, that could work. But the aimers fire down...
O my flippen bam
. That just gave me a awesome idea (not relating to the grapple). If the made the AimElevation and AimAzimuth values 0, and made the ordinance poison buff.... poison grenade...
O my flippen bam
-
ARC_Commander
- High General

- Posts: 838
- Joined: Tue Feb 06, 2007 7:18 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Grappling hook fix
Sounds like something a CIS recon unit could use...
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
Re: Grappling hook fix
Dang, i just figured this out. Orbital strike uses the unit that fires it as the point as origin, not the beacon. So when you use the orbital strike, the ord is fired from 600m above your head, towards the beacon. This means the the pull, or poison can't come at you or from the beacon... 
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Grappling hook fix
You also gotta take into consideration that however you hack it, the AI have to know how to use it without acting weird.
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Grappling hook fix
If you mean anims, you could make an anim, put that into anims of the soldier shooting and call it in animation bank... That´s not a problem i guess..
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Grappling hook fix
Actually I'm talking about AI behavior. Give them a gun like what we're talking about and you'll see all sorts of really weird stuff going on, since the AI won't know it's not meant to be a weapon. They'll launch themselves over the edge, get stuck everywhere, etc. My guess is that's why it was cut from SWBF1 in the first place, and that was actually coded to be a grapple.
-
ARC_Commander
- High General

- Posts: 838
- Joined: Tue Feb 06, 2007 7:18 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Grappling hook fix
Just make it so the AI don't use it at all. Set all the AITargetwhatever codes to 0.
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
Re: Grappling hook fix
Or just give it to the hero.
-
SilvaDalek
- Sith

- Posts: 1329
- Joined: Sun Dec 02, 2007 12:52 pm
- xbox live or psn: TH3 R0LL3R
Re: Grappling hook fix
For the every-one around you thing being dragged too, you could call the weapon grab-n-go!!! Or turn and burn.
- tsurugi13
- Lieutenant Colonel

- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: Grappling hook fix
I tried something simple and just gave a missile a negative push value. Believe it or not it actually pulled them! If I just upped the negative push some more, upped the ordnances velocity, and removed the exp effect, you'd have an anti-infantry grappling hook! :maulsaber:
-
mutedrancor
- Master Sergeant

- Posts: 177
- Joined: Fri Dec 07, 2007 8:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: HMMM.......
Re: Grappling hook fix
nice
did you make it say grappled in game?
- tsurugi13
- Lieutenant Colonel

- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: Grappling hook fix
No, good idea though!
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Grappling hook fix
We call that move "Force Pull."tsurugi13 wrote:I tried something simple and just gave a missile a negative push value. Believe it or not it actually pulled them! If I just upped the negative push some more, upped the ordnances velocity, and removed the exp effect, you'd have an anti-infantry grappling hook! :maulsaber:
- tsurugi13
- Lieutenant Colonel

- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: Grappling hook fix
...no. This is a missile. I was honestly hoping that the negative push would pull the player toward the explosion, but oh well. I'm just going to change this to a 0 damage, 50 push missile.
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
Re: Grappling hook fix
You could make the explosian invisible then make the expolsian push negative but that would still people around you,too.
-
SilvaDalek
- Sith

- Posts: 1329
- Joined: Sun Dec 02, 2007 12:52 pm
- xbox live or psn: TH3 R0LL3R
Re: Grappling hook fix
If a grapple went into you amd pulled wouldn't that hurt? Give it damage!
And use the snowspeeder cable effect.
And use the snowspeeder cable effect.
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Grappling hook fix
@Zerted: Quick timers are probably brutally inefficient and could make the game crash if overused, but hey, this is modding we're talking about.
I guess I could, 'learn'. It sounds like your saying that the variable is tracked by the CPP code and when you 'store' it in the LUA, the engine just takes that and saves it itself...well, wait...I'm not making much sense, am I? The engine is the LUA code's environment..but its a different part or something...they're all numbers and RAM bits and stuff...*Incomprehensible rambling*
Something which I know nothing about.[RDH]Zerted wrote:...the result of GetEntityMatrix() doesn't have to be in a human readable format. It could always be some type of binary representation of some C++ object.
AutoFire = "1" .Syth wrote:That'd work, but the ai turret/grappling hook would half to smart enough to shoot you immediately, and if you where standing next to anyone they'd get pulled too.
-
ARC_Commander
- High General

- Posts: 838
- Joined: Tue Feb 06, 2007 7:18 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Grappling hook fix
Yes - the grappling hook should work like this:
1. Pistol fires autoturret (with invisible geometry) that is programmed only to target friendly, has a targeting range equal to that of the grapple pistol
2. Autoturret is set to "autofire = 1", fires a Force Pull at you with a cone angle of 1 or 2.
3. You are pulled through the air to the location of the autoturret. The autoturret's lifespan runs out shortly after.
Bam. Grapple hook. I'll see if I can implement it in Battlefront Extreme. Now, is it capable of firing on an angle? We'll have to find out.
1. Pistol fires autoturret (with invisible geometry) that is programmed only to target friendly, has a targeting range equal to that of the grapple pistol
2. Autoturret is set to "autofire = 1", fires a Force Pull at you with a cone angle of 1 or 2.
3. You are pulled through the air to the location of the autoturret. The autoturret's lifespan runs out shortly after.
Bam. Grapple hook. I'll see if I can implement it in Battlefront Extreme. Now, is it capable of firing on an angle? We'll have to find out.
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
Re: Grappling hook fix
Im not sure how to make aiming values fixed at the opposite direction. You might have to have a new model with a hp-fire in the opposite direction.
