Editing velocity and making grenades explode upon impact...

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
Dark Cloud




Wordewatician 500

Posts: 958
Joined: Thu Jan 29, 2004 1:39 pm

Editing velocity and making grenades explode upon impact...

Post by Dark Cloud »

Ok, well, I'm trying to figure this out for the RPG Launcher I'm working on (9th rebuild in 1 1/2 weeks of work here... thank god BG takes all of 3 minutes to extract (Other than sounds)...

Anyways, how exactly do you edit the velocity of something? In the bouncy grenades thread (lol... best pics ever in that thread! lol...), someone suggested something about velocity, and I just wanted to tinker with that.

Ok, now, my main problem here is that I got the rocket launcher duplicated, I have a completely seperate weapon in the HMT weapons list (rpg launcher), it functions now, and I got my skin problem fixed, so now it's fixed (And has a [non-functional] self destruct button. Hehehe...), yet, the grenades it fires, are either stubborn, or stupider than a drunk grunt looking at Pink Elite weekly (Don't ask! Me and my friend were making funny things up about grunts and Covenent "Playboy-like" magazines(sp?)... XD)!

The past 2 rebuilds, I have gotten them to fire custom projectiles (duplicated ones), which are just basically duplicated grenades, but when I do so, they either:

a.) Shoot out with no force (And this is why I wanted to fiddle with the velocity), and drop right in front of me, taking down my shields and 5-6 things of my health... x.x
b.) Shoot about 20 feet or so, and then suddenly dissappear. This is caused because of the lifespan setttings, I know for a fact.
c.) Shoot out, and bounce like a grunt with a plasma stuck to him for 60 seconds, and then BOOM!
d.) Bounce once or twice, and then go through the ground, or floor, as I often fired them inside the BG base, just to see them bounce around for a good minute before I just stepped in their bounce path, or threw a working grenade in to get them out of the base and send them up to Halo...

Now, what I'm trying to do specifically is give the projectile an arc like the regular grenade has when it's thrown, or one like the Fuel Rod Gun's projectile. That arc, and I want it to be able to explode on impact with anything, from a plant, to the ground, to another person. This wepaon was specifically made into Halo by myself for some anti-vehicle weapons. These projectiles would probably have some tracers, or whatever, and be able to follow enemy vehicles. I really hate those times when I can't seem to land a plasma on that oh-so-annoying Ghost... x.x

So, I basically made this thing. Now, if anyone could tell me how to make it so that the projectile:

1.) Arcs

and

2.) Explodes on impact with something...

I'd be very grateful! I'm just trying to get this stupid thing working, and for the last week and a half, I've had no luck...

So, thanks in advance to anyone that could offer some helpful information!

And, I know the other thread was basically the same thing as this one, but that thread basically became a spam topic, sadly, as an explanation or help on this subject would have been very nice... :(
sharkface217





Posts: 377
Joined: Tue Jan 27, 2004 3:46 pm

Re: Editing velocity and making grenades explode upon impact

Post by sharkface217 »

Dark Cloud wrote:Ok, well, I'm trying to figure this out for the RPG Launcher I'm working on (9th rebuild in 1 1/2 weeks of work here... thank god BG takes all of 3 minutes to extract (Other than sounds)...

Anyways, how exactly do you edit the velocity of something? In the bouncy grenades thread (lol... best pics ever in that thread! lol...), someone suggested something about velocity, and I just wanted to tinker with that.

Ok, now, my main problem here is that I got the rocket launcher duplicated, I have a completely seperate weapon in the HMT weapons list (rpg launcher), it functions now, and I got my skin problem fixed, so now it's fixed (And has a [non-functional] self destruct button. Hehehe...), yet, the grenades it fires, are either stubborn, or stupider than a drunk grunt looking at Pink Elite weekly (Don't ask! Me and my friend were making funny things up about grunts and Covenent "Playboy-like" magazines(sp?)... XD)!

The past 2 rebuilds, I have gotten them to fire custom projectiles (duplicated ones), which are just basically duplicated grenades, but when I do so, they either:

a.) Shoot out with no force (And this is why I wanted to fiddle with the velocity), and drop right in front of me, taking down my shields and 5-6 things of my health... x.x
b.) Shoot about 20 feet or so, and then suddenly dissappear. This is caused because of the lifespan setttings, I know for a fact.
c.) Shoot out, and bounce like a grunt with a plasma stuck to him for 60 seconds, and then BOOM!
d.) Bounce once or twice, and then go through the ground, or floor, as I often fired them inside the BG base, just to see them bounce around for a good minute before I just stepped in their bounce path, or threw a working grenade in to get them out of the base and send them up to Halo...

Now, what I'm trying to do specifically is give the projectile an arc like the regular grenade has when it's thrown, or one like the Fuel Rod Gun's projectile. That arc, and I want it to be able to explode on impact with anything, from a plant, to the ground, to another person. This wepaon was specifically made into Halo by myself for some anti-vehicle weapons. These projectiles would probably have some tracers, or whatever, and be able to follow enemy vehicles. I really hate those times when I can't seem to land a plasma on that oh-so-annoying Ghost... x.x

So, I basically made this thing. Now, if anyone could tell me how to make it so that the projectile:

1.) Arcs

and

2.) Explodes on impact with something...

I'd be very grateful! I'm just trying to get this stupid thing working, and for the last week and a half, I've had no luck...

So, thanks in advance to anyone that could offer some helpful information!

And, I know the other thread was basically the same thing as this one, but that thread basically became a spam topic, sadly, as an explanation or help on this subject would have been very nice... :(

Well, cant you just change the offsets. I know this has been done before (sort of, I have seen different mods that can be combined to form ur idea. Mostly the one with the gun that launches grenades and just some skinning. That, or wait for HEK.
EqUiNoX





Posts: 1929
Joined: Sat Feb 07, 2004 11:08 am
Location: Bantron, USA

Post by EqUiNoX »

for the arc: all u have to do is make the weight higher and it will arc. but I don't know how to do an explode on impact though...
Image
Dark Cloud




Wordewatician 500

Posts: 958
Joined: Thu Jan 29, 2004 1:39 pm

Post by Dark Cloud »

Well, this may have sort of been done before, but I have some other ideas that I want to incorporate into this mod, but I won't say anything regarding them now, as it'd be quite easy for anyone else to do, but I haven't seen it done before... :wink: So, I don't want anyone else to get the idea really quickly, as I personally think it is a good idea, and could be used in many ways to help in navigation as well as coordinating attacks on bases from far away distances... So, the RPG launcher wouldn't be the only thing going into a mod here...

And, ok, well, thanks for the info on the arc, Equinox! I still wanna figure out the explode upon impact thing, however... *sigh*

At least this topic got some replies fairly quick... :wink: :D
halofan141





Posts: 464
Joined: Tue Dec 16, 2003 1:09 pm

Post by halofan141 »

Arc is weight.

Velocity is Initial speed (speed at throwing) and final speed (speed on impact). To have it accelerate while travelling int speed should be lower than final. To decellerate do the opposite.

Impact explosion can be (for p nade when sticking) set time delay to .00001. Otherwise not doable. However change the impact (only a few so may only work when hitting metal for example) effect to an explosion.
XwitX




Wordewatician 250

Posts: 332
Joined: Fri Feb 13, 2004 12:43 pm

Post by XwitX »

you could make your rpg shoot rockets but then insert the nade model over the rocket so it would look like it is shooting nades then just add arc to it using HMT. that might work.
User avatar
HunterXI





Posts: 3927
Joined: Sat Nov 22, 2003 11:21 am
Location: Azeroth
Contact:

Post by HunterXI »

halofan141 wrote:Arc is weight.

Velocity is Initial speed (speed at throwing) and final speed (speed on impact). To have it accelerate while travelling int speed should be lower than final. To decellerate do the opposite.

Impact explosion can be (for p nade when sticking) set time delay to .00001. Otherwise not doable. However change the impact (only a few so may only work when hitting metal for example) effect to an explosion.
I've done 0.00001. no explody. dont ask me why...
This post printed on 100% recycled electrons.
User avatar
MasterNeoChief




Conceptionist

Posts: 2431
Joined: Tue Dec 23, 2003 9:34 am
Location: The Netherlands

Post by MasterNeoChief »

Equinox wrote:for the arc: all u have to do is make the weight higher and it will arc. but I don't know how to do an explode on impact though...
You can adjust the arc of a projectile in HMT.
Dark Cloud




Wordewatician 500

Posts: 958
Joined: Thu Jan 29, 2004 1:39 pm

Post by Dark Cloud »

Well, Weight/Arc is in the same box there...

XwitX, as for the RPG launcher, when I rebuilt the map, I copied the .mod2 file and the .bitm file for the grenade for the projectile, and put it in for the rocket projectile, but of course, renamed it the RPG.

Ok, now, back on the topic of on-impact explosion, the rocket and FRG projectile do that, don't they? Now, I thought that the meta for this effect might be in the explosion effect files for the rocket and the Plasma_Cannon projectiles, but that didn't work. And, I'll try the explosion delay thing, just in case my HMT likes me more than Hunter. :wink:

And again, thanks for all the help you guys have offered! :D :D :D
chaosking202





Posts: 171
Joined: Thu Feb 19, 2004 3:37 pm
Contact:

Post by chaosking202 »

the reson 0.0001 dint work is anything below .1 i belive it freaks out and just sits there. sorry i dont have any advice :(
Dark Cloud




Wordewatician 500

Posts: 958
Joined: Thu Jan 29, 2004 1:39 pm

Post by Dark Cloud »

Hmm... well, that may be, but I still need the projectile to travel forever, or for however long the rocket goes for, but it needs to explode upon impact with anything. :?
halofan141





Posts: 464
Joined: Tue Dec 16, 2003 1:09 pm

Post by halofan141 »

The frag delay only counts for when its caught and cannot move, it's just like the plasma stick time, otherwise the timer for the three normal bounces is somewhere else.
EqUiNoX





Posts: 1929
Joined: Sat Feb 07, 2004 11:08 am
Location: Bantron, USA

Post by EqUiNoX »

well, it seams that u can not make it explode on impact, unless u swaped the projectile with a rocket...
Image
User avatar
HunterXI





Posts: 3927
Joined: Sat Nov 22, 2003 11:21 am
Location: Azeroth
Contact:

Post by HunterXI »

Equinox wrote:well, it seams that u can not make it explode on impact, unless u swaped the projectile with a rocket...
I saw this in a movie somewhere... it is possible, though probably not in the fashion we're used to...
This post printed on 100% recycled electrons.
Dark Cloud




Wordewatician 500

Posts: 958
Joined: Thu Jan 29, 2004 1:39 pm

Post by Dark Cloud »

Ok, well, here's what I've managed to work up... yet again, thanks for replying here, everyone! :)

Ok, now, my theory is that the settings that make the rocket explode upon impact with whatever are in the meta files for the effects in the rocket effect folder when you batch extract BG or whatever map you desire.

Well, these are all named things like dirt impact, and water impact, etc. I swapped tons of these things with HHT during my 7th rebuild, however, I made no progress in this.

Now, HunterXI (See, at least I got your name right... :P ), is there any chance you could direct me to that movie somehow? I'd be most interested in seeing it... I'm quite familiar with some of the effects listed, and I might be able to pick out a certain effect or two. After all, purposely going into clan recruiting games and getting accepted for membership, only to laugh in the clans faces and telling them I'm already in another clan sure lets you see plenty of projectiles going every which way... :wink:

But Equinox, about your statement, I highly doubt that whatever makes the projectile explode upon impact with something is located inside the meta for the projectile. Like I said, I believe they are located in the meta files for the effect files for whatever projectiles explode upon impact with whatever you want, such as the ground, or metal. I'm 80% sure about this too.

Man though... after reading the first 6-7 chapters of First Strike, I already am getting more ideas every second here... I really want to make a second Banshee into a covenent fighter now... :twisted:

And, yet again, thanks for replying everyone. :)
Post Reply