Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Nihil on December 19, 2003, 10:56:18 AM
-
I've just wondered, is it possible to have different sprites for the main actor?
I don't mean the animation sprites, but completely different ones. I couldn't find something about this in the help file.
The reason for this is, that my game will take place in very different regions and cover a time span of approx. 3 months from autumn to deep winter, so I think it would be more realistic (and hygienic of course :) ) if he would change his clothes from time to time :)
I don't need an in-depth explanation of how it works, a simple Yes or No is enough (though a Yes would be prefered :) )
-
I've just wondered, is it possible to have different sprites for the main actor?
I don't mean the animation sprites, but completely different ones. I couldn't find something about this in the help file.
Good question. I think you can't change the definitions from the actor files in the script yet. But it should be no problem to load another actor definition with
actor = Game.LoadActor("actors\mycharacter\chapter3.actor");
-
Well, that sounds easy :)
Is the inventory in any way connected to the actor (I haven't done too much wme-scripting until now, so I don't know ...)
According to the Help the Inventory is a Game-Object, and not an Actor-Object?
PS: Ok, now it IS going in-depth :-)
-
Currently there's only one global inventory in the game. If you need more of them, you'll have to script it.
Personal inventores are planned, but in your case, the current situation is more appropriate, right? :)
-
Ha! Who needs personal inventories? :)
-
Ha! Who needs personal inventories? :)
Actually it's really easy - I'll post you a quite straight solution in the snippet section.