21.09.2014, 17:14
(
Last edited by codectile; 08/06/2015 at 03:11 PM.
Reason: update
)
Objectometry
Introduction
This include helps in creating objects in different types of circular paths/tracks.This include is still under development. The functions below will not work unless streamer plugin is included in your script. Now you can set the "x axis" and "y axis" rotations while using the "facecenter" parameters. Now Shapes can be destroyed/deleted. There are total 12 different types of functions -
WARNING: "DO NOT" create two or more the two circle/whirl/helix in the same slot.
Q.Why "Objectometry" ?
A.I was too much confused with the include name.
There are total 6 different types of functions -
Code:
•CreateDynamicObjectCircle(modelid,Float:posx,Float:posy,Float:posz, Float:rx, Float:ry, Float:rz,Float:radius,Float:sep,Slot,bool:facecenter=false, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0) •CreateDynamicObjectHelix(modelid,Float:posx,Float:posy,Float:posz, Float:rx, Float:ry, Float:rz,Float:radius,Float:hsep,Float:vsep,Slot,bool:facecenter=false, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0) •CreateDynamicObjectCylinder(modelid,Float:posx,Float:posy,Float:posz, Float:rx, Float:ry, Float:rz,Float:radius,Float:hsep,Float:vsep,parts,Slot,bool:facecenter=false, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0) •CreateDynamicObjectWhirl(modelid,Float:posx,Float:posy,Float:posz,Float:rx,Float:ry,Float:rz,Float:radius,Float:sep,Slot,bool:facecenter=false, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0) •CreateDynamicObjectOutCircle(modelid,Float:posx,Float:posy,Float:posz,Float:rx,Float:ry,Float:rz,Float:radius,Float:sep,parts,Slot,bool:facecenter=false, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0) •CreateDynamicOutCircle(modelid,Float:posx,Float:posy,Float:posz,Float:rx,Float:ry,Float:rz,Float:radius,Float:sep,parts,Slot,bool:facecenter=false, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0) •CreateDynamicSineWave(modelid, Float:posx, Float:posy, Float:posz, Float:rx, Float:ry, Float:rz, amplitude, Float:sep, Slot, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0) •DeleteCircle(DeleteSlot) •DeleteHelix(DeleteSlot) •DeleteWhirl(DeleteSlot) •DeleteCylinder(DeleteSlot) •DeleteInCircle(DeleteSlot) •DeleteOutCircle(DeleteSlot) •DeleteSineWave(DeleteSlot)
Updates
UPDATE 1
Testing
Testing script will be available soon.
Parameters
Unknown Parameters:
facecenter - if you want your object to face towards the center of the circular path, set it to "true".
parts - Only available in "CreateDynamicObjectCylinder","CreateDynamicCircle In" and "CreateDynamicCircleOut", let you to specify the parts.
sep/hsep - Horizontal separation between the objects.
vsep - Vertical separation between the objects.
Slot - Allocates a slot for shape/pattern creation. MAXIMUM number of slots is 24 for high speed processing. Each slot refers to each pattern/shape of objects, so according to max number of slots you can only create 24 patterns/shapes i.e. 0 - 23.
Dependencies
Streamer Plugin - incognito [Thank you very much]
Bugs
None yet.
Credits
• Incognito - for streamer plug-in.
• Pattrick356b - for reminding me about, "IsValidDynamicObject(objectid)" function.
• Pottus - for implementing "Objectometry" in his Texture Studio.
Download
******Drive
Much more to come.