A Few Weapon Questions
Moderator: Moderators
-
Tygr
- Corporal

- Posts: 150
- Joined: Mon Aug 25, 2008 1:11 pm
A Few Weapon Questions
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?
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?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: A Few Weapon Questions
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.
And I'm pretty sure custom weapon models can be set up with multiple firepoints.
-
Tygr
- Corporal

- Posts: 150
- Joined: Mon Aug 25, 2008 1:11 pm
Re: A Few Weapon Questions
What do you mean?Maveritchell wrote:you'd be best off using a "shell" ordnance.
EDIT: Is a "shell" ordinance a class, or what? Sorry, I'm still pretty new at this.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: A Few Weapon Questions
Grenades technically use a "sticky" ordnance - for comparison, look at the mortar launcher's ordnance, which is a "shell" ordnance.
- vampire_lord
- Rebel Sergeant

- Posts: 216
- Joined: Thu Mar 20, 2008 7:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Mexico City
- Contact:
Re: A Few Weapon Questions
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?
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?
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
Re: A Few Weapon Questions
As long as you don't animate the null (in this case, hp_fire), everything should work fine.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.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: A Few Weapon Questions
How do you plan to link the chaingun to it's animation when fired?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
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]"
-
Tygr
- Corporal

- Posts: 150
- Joined: Mon Aug 25, 2008 1:11 pm
Re: A Few Weapon Questions
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? 
- vampire_lord
- Rebel Sergeant

- Posts: 216
- Joined: Thu Mar 20, 2008 7:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Mexico City
- Contact:
Re: A Few Weapon Questions
Ups, I flew too high.... faaaaaaaaaaaaaalliiiiiiiiiiiiiiiiing!!How do you plan to link the chaingun to it's animation when fired?
There must be a way, if turbolaser turrets have animation as well, not to mention the shipped DC-15A has those light indicators...
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: A Few Weapon Questions
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.).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...
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: A Few Weapon Questions
You can't, as far as I know, that would require custom voiceovers, which unfortunately are quite..... impossible at this time...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?
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Re: A Few Weapon Questions
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.Taivyx wrote:You can't, as far as I know, that would require custom voiceovers, which unfortunately are quite..... impossible at this time...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?
-
Tygr
- Corporal

- Posts: 150
- Joined: Mon Aug 25, 2008 1:11 pm
Re: A Few Weapon Questions
How do I make human units immune to the damage inflicted by space?
- SBF_Dann_Boeing
- Groove Walrus

- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Re: A Few Weapon Questions
you mean by falling on/hitting terrain or objects?
put
CollisionScale = 0
or
CollisionScale = "0 0 0"
in the units odf.
put
CollisionScale = 0
or
CollisionScale = "0 0 0"
in the units odf.
-
Tygr
- Corporal

- Posts: 150
- Joined: Mon Aug 25, 2008 1:11 pm
Re: A Few Weapon Questions
I mean like when you go outside the hangar on Polis Massa, and it does damage.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: A Few Weapon Questions
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.Tygr wrote:I mean like when you go outside the hangar on Polis Massa, and it does damage.
