Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - redfox

Pages: [1] 2 3 4
1
Technical forum / How to update the items.items list
« on: September 24, 2016, 02:30:33 AM »
How can I update my Items.Item list for an update, when people already have save games? Other files update but the item list does not?

I tried using Game.LoadItems("items\items.items"); and with merge option too, but it deleted the exiting collected items.

2
Technical forum / Game.StoreSaveThumbnail(). - loosing tumbnail image
« on: September 07, 2016, 12:25:02 PM »
Hi,

I capture the save game thumbnail with  - Game.StoreSaveThumbnail();    before then changing to the menu scene.

Player can save and the correct thumbnail is saved first time, but I don’t automatically return to the game after save, and if the player saves again to a new (or over a save game), the thumbnail used is that of the menu screen, and not the thumbnail previously captured 'ingame'.

Does Game.StoreSaveThumbnail() automatically clear during the save process? If so how can I get around that or stop it?

Thanks


3
Technical forum / GetSprite at a Screen X and Screen Y
« on: December 05, 2014, 04:37:30 PM »
Is there a way to use the GetSprite to give me the file name at a set X and Y of the game screen?

What I am trying to do is get the file name or name of the scene sprite that is showing at set x/y points (ignoring any underneath), after several sprite have moved about in the scene.

Thanks  :D

4
Technical forum / ActorEntry for MainObject actor only.
« on: September 05, 2014, 01:04:55 AM »
I am trying to use ActorEntry when my main actor enters a floor region to trigger code. This works with no issue but it is also triggered by All actors rather than just my main actor, as defined in my game script -

Code: [Select]
actor = Game.LoadActor3D("my3dactor.act3d");
Game.MainObject = actor;

How might I add code to check if it is my main actor triggering a regions ActorEntry script, and ignore non player 3D actors.

5
Technical forum / Scene entity sprite order
« on: July 22, 2014, 11:30:09 AM »
Is there a way to change the Z-order of entity sprites already in a Scene using a code method? Ideally I would want to jump a clicked on scene entity sprite to the visual top of other sprites.

I see Z-order for windows, buttons, but not for Scene entity sprites.

Thanks

6
I am trying to position a 2d Scene entity to follow the position of a 3D actors bone using code

Code: [Select]
var myspritegraphic = Scene.GetNode(“myspritegraphic”);
Var Pos = actor.GetBonePosition2D("headbone");

myspritegraphic.X = Pos.X;
myspritegraphic.Y = Pos.Y;

Sadly GetBonePosition2D is giving me the wrong bone position if running in

7
Technical forum / in-game money....
« on: March 11, 2014, 06:59:39 PM »
I have an inventory item for money $. and the money figure is displayed over the inventory item.

But I want to display a figure such as $1.50. The Items figure amount won’t accept the .50 and will only display whole numbers.... 1 2 3 4 5 etc.

How could I go about displaying the .50 over the inventory item or should I only use whole numbers?

Thanks

8
Technical forum / Random "talk stances" with a 3D Actor?
« on: February 10, 2014, 08:38:24 PM »
How can I use "talk stances" with a 3D Actor?

With a 2D actor I can define multiple animations called "talk" and point them at different animation sprites for the engine to randomly pick (or for me to call as desired).

However, with the 3D actor definition file, I can only define animations based upon the name of the animation inside the xfile itself, and so can't list multiple cases of  "talk"?

But I can manually call different talk animations manually with actor.Talk("/mystringline001/",0,0,"shoot");

How can I get a 3D actor to randomly pick a talk animation with just using actor.Talk("/mystringline001/");

Thanks  :)

9
Technical forum / Different inventory.def file with multiple inventory?
« on: November 09, 2013, 06:55:35 PM »
Hello  :D

I am using multiple inventories. They working fine after I followed docs and web help; the inventories display and swap when needed, so far so so good.

Is it possible to use a different inventory.def file for each inventory? I basically want a different layout from one inventory to another.

Thanks

10
Technical forum / Response Box on top of windows?
« on: October 19, 2013, 03:11:05 PM »
Hello,

Is there a simple way I can get the Response Box window to stay on the top visual layer, above windows?

Mine is disappearing behind overlaid interface windows and I don’t know how to bring it to the front.

I have tried reloading the Response Box after the windows are loaded, but it didn’t work, and if I try building my interface into the response box.def file, then it will disappear when response aren’t being displayed.

Thanks  :)

11
Technical forum / Scale and/or Rotate a Sprite or Entity in a Window
« on: July 13, 2012, 03:26:32 PM »
How can I Scale and/or Rotate a Sprite or Entity which is inside a Window? I am using the window.GetControll(“spritename”) code to control the Sprite or Entity, moving it’s x and y etc etc. I see that the Attributes for Scale and Rotation are listed in the help files, but I have been unable to use them. I have added code to say that Sprite or Entity is Scalable=True and Rotatable=True.

Am I mistaken in reading that I can scale and rotate in a Window?

Thanks

12
Technical forum / .Talk line stops when changing scene.
« on: September 05, 2010, 08:49:59 PM »
I have a game global object / entity set,  up to use subtitles. But when I change scene the line is cut off - the subtitle goes and the audio line is cut off.

I have a game created object (rather than an actor), and am not using a scene object.

How can I make a global talk line (from the string.tab) which won’t cut out when the scene changes?
I want to keep the subtitle and the audio string files playing over the next scenes.
 
Many Thanks

13
Technical forum / Centre point of a region entity?
« on: July 05, 2010, 06:45:12 PM »
Can anybody tell me a simple way to get the centre point of a region entity on screen?  I can get the X and Y of the bottom right corner, but I am trying to calculate the middle, and the same script is used on multiple regions of different size and position.

Perhaps if I could get Width and Height of a region entity?

Many Thanks  :)

14
Technical forum / Help needed with Save/Load code.
« on: September 22, 2009, 02:47:23 PM »
Help needed with Save/Load code.

I would like to adjust the Save and Load code, as used in the Wintermute 2D Demo, so that only one save game slot is displayed with it's thumbnail at a time, and have a + or - button to move back and forth through the save game slots, auto loading the title and thumbnail.

I have tried to adjust the code but it goes very wrong. I would like to remove the need to click the one save slot left on screen before clicking Save, and to trim out the user entering save game name and replace with time and date.

Any help is very gratefully received.

Many Thanks

15
Technical forum / Games Explorer - Windows 7
« on: September 22, 2009, 02:40:30 PM »
Is there a way of generating the GDF file used in Wintermute to take advantages of the changes and additions implemented in the new Games Explorer of Windows 7?

Pages: [1] 2 3 4

Page created in 0.127 seconds with 21 queries.