Page 1 of 1
A Few Weapon Questions
Posted: Tue Sep 02, 2008 11:43 pm
by Tygr
I hope I'm not beginning to sound like a noob (LOL OMG HOW I MAEK IT WERK LOL WTF??!?!!111/1)but I do have a few questions regarding custom weapons.
I wanted to make a "Rubber Grenade" that would bounce a lot higher and longer than a standard grenade. I increase the rebound value, but it didn't seem to affect it. Any suggestions?
Also can I make a weapon fire two shots, but have them offset, thereby creating a dual blaster cannon?
Re: A Few Weapon Questions
Posted: Tue Sep 02, 2008 11:59 pm
by Maveritchell
You'll probably want to decrease gravity as well, but you'd be best off using a "shell" ordnance.
And I'm pretty sure custom weapon models can be set up with multiple firepoints.
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 12:02 am
by Tygr
Maveritchell wrote:you'd be best off using a "shell" ordnance.
What do you mean?
EDIT: Is a "shell" ordinance a class, or what? Sorry, I'm still pretty new at this.
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 12:25 am
by Maveritchell
Grenades technically use a "sticky" ordnance - for comparison, look at the mortar launcher's ordnance, which is a "shell" ordnance.
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 3:23 am
by vampire_lord
Can I ask as well in here?
Just correct me if I am wrong, I wanna make a custom chaingun and put only one hp_fire in the corresponding top barrel position, then give the six barrels animation, I just need to make sure that null stays in place while I animate the barrels so the shots will appear to come from the rotary barrels instead of trying to give it six hp_fire and script alternate ordnance.
Right?
Anyway, do I need to check on any other FAQ aside from the animation threads?
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 3:26 am
by -_-
vampire_lord wrote:
Just correct me if I am wrong, I wanna make a custom chaingun and put only one hp_fire in the corresponding top barrel position, then give the six barrels animation, I just need to make sure that null stays in place while I animate the barrels so the shots will appear to come from the rotary barrels instead of trying to give it six hp_fire and script alternate ordnance.
As long as you don't animate the null (in this case, hp_fire), everything should work fine.
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 8:50 am
by AceMastermind
vampire_lord wrote:I wanna make a custom chaingun and put only one hp_fire in the corresponding top barrel position, then give the six barrels animation
How do you plan to link the chaingun to it's animation when fired?
I can't find anything in the assets of guns having their own animations, these are the only examples I could find for weapon odfs that are related in some way to animations:
FireAnim = "1 or 2"
ForceFireAnimation = "1 or 0"
InstantPlayFireAnim = "1 or 0"
CustomAnimationBank = "[custom animation the soldier uses to handle weapon]"
AnimationBank = "[animation the soldier uses to handle weapon]"
NoFirstPersonFireAnim = "1 or 0"
SoldierAnimation = "[animation played on victim when hit]"
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 9:10 am
by Tygr
Another question: Is there a way to specify a custom sound for units to make when hit? Example, I'm working in a pepper spray weapon, (Based on the Bothan incinerator, BTW) and I want enemies to say "Augh! My Eyes!" when hit. How would I do that?

Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 10:09 am
by vampire_lord
How do you plan to link the chaingun to it's animation when fired?
Ups, I flew too high.... faaaaaaaaaaaaaalliiiiiiiiiiiiiiiiing!!
There must be a way, if turbolaser turrets have animation as well, not to mention the shipped DC-15A has those light indicators...
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 1:24 pm
by Maveritchell
vampire_lord wrote:There must be a way, if turbolaser turrets have animation as well, not to mention the shipped DC-15A has those light indicators...
Turbolaser turrets are buildings/vehicles,
not unit weapons. The Republic rifle has an animated texture (if blinking lights is what you mean by "light indicators"). You can't give an animation to a unit's weapon, animations go to entities (which are units, vehicles, props, etc.).
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 7:28 pm
by Taivyx
Tygr wrote:Another question: Is there a way to specify a custom sound for units to make when hit? Example, I'm working in a pepper spray weapon, (Based on the Bothan incinerator, BTW) and I want enemies to say "Augh! My Eyes!" when hit. How would I do that?

You can't, as far as I know, that would require custom voiceovers, which unfortunately are quite..... impossible at this time...
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 9:01 pm
by SBF_Dann_Boeing
Taivyx wrote:Tygr wrote:Another question: Is there a way to specify a custom sound for units to make when hit? Example, I'm working in a pepper spray weapon, (Based on the Bothan incinerator, BTW) and I want enemies to say "Augh! My Eyes!" when hit. How would I do that?

You can't, as far as I know, that would require custom voiceovers, which unfortunately are quite..... impossible at this time...
Techinically, it's not possible, but you can work around it. You can change the sound that the weapon ordnance makes on impact or in explosion. But then of course, it would be making the same sound when it hits ground, objects, vehicles, etc.
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 9:38 pm
by Tygr
How do I make human units immune to the damage inflicted by space?
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 9:49 pm
by SBF_Dann_Boeing
you mean by falling on/hitting terrain or objects?
put
CollisionScale = 0
or
CollisionScale = "0 0 0"
in the units odf.
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 10:04 pm
by Tygr
I mean like when you go outside the hangar on Polis Massa, and it does damage.
Re: A Few Weapon Questions
Posted: Wed Sep 03, 2008 10:41 pm
by Maveritchell
Tygr wrote:I mean like when you go outside the hangar on Polis Massa, and it does damage.
That's just a damage region - something that's been added. There's no difference between "space" and "land" - the game doesn't account for where there would logically be air to breathe.