[Library] ]{'s SpeedZone v2.7
Hello and Hello !!!
I Working on many Library
But this one is
THE FIRST ONE I UPLOAD !!!
One of 16 Library that i have Finished ATM ...
But wait
WHY THIS IS THE FIRST ?
Because of what ?
The Idea Sprite was given by sphrix )
So I would happy if I can give him here
Anyway, this Library is Big for me at least ;'
But you can try it yourself !
NOTE : THIS LIBRARY IS FOR sphrix :DDD !!!
Here :
Proudly Serve
]{'s SpeedZone v2.0 [Library]
-- PS : Before Downloading, be BE NOTE To Read All Terms of The Files-- [UPDATE]
Terms allegedly wrote:-{-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --{
-- -- -- -- -- -- -- -- -- -- -- -- -- -- [ THE LICENSE
-- -- -- -- -- -- -- -- This File and its Content Included Other Files That Have Same Author is Covered under this License of Copyrights ...
-- -- Licensed Under 'GNU LGPL v3' or Later in Terms Of Copyrights ...
... [
=== COPY/DUPLICATE, SHARE, REFERENCE, LEARNING, AND DISTRIBUTE ARE ALLOWED [THE TERM APPLIED] ...
=== BUT ONLY PERMITTED WHEN FOLLOW SPECIFIED TERMS AND CONDITION BY THE LICENSE AND THE AUTHOR :
--- PROHIBITED TO MODIFY, RECLAIM/CLAIMING, AND FALSIFY/COUNTERFEIT THE CONTENT NOR THE FILES !!!
--- REPEAT... DO NOT MODIFY THE CONTENT NOR THE FILES ITSELF WITHOUT PERMISSION OF THE AUTHOR !!!
--- DO NOT CLAIM THE CONTENT NOR THE FILES BY ANYBODY, BUT EXCEPT AND ONLY BY THE REAL AUTHOR !!!
--- AND DO NOT FALSIFY THE CONTENT NOR THE FILES BY ANY WAY, THROUGH ANY METHOD MANIPULATIONS !!!
/// WARNING : "These Terms ARE Author's Additional Rule, The Licence May Not Originally Have ..."
*** NOTE : ANY OTHER USAGE WITHOUT BREAKING THE SPECIFIED CONDITION ARE PERMITTED AND ALLOWED ...
... ]
+++ COPYING OR MAKING AS A REFERENCE ON THE CONTENT OR THE FILES, AUTHOR REQUESTED TO CREDITED ONLY IN NAME. [NOT A MANDATORY] ...
... [
*** ADDITIONAL CONDITION : Additional Condition can be earned/used if Author Create and Permit Other Condition or Usage Method ...
/// PS : "Ask The Author or Check the License For Detailed and Deeper Information of This Copyrights or For asking Permission ..."
''' Respectfully,
||| ||| "UltiMaxKom" / "UMK" / "UKom" / "]{" / "7<" [ *DO NOT CLAIM ANY NICKNAME OF AUTHOR [ANY FORM OF SCAMS ARE FORBIDDEN] ]
}-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --}
+
---------------------------------------------------------------------------------------------------{
-- -- -- -- -- -- -- -- -- -- ADDITIONAL LICENSE CONDITIONS WHITIN THIS SCRIPTS :
{
-- -- -- -- -- { GENERAL PERMISSION ("For General Permission Explanation")
{1 . [Anybody] CAN [MODIFY/EDIT] Anything [ONLY IN "THE EXAMPLE"] Section
}
-- -- -- -- -- }
;
-- -- -- -- -- { SPECIAL PERMISSION ("For Special Permission that Declared Specifically")
{1 . "UKom" Permit "sphrix" TO [*MODIFY/EDIT AND USE THE FULL USAGE The Scripts Provided Here]
}
-- -- -- -- -- }
}
-- -- -- -- -- -- -- PS : ONLY AUTHOR CAN DECLARE/CREATE/PERMIT ADDITIONAL LICENSE CONDITIONS
[NO SCAMS ALLOWED]
---------------------------------------------------------------------------------------------------}-
The Usage is "Quite-Complex"
But ofc its a piece of cake
The Function Form are :
-- Speedzone(mode, speedzoneid, timer, x, y, circle, followvgcircle, zoneradius, w, h, allowedgear, speedfollow, xspeederation, yspeederation, xpercentspeed, ypercentspeed, unlimitedstock, speedingstock, interval, effectvgt, opacity1, opacity2, frame, radius, tick, colour)
Which I want to explain each parameter of it :
----- [Mode] Fill it with 1 to make this function "Create" New/Replace (if the zoneid is already exist) or fill with 2 to make this function "Modify" Existing SpeedZone (Must fill the SpeedZoneID)
----- [speedzoneid] It is the ID for the SpeedZone which we want to create or modify. Leave Blank so the speedzoneid will automatically be inserted to SZTable. Must NOT Blank if want to Modify
----- [timer] Is a timer of SpeedZone Lifetime. It scaled in 1/1000 Sec. Or Fill with false so there are no limited lifetime. Or simply leave this blank to make unlimited lifetime (like fill it use false) ]
----- [x] and [y] is its position. In modify mode, it re-setup the position
----- [circle] Fill with ANYTHING so the AOE use Circle Shape. Or leave Blank so the AOE will not Circle Shaped, so the area will take a square shape.
----- [followvgcircle] Fill with ANYTHING so the [zoneradius] follow The Circle Visual Gear radius formula. Or leave Blank so the zoneradius doesn't follow Circle Visual Gear Radius formula.
----- [zoneradius] this is the Radius of AOE if it shaped as circle
----- [w] is width and [h] is height of AOE if it shaped as square
----- [allowedgear] This parameter define what gear type CAN be effected by SpeedZone Effect. By default, if leave it Blank then the allowed gear is gtHedgehog. You can fill it with table of gear type that are allowed to be effected by the SpeedZone Effect. Or fill with true so ANY/ALL GEAR ARE EFFECTED
----- [speedfollow] If this isn't Blank. It makes the Speed Adjustment (Not Percentage) will check the first velocity and follow it. So if you insert 1000 vx then if the initial gear velocity is -1 at vx, then the speed change isn't +1000 but -1000. Leave Blank if want to use constant absolute speed adjustment value
----- [xspeederation] This will directly added to the effected gear's xv velocity
----- [yspeederation] Like xspeederation. Except it added to yv velocity
----- [xpercentspeed] This is percentage speed addition which will be be multiplied again by 1/10. so we can say this speed addition in scale of 1000. The base formula is [ vx + ( vx * xpercentspeed ) ] with vx is gear's initial velocity
----- [ypercentspeed] Like ypercentspeed. Except it added to yv velocity
----- [xmaxspeedaddition] This is the Maximum Limit a gear can take SpeedAddition (or called *xspeedaddition) ... Every a gear get xspeedaddition, the Meter of xmaxspeedaddition will increase as well. And when the Meter is greater than xmaxspeedaddition, then the xspeedaddition will be stopped/disabled for the gear to take. The Meter will be refreshed to 0 when the gear leave SpeedZone Proximity. Leave this nil will set the xmaxspeedaddition to 10^100 (by default)
----- [ymaxspeedaddition] Same like xmaxspeedaddition. Except it checking vy velocity and yspeedaddition whitin a limit specified
----- [xmaxpercentspeed] Like xmaxspeedaddition and ymaxspeedaddition ... This is the Maximum Limit that xpercentspeed can be added into a gear. That when the Percent Meter are greater than xmaxpercentspeed. then the xpercentspeed will be stopped/disabled (*Like xmaxspeedaddition does). Leave nil so the value will be default (10^100)
----- [ymaxpercentspeed] Same like xmaxpercentspeed. Except it checking vy Percentage Meter and xpercentspeed whitin a limit specified
----- [xmaxspeed] This is The Maximum Limit of x velocity a gear can have when effected in SpeedZone Effection. When the gear effected have more velocity than this limit. Then the gear x velocity will be refreshed to this limit value. Leave nil to make it to default (10^100). Note that xmaxspeed (or ymaxspeed) will be a limit of its real value, meaning if the maximum speed is specified into e.g 10000, then the maximum limit refresh only occur when the gear beyond 10000 vx velocity, and will not occur when its velocity beyond (less than) -10000 . Use maxspeedfollow parameter to specify will the xmaxspeed and/or ymaxspeed is following the direction of the gear (See its absolute value whatever the direction (Negative nor Positive have its own limit with the specified value))
----- [ymaxspeed] Same as xmaxspeed does. Except it checking vy velocity of a the gear
----- [maxspeedfollow] Fill with true so the xmaxspeed and ymaxspeed refresh will follow the speed of the gear. Meaning, when this filled with true, xmaxspeed and ymaxspeed follow direction (negative or positive) of velocity of the gear, so the xmaxspeed and ymaxspeed does not only follow the value given, so it will follow the absolute speed of the gear, depend on the direction the gear facing to. Leave nil so its automatically use true as default. Or fill with false so its not use MaxSpeedFollow.
----- [unlimitedstock] Not leaving this Blank make SpeedAdjustmentStock into Unlimited
----- [speedingstock] This is Stock of the zone permit a gear to take how many SpeedAdjustment for once enter in its proximity
----- [interval] This is minimum interval every gear can take SpeedAdjustment. In scale of 1/1000 sec
------- Below is Visual Gear applied into the SpeedZone
----- [effectvgt] Default is vgtCircle
----- [opacity1] Default is 0
----- [opacity2] Default is 255
----- [frame] Default is 10
----- [radius] Default is 100
----- [tick] Default is 100
----- [colour] Default is 0xffffffff
*Note : These Parameter Explanataion ALSO Available inside the Library
Please if you wanna
Give some Responds to this Library
So i would make more better and greater Job
I wanna hear what the pros and cons about this Library ^^
--[[
[FIRST VERSION]
[FIRST UPDATED]
--]]
╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜
Awesome work man !!
Can't wait to try it
Really big work, hedgewars community is thankful
Thank you very much
But I think its your Idea, you start it isn't ) ???
Technically, you ask for it, then I do
So its yours too ^^
╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜
[UPDATE]
Hello !!!
I have complete my SpeedZone v2.7 !!!
Actually, it has finished at [(y/m/d)->2017/3/6]
But as you know (if ya know ofc)
I can't get Internet all the time
Its rare for me to gain access into the Internet Space ;(
But now !
I can release it !
So glad, i Fix Many things there and Adds More Feature
Also, its System Load Requirement are Greatly Reduced
and many more changelog can be exposed here, check it out to make sure
Added 7 Extra Parameter for you to Deal With, Customization Level is Higher too...
So
Now, it can support you with 34 Parameter Feature Customization At Once !!!
If its not enough, tell me please, I'll make it then ...
/// The Latest Version is Available Above at Post Description ...
BE NOTE : That sphrix is the Owner as Well ^^
...
And if you have Suggestion or Tips or Question or Report about bugs, please let me know
Even though, there is no Problem with it ATM, (AFAIK)
If you use it
Never Hesitate, its just a Library right ???
GL n HF ...
╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜
I find your first post very hard to read.
If I understand correctly, this library allows me to add zones in which hedgehogs will go faster. Correct?
I think this sounds pretty interesting, could be useful for crazy singleplayer missions or absurd shoppa maps.
Will these speed zones be visible to the player? I would like to see a screenshot and an example script using your library.
Hi, I am a Hedgewars developer.
Lol xD
Yea ! Know that, even before I write the damned text xD
Even if it's me, who trying to figure out what my post and my word going to say, will get some headache to death lol
You're right, this Library allow to make 'hedgehogs' go 'faster'
However, nonetheless...
But it's not too simple as that...
It's compatible to "Modify Velocity" of "Any Specified Gear" or, All gear instead, but default is only effect gtHedgehog for even flexible usage...
Also
Not only go 'faster' but you can adjust to "Any" way of modification available (which it's a large options available, still don't know the potential)
You can make the "gear" to go "slower" or "faster" or "stop in desired velocity dx or xy" or even "make the gear dismiss the external forces include to go -Flying without gravity"...
Potential still not bounded, because I still not using my Library, except for testing only...
PS : You set Values in parameter, so everything is specified by you using values, any values desired...
Note : 34 Parameter also make me confuse to use my own method xD . Need to focus to use it lol
Therefore...
Not wrong, but at least it have a little better scope of use than expected
Yeah
It "can" be
But it can to be invisible as well
Check those messy[xD] parameters, I think there one parameter to make the SpeedZone invisible instead
Or
Make it's visual gear tint to Full Black. I sure this solve the problem entirely...
Showing SpeedZone with Visible vgtCircle
PS : This Image below kinda buggy, it's not like what I see when taking the screenshot, it's colour isn't bad like this one looks like...
And this one
Showing SpeedZone with Invisible Zone
I'm sorry that I can only showing screenshot...
My Internet bad as Hell xD
Actually, I want to show with Videos ;/
But I think it's good to show how Visible and Invisible SpeedZone work
I need a better connection so I can show you entirely...
====================
Okay, maybe that's all...
But Wuzzy...
I hope I can release other Libraries even more soon
Even unfortunately, I guess I can ONLY release MY ENTIRE WORK in next year ;/ [ETA]
Depending how busy tomorrow will be ;|
Anyway...
Wuzzy, you can ask to me if there anything wrong/unworthy things with this, In it's file or even about it's legality, remove something or adding something, or etc ^^
╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜