Custom Heroes

Wyrmsun is an RTS / Grand Strategy game which features elements of mythology, history and fiction.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
Andrettin
Posts: 433
Joined: Sun Jun 30, 2013 9:58 pm
Location: Vienna, Austria
Contact:

Custom Heroes

Postby Andrettin » Fri Dec 04, 2015 9:06 pm

Something I'm working on for Wyrmsun. Besides the usual persistent heroes, the player will be able to create persistent custom heroes for use in quest scenarios. Here's a screenshot of the custom hero creation interface:

Image
MrFlibble
Posts: 55
Joined: Mon May 04, 2015 11:37 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Custom Heroes

Postby MrFlibble » Sat Dec 05, 2015 12:05 am

Nice! I suppose it will be possible to add custom icons as well if the player has one?
User avatar
Andrettin
Posts: 433
Joined: Sun Jun 30, 2013 9:58 pm
Location: Vienna, Austria
Contact:

Re: Custom Heroes

Postby Andrettin » Sat Dec 05, 2015 1:03 am

MrFlibble wrote:Nice!
Thanks!
I suppose it will be possible to add custom icons as well if the player has one?
Not through the normal interface (since doing that would allow the player to choose icons which would have nothing to do with the unit type in question), but it is possible by editing the new /wyr/heroes.lua file where heroes are saved. Using the "Icon" field allows setting an icon specific for that hero, and it is also possible to set a "HeroicIcon" (an icon the character uses if it is level 3 or higher).

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 2 guests