Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Gun Help

Redin Eourres
Registered User
Join date: 2 Dec 2008
Posts: 1
08-09-2009 00:44
I am currently working on a fully customizable M4 Carbine. First I need to know if it is possible to have certain add-on parts alter the performance of the gun. Example, adding certain scopes determines the distance the bullet is fired? [Most Parts would only be for looks however.]

Also, would it be possible to script a menu to select which of the parts you want on the gun? Like, when the gun is equipped, this menu would pop up and you could choose Scope 1, grip 3, laser sight, etc.

I don't really need specific coding help, I just need to know like an outline of what I would have to do. Ex. Object A would have to interact with Object C like this
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
08-09-2009 03:40
possible? yes.

easiest method? build all the optional parts into the gun then selectively show them based on your menu response.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -