About Store Forum Documentation Contact



Post Reply 
ObjectParams into groups
Author Message
Houge Offline
Member

Post: #1
ObjectParams into groups
Hi!

I think it would be great to be able to create custom groups in object Params to have an option to divide the params and make reading more comfortable.
Plus ability to duplicate single Params or entire groups.

Other great idea for params is to make range values for numeric params (Int and Flt), like it's made for Gui Property.
(This post was last modified: 03-26-2018 10:35 PM by Houge.)
03-26-2018 10:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: ObjectParams into groups
This would certainly help with objects that can hold alot of params especially if you want an easy way by looking at the params grouping what they belong to(as some objects might have params that are used in multiple different systems, and it would help in case of multiple people working on the project but are map designers only(as an example))


the range values however, I think in this case it would probably best adding them as a single configurable separate type(configurable sort of like how the color param is done, where you can input min,max value and numeric type) and the representation of the actual display param value is a slider of sorts
(This post was last modified: 03-26-2018 10:41 PM by Zervox.)
03-26-2018 10:39 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: ObjectParams into groups
what I do is use a prefix:
"anim idle"
"anim run"
"anim walk"
"armor helmet"
"armor body"

because of the prefix, the parameters get sorted and are displayed together.

As for the range, you can just use a "Vec2" type, and use X as min and Y as max.
Alternatively, you can use a "String" and write any text you want like "0..1"
Another option is to have 2 parameters:
Flt "value min"
Flt "value max"
03-27-2018 08:53 AM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #4
RE: ObjectParams into groups
Yes, but if I have dynamic range of params, I get them like:
PHP Code:
for(Int i 1< (100); i++)
    {
        
Param *par obj.findParam("obj_action_" );
    } 

and I have (for example):
"obj_action_1"
"obj_target_1"
"obj_action_2"
"obj_target_2"
...

But they are sorted as:
"obj_action_1"
"obj_action_2"
...
"obj_target_1"
"obj_target_2"
...

Just look and say if it's comfortable for you to read such params without groups:
   

Adding extra strings for comments would create a mess there.
(This post was last modified: 03-27-2018 07:20 PM by Houge.)
03-27-2018 05:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #5
RE: ObjectParams into groups
You should use instead:
"obj_1_action"
"obj_1_target"
"obj_2_action"
"obj_2_target"
03-27-2018 10:22 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #6
RE: ObjectParams into groups
(03-27-2018 10:22 PM)Esenthel Wrote:  You should use instead:
"obj_1_action"
"obj_1_target"
"obj_2_action"
"obj_2_target"

That would improve the sorting and be more correct in relations, but I'd agree with Houge about being able to group them into a param element acting like a folder
(This post was last modified: 03-27-2018 10:36 PM by Zervox.)
03-27-2018 10:35 PM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #7
RE: ObjectParams into groups
I understand, but it's not a good solution or workaround in my opinion.
So you don't see a necessity to improve Params window? smile
03-27-2018 10:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #8
RE: ObjectParams into groups
Of course there could be improvement smile however right now I'm focused on other aspects of the engine, for example root motion animations.

Contributions to the source:
https://github.com/Esenthel/EsenthelEngine/
Are welcome.
03-27-2018 10:40 PM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #9
RE: ObjectParams into groups
OK, got this!
Hope there will soon be binary release, cause latest was last year smile
(This post was last modified: 03-27-2018 10:43 PM by Houge.)
03-27-2018 10:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #10
RE: ObjectParams into groups
I will try to make one in the next few days smile
03-27-2018 10:43 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #11
RE: ObjectParams into groups
Latest binary has just been released
04-01-2018 04:18 AM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #12
RE: ObjectParams into groups
Thanks! I'll check this now.
04-01-2018 04:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply