Blockland Forums > Modification Help
[RELEASE] Wire Effect - Now with download link!
(1/13) > >>
Tammy:
Wire effected created using a bunch of 2D shapes. It's fully working, but it's user not friendly yet, so I'm releasing it here so someone can figure out how to handle creation, saving, etc. Right now wires can be created between two bricks using the wire wand tool.

Download:
Beta 4: http://www.mediafire.com/?5t573qm58giin6h (Most Recent)
Beta 3: http://www.mediafire.com/?mrpdjn36ni2hw11 (Unstable)
Beta 2: http://www.mediafire.com/?944c7q7zv1jhdff
Beta 1: Lost link lol

Changelog:
Beta 4:

* fxWireFunctions.cs: Fixed broken wireSetHidden, wireSetEmitter and wireSetColor functions
* item_wireWand.cs: Wire slack is now automatically calculated to make wires of all lengths look more natural. Hopefully in the future wire slack will be easily adjustable for manual tweaking.
Beta 3:

* fxWireFunctions.cs: Rewrote everything to use emitters to render wires
* fxWireFunctions.cs: $fxWires::shapeDataBlock changed to $fxWires::defaultEmitter
* fxWireFunctions.cs: Added function wireSetEmitter(%wire, %emitter)
* Known Bug: wireSetHidden(%wire, %hidden) is messed up. It needs to be changed to it sets the emitter's color to "0 0 0 0" to hide and brick to the default color to unhide.
Beta 2:

* item_wireWand.cs: Added global variable $fxWires::maxDist
* item_wireWand.cs: Full trust is now required to use
* item_wireWand.cs: Wires now change color and disappear when one of the bricks does
* item_wireWand.cs: Wires will be deleted if one of their bricks is destoryed
* item_wireWand.cs: Wire Wand will delete the wire if a wire already exist
* fxWireFunctions.cs: Added function wireSetHidden(%wire, %hidden)
* fxWireFunctions.cs: Added global variable $fxWires::wireQuota
Functions:

--- Code: ---wireCreate(%pointA, %pointB, %color, %slack [, %emitter])
--- End code ---
Makes a wire between pointA and pointB. color is the color of the wire, slack is how much the wire hangs down. emitter is the emitter datablock to use, if it is not specified the default is used. Returns the object ID of the wire.


--- Code: ---wireDelete(%wire)
--- End code ---
Deletes the wire.


--- Code: ---wireSetColor(%wire, %color)
--- End code ---
Changes the wire's color without deleting it and re-making it.


--- Code: ---wireSetSlack(%wire, %slack)
--- End code ---
Changes the wire's slack without deleting it and re-making it.


--- Code: ---wireSetHidden(%wire, %hidden)
--- End code ---
Hide or unhide the wire.


--- Code: ---wireSetSlack(%wire, %emitter)
--- End code ---
Changes the wire's emitter without deleting it and re-making it.

Global Variables:

--- Code: ---$fxWires::resolution
--- End code ---
How many wire shapes per unit. Only effects wires created after the var is changed. Default is 10.


--- Code: ---$fxWires::defaultEmitter
--- End code ---
Datablock to use for the wire shapes. Default is wireEmitter (declared in server.cs).


--- Code: ---$fxWires::maxDist
--- End code ---
Max length of a wire in torque units. Default is 64.


--- Code: ---$fxWires::wireQuota
--- End code ---
Max total wires. Default is 30.
Woolys:
I thought this was going to be an event system based off of a wiremod concept from gmod, thanks for crushing my soul with your dirty boot. Pretty cool though, may download when it's out.
MrLoL:
Truce made the same wire effect etc
Tammy:

--- Quote from: MrLoL on December 04, 2011, 03:44:44 PM ---Truce made the same wire effect etc

--- End quote ---
Yeah but he never released his.
MrLoL:

--- Quote from: Tammy on December 04, 2011, 03:45:29 PM ---Yeah but he never released his.

--- End quote ---

Yeah, like any of his mods.

Thanks, might test c:
Navigation
Message Index
Next page

Go to full version