Login | Register


All times are UTC + 1 hour


It is currently Mon Nov 20, 2017 10:41 am




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Feb 13, 2014 3:09 am 

Joined: Tue Feb 11, 2014 4:44 am
Posts: 33
Example:
\{helpitem -name _hu_archer archer}
\{img /bunit:hu_archer -ralign}
\{tooltipshort}
%/class:chtr/vschtr:+/vsanml:+/vsvhcl:+/vsbldg:--%

but in Mirage become: %/class:chtr%
:cry:


Top
 Offline Profile  
 
PostPosted: Thu Feb 13, 2014 22:42 pm 
- Admin -
User avatar

Joined: Tue Aug 18, 2009 13:42 pm
Posts: 771
Location: Koprulu Sector
jiajia wrote:
Example:
\{helpitem -name _hu_archer archer}
\{img /bunit:hu_archer -ralign}
\{tooltipshort}
%/class:chtr/vschtr:+/vsanml:+/vsvhcl:+/vsbldg:--%

but in Mirage become: %/class:chtr%
:cry:

unit class is displayed (in this case character/infantry, only the +/++/-/-- icons not, which indicated how good is the unit against certain types of enemies (to be precise vs infantry, animals, vehicles/ships and buildings). the problem with those was, that they were only a formality stuff, called from help file(s) locally, but:

  1. they were not precise, for example a unit can have different attack and defense bonuses against ships and vehicles
  2. they were very rough properties (a bonus can be anything from -100% to like +100%, or more)
  3. in many cases they were wrong (a unit had for example the same amount of attack and defense bonus against both infantry and animals, but according to the help file it was + vs characters and ++ vs animals)
  4. a unit with both melee and ranged weapon can have different bonuses for those weapons, but this system don't make a diffrence, just shows very 'general' information
  5. also in some cases, the weapon damage isn't different against unit types, but the defense value (the player can't really know, why exactly the unit is better against something)
  6. any unit can have an attack or defense bonus/malus against certain unit classes, like vs brachiosaurus, but this can't be displayed by this system either
  7. anytime a unit attack and defense bonus will be changed (for balancing sake's for example) the help file on all the different languages shall be changed accordingly, which is a pain in the ass, especially if there are only a few members (like 2 or 3) actually working on the mod

that is why i implemeted a new system, which displays for every weapon its actual bonus value (info called from techtree directly) against unit types with actual numbers: like "Against vehicles: -50%" or even against exact unit classes, and for defense values goes the same. and with this new system the help files shouldn't be changed at every time we balance something
so i removed the :chtr/vschtr:/vsanml:/vsvhcl:/vsbldg: thingies from help files, but even if they were there (e.g.: you try to add them manually) the game still won't show them, because i disabled it in the script files as well.
please, get accustomed to the new system, which is prettycool and much more informative: it shows also attack frequency, poison ticks and damage, hitrange, enddamage, projectile's error factor (jitter), penetration angle, etc.
to let new stuff be displayed, you have to hover the cursor over the small icons in info window (bottom left), for example over the little sword, then the tooltip window on the right side will show these new things
take a look at it:
Attachment:
tooltip_1.jpg
tooltip_1.jpg [ 294.23 KiB | Viewed 1545 times ]

Attachment:
tooltip_2.jpg
tooltip_2.jpg [ 288.18 KiB | Viewed 1545 times ]

Attachment:
tooltip_3.jpg
tooltip_3.jpg [ 293.39 KiB | Viewed 1545 times ]

altough the generic ++ -- system may have a comeback, since many players miss it and after all it was good to know approximately what a unit is good against before producing it, but only after i made it independent from help files...


Top
 Offline Profile  
 
PostPosted: Sat Feb 15, 2014 11:52 am 
- Admin -
User avatar

Joined: Sat Apr 18, 2009 14:17 pm
Posts: 1979
For attack boni you could use
-- for anything < -50%
- for anything < 0%
+ for anything > 0%
++ for anything > 50%
maybe? Just came to my mind ^^

_________________
I've never seen code like this.

CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/4 gewinnt/etc v1.2


Top
 Offline Profile  
 
PostPosted: Sun Feb 16, 2014 15:15 pm 
- Admin -
User avatar

Joined: Tue Aug 18, 2009 13:42 pm
Posts: 771
Location: Koprulu Sector
AnthonyCole wrote:
For attack boni you could use
-- for anything < -50%
- for anything < 0%
+ for anything > 0%
++ for anything > 50%
maybe? Just came to my mind ^^

wouldn't be bad, but that means changing almost all the descriptions. Titans for example have no weapon or defense bonis, but they always had the ++ vs everything
considering that another solution would be:

+ for anything < 0% and >= -25%
- for anything < -25% and >= -50%
-- for anything < -50%
and +++ for stuff with actual > 0% boni


Top
 Offline Profile  
 
PostPosted: Sun Feb 16, 2014 20:03 pm 
- Admin -
User avatar

Joined: Sat Apr 18, 2009 14:17 pm
Posts: 1979
Hm, as always you're right :D Didn't think about that.

The SEK made the ++ to emphasize that a unit is strong (Titans) even without any boni. Hmm... Maybe an absolut damage value against something which gets modified by the modifiers and by this absolut value make the boni stuff? IDK. It's more complex than I thought :(

_________________
I've never seen code like this.

CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/4 gewinnt/etc v1.2


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron