Scripts / HUDX error

Author
Message
Tomik18
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 11th May 2019 07:33
Hello, i use fpitolua for convert fpi script but in test game i have error



My PC specs: Intel Core i3 8100 3,6Ghz
GTX 1660 6GB
8 GB RAM

Attachments

Login to view attachments
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 11th May 2019 09:29
Looks like it has a few functions it doesn't know how to convert and would likely need quite a bit of work to actually make work again, what is it supposed to do?
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Tomik18
GameGuru TGC Backer
14
Years of Service
User Offline
Joined: 8th May 2009
Location: Slovakia
Posted: 11th May 2019 09:47 Edited at: 11th May 2019 09:58
This is script for switch with image when player come close to the switch
My PC specs: Intel Core i3 8100 3,6Ghz
GTX 1660 6GB
8 GB RAM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 11th May 2019 18:10
Yes Fpi2Lua is still WIP but you can still set hudx and hudy to your own x,y coords of where you want to place the sprite.... still got to do more work so at moment you have to do a bit of your own scripting....
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 13th May 2019 11:50 Edited at: 13th May 2019 11:51
following on, to get the script to compile ok (for now), I had to comment out some lines that are not yet converted in FPI2LUA, this has still to be done and some other fixes need looking into also. HUDX, HUDY are just the x/y coords where you want to position the sprite/hud.
fading in and out sprites/huds is easy in LUA, I have done another tut video somewhere , I 'll see if I can locate it.
FPI2LUA is still in it's infancy so any FPSC FPI command it can't convert to will just add a function template. you can either write your own function / code or wait till I update the program and not sure when that will be.

Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.

Login to post a reply

Server time is: 2024-04-23 19:33:53
Your offset time is: 2024-04-23 19:33:53