For any feature requests to either the Skyline Engine or the websites and forums please leave your suggestion here.

Dynamic Properties Values

Dynamic Properties Values

Postby Shando » 04 Jun 2015, 02:57

Hi All,

Just wondering if it would be possible to be able to set Minimum and Maximum values for Dynamic Properties?

For example, I'd like to be able to restrict the values entered using the below values:

0 to 100
0 to 255
-1 to +1
0 to 1
etc.

If this is possible, then you could just add an extra couple of parameters to the setup code, where leaving a value blank means no minimum (or maximum):

Code: Select all
--[[Prop|int|0|100]]                ai_team                       =   1;
--[[Prop|float|0.1|]]               ai_maxVelocityX               =   10.00;
--[[Prop|float|1.0|2.0]]            ai_runFactor                  =   1.50;


I know that I could do it through code, but I think that would restrict ways of providing the user with feedback if they select an incorrect value? I'd much rather stop them entering incorrect values in the first place.

Thanks

Shando
Ryzen 7 4800H 16GB GTX1650 Win 11 64
Love, Hope, Strength http://www.lovehopestrength.co.uk
User avatar
Shando
Skyline Moderator
Skyline Moderator
 
Posts: 560
Joined: 06 Mar 2013, 22:35
Location: Moffat Beach, Queensland
Skill: Programmer
Skill: Scripter
Skill: Level Designer

Re: Dynamic Properties Values

Postby SolarPortal » 19 Jun 2015, 16:26

I will attempt for this to be usable in the next release if possible. :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 7 guests

cron