News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 218
Total: 218

Author Topic: A Balancing Act...  (Read 1562 times)

0 Members and 58 Guests are viewing this topic.

A Balancing Act...
« on: »
What do you guys know about the hierarchy editor?
The latest working build can be found here:
steamcommunity.com


It's pretty straightforward, but what I'm trying to do with my hierarchy mod, is allow one player to exist in a hierarchy of classes, like a class tree. All I've managed to do so far is make one player another class... while this was interesting, he/she can only equip their own class items if that class IS their class, which ISN'T their character, currently, it's their CLASS character.

So, there are only 2 classes instead of 4 :( Unintentional, but maybe promising? Idk.

What I'm thinking is this...
I like the idea that Character-any can and will inherit properties of the Player-character-any-et c. above, if their Base file's base is that Player's Base's child... a "title" of a UNIT TYPE's Character, or "CLASS".

so, if this makes sense to ANY of you, would you think that I could take these UNITTYPE Files:
ARCHETYPE_CLASS(Gen.1)
CLASS (Character)
CLASSBASE_CLASS
CLASSBASE_GROUP
GROUP (Type Guarantor)
GROUP_CLASS (Gen.2)
TYPE(Class Inheritor)

and make something of them?

This is in addition to all the CLASS_CLASS unit types, such as BERSERKER_CLASS, BERSERKER_FEMALE...

Any idea?

If not, I hope to impress without needing help. At any rate, it's tough to imagine, easy to chart, and like second nature by now... just about to run through a first phase of integration.
« Last Edit: July 22, 2017, 05:43:41 pm by Etherhead »

Share on Bluesky Share on Facebook


Re: A Balancing Act...
« Reply #1 on: »
I'm not sure I can do it, but I'm thinking it's worth a shot!

if it's possible I can.

I'd have to loop a static around a static (which i say is possible) through dynamic inheritence
but so far, i've just looped statics around a dynamic, via direct guarantee of inheritence, and a dynamic around a dynamic, via subsequent inadvertent (or indirect) inheritence
in other words, you ARE a CHARACTER currently in my Alpha, not a PLAYER
now I want CLASS = CHARACTER :wink:

what is a class?

a class is a type which inherits character which is in direct line to inherit the player(edited)
so character = player
not player > character

Re: A Balancing Act...
« Reply #2 on: »
I'm not sure I can do it, but I'm thinking it's worth a shot!

if it's possible I can.
*...skip to end of quote*.

I heard from a very reputable (my dad) source, that I need to create a variable, and instantiate the class for as its parent. I can do this, but it will look difficult to most of you. I will attempt. ASAP.

Player Class inherits Class inherits Player inherits Character inherits Any & Player inherits Players And Pets.

"Type of Class" i.e., Berserker inherits Player Class.

Archetype inherits Archetype Group inherits "Type of Group" i.e., Magical Group Base.

Group Base inherits Group Class inherits Player - et c. ...

Berserker Female inherits "Type of Group" Class, i.e., Generic Group Class (read: Any Class) & "Specific" Group Class, i.e., Magical Group Class.

THEN, if Berserker inherits Player Class it will Instantiate
Variable, See: Any.

Any Player Class *may be* Player, which may be an Engineer or Berserker, thus Martial Group Class WILL INHERIT the Class of Character IF Character = Any. It doesn't. Any and Character are two different variables.

Therefore, Martial Group Base must ALSO inherit Player Class Group, which is inherited by ALL CLASSES. As Generic Group Class is Any Class, Player Class Group is equal to ALL CLASSES.

Questions? Should this fail, I've manipulated the variable wrong.

-Etherhead
« Last Edit: July 22, 2017, 04:02:43 pm by Etherhead »

Re: A Balancing Act...
« Reply #3 on: »
I'm not sure I can do it, but I'm thinking it's worth a shot!

if it's possible I can.
*...skip to end of quote*.


Player Class inherits Class inherits Player inherits Character inherits Any & Player inherits Players And Pets.

"Type of Class" i.e., Berserker inherits Player Class.

Archetype inherits Archetype Group inherits "Type of Group" i.e., Magical Group Base.

Group Base inherits Group Class inherits Player - et c. ...

Berserker Female inherits "Type of Group" Class, i.e., Generic Group Class (read: Any Class) & "Specific" Group Class, i.e., Magical Group Class.

THEN, if Berserker inherits Player Class it will Instantiate
Variable, See: Any.


*snip snip*

-Etherhead


I slept on this.

I need to create a Variable named TYPEVARIABLE (a special UNITTYPE). It merely inherits ANY.
This should allow PlayerClass to instantiate a variable; in this case, CLASS.
CLASS=Character-Any
TYPE=Any
TYPEVARIABLE=Player-Character-Any

I'm instantiating the CLASSTYPE for VARIABLE (Any), so CLASS must inherit PLAYERCLASS, I.E, BERSERKER... which DOES NOT inherit PLAYER directly, merely PLAYER_CLASS_FEMALE &/or _MALE.
FINAL THOUGHT.

ARCHETYPE IS ITSELF A GROUP. ARCHETYPEGROUP IS ONE VARIABLE. GENERIC GROUP MUST BE "CREATIVE", Creating an Archetype Known.  This Known, a Player Class GROUP is Inherited by the Base Class, via CLASS GROUP(s); in this case ARCHETYPE/S... MARTIAL, MELEE, OR GENERIC. {READ: NOT A CLASS, Any: Class Variable} -- Such as it were, an Archetype Class already EXISTS. IT inherits the "Group", including Player. SO Base Class must be its own class, and it will work as Anything. Player-Character-Base-Any.

FOUND: SOLUTION.

(if this is not understandable, please be patient. I'm working.)

Edit: here are my findings, see attachment.
« Last Edit: July 22, 2017, 04:01:13 pm by Etherhead »

Re: A Balancing Act...
« Reply #4 on: »
I slept again, twice. Now, I've added pics. If this is still not understandable, don't worry. I may still be able to develop a mod based around the ideas I have for Class Hierarchies.

In the top pic above, the one where it shows the Weapon's Req., you can see that nearly about every requirement is displayed, but is white. This is just a matter of which Base File is being read, and by which file(s). I need a hint: and, it's not easy to show pics of this part. Any of you understand where/how the Display Name relates to the Base File?

A little help would be appreciated.

-Ether-

 

Recent Topics+-