Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

????how do a muzzle flash for weapons...how do i get vehicles to fire???

Slade Onizuka
Registered User
Join date: 26 May 2004
Posts: 15
10-14-2004 17:35
hello everyone, I am more than a bit confused when it comes to weapons and vehicles, does anyone know how to make a vehicle fire like a weapon, and how to make a weapon have a muzzle flash? i would greatly appreciate any help possible, and please feel free to im me in game even if im not on with any tips, if you dont mind...
thanks,
Slade :confused:
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
10-14-2004 18:04
I'm not sure about vehicles, but my cute lil Daewoo K2 assault rifle just uses Alpha tricks to make a pair of muzzle-flash prims (basically an X of two flat prims, with a pretty picture of a muzzle flash on it) appear and disappear at the end of the barrel when firing. :D When you fire, a link_message gets sent to those prims, and they change their alpha to 1.0 and back to 0.0 real fast, making... a muzzle flash. :D

Edit: Bet you didn't know Daewoo made assault rifles! They shoot these lil tiny crappy import cars, instead of bullets. Odd design, I know. ;)
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
10-14-2004 21:13
the problem with a car that can shoot is there just aren't enough keys to do so. Well maybe with a car there is but with a helicopter or a jet it gets complicated.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Siro Mfume
XD
Join date: 5 Aug 2004
Posts: 747
10-15-2004 09:41
you can use the left mouse button as a control input when not in mouselook. This will naturally require aiming your entire vehicle at your target, or as appropriate to a a seagoing ship, broadsiding. Passengers can always enter mouselook on their own weapons and perform a 'driveby'. Also, if you really run out of input controls, you can use a voice command, but that's usually not ideal for weapons/control systems.
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
10-15-2004 11:02
You could always be clever, I suppose, and try to code extra inputs using the same keys... like say, double-tap forward, or press two keys at once, to fire weapons, or something like that. It'd be a strange interface, but strange interfaces are keen. :D
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
10-15-2004 11:48
From: Cross Lament
... but strange interfaces are keen. :D


ohhh it's be ages since i've seen keen used.

i'm a clever driver and i end up using a good number of the keys at the same time, i usually end up activating clever systems by accident.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
10-15-2004 14:19
From: Strife Onizuka
i'm a clever driver and i end up using a good number of the keys at the same time, i usually end up activating clever systems by accident.


I believe that's called an undocumented feature. :D
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
Omen Torgeson
Registered User
Join date: 12 Jun 2004
Posts: 155
10-19-2004 17:03
Weapons in vehicles.

This is how I do it usually. I just dedicate one control for my weapons. (IE - left mouse button - mouselook and 3rd person view). Then I use a simple llListen command to change weapon systems on the fly using chat.

For example:

/guns
/AAmissles
/napalm
/globalkiller
/nohopeforsurvival
/mwhahahahahahaha

:D You get the idea. I just use chat commands to switch which weapon system is currently active (for use with the left mouse button). And if you hate bothering with chat commands (typing them out takes time and prone to typos). I also set up gestures using F keys (F2, F3, etc) to auto-chat my commands to the screen. Therefore, I only really have to hit different F keys to change weapons. Fairly simple and useful.

Just my L$0.2 Hope it helps.

-Omen