Product Chat / Bond1 security camera (animated) now working in GameGuru

Author
Message
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 3rd Feb 2017 08:23 Edited at: 3rd Feb 2017 08:55
The art of shaders can be baffling, but after a few months of trying to get Bond1's security cameras working in GameGuru, I can now sigh a sigh of relief
Here is a pic of it in GG and my first (really basic) EBE structure (EBE is awesome, thumbs up to Lee and TGC). If you are interested in how I did it it, I'll post the files here, but some of you guys have probably figured it out. It's similar to the videotexture FX file I used for the errr well... videotextures.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT

Attachments

Login to view attachments
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2017 09:55
I would love to be able to do this! Files and explanation of how to set it up would be awesome mate

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 3rd Feb 2017 10:01 Edited at: 3rd Feb 2017 10:17
@Belidos-Great, I'll upload files and explain how to go about modifying the FX file and the textures required after work. So far, I've got the static, security and standby TVs working.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT

Attachments

Login to view attachments
arfur9
12
Years of Service
User Offline
Joined: 23rd Jan 2012
Location: Cold op norf UK
Posted: 3rd Feb 2017 10:28
Fantastic
I messed about but I couldn't get them working but shhhh I don't know what I'm doing half the time
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 3rd Feb 2017 11:15
a little clue until I finish work is to rename the _I file to _N and if you go to my videotexture post (just do a search if you cant find it) and update the .FX file to match the atlas row/columns and change the speed. I will provide a short demo if anyone still not sure.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2017 12:32
Quote: "@Belidos-Great, I'll upload files and explain how to go about modifying the FX file and the textures required after work. So far, I've got the static, security and standby TVs working."


That would be great, i actually have a scene i can use it in perfectly, in one part of my game you have to get into a building without being seen and there will be a security guard with a bank of monitors, so this would be perfect.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 3rd Feb 2017 13:19
So, does this actually show a camera view of actual scenes in GG? If so that's very impressive! No idea how that could be done without multiple cameras.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 3rd Feb 2017 13:29 Edited at: 3rd Feb 2017 13:44
@DVader-not at the moment it's just the atlas texture from the metrotheatre (I think), but I am going to add my own atlas textures to use GameGuru scenes and test again. We need multiple camera control and be able to project an image in real-time from cameras in real-time.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 3rd Feb 2017 18:17
Quote: "We need multiple camera control and be able to project an image in real-time from cameras in real-time."

That would be awesome.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
arfur9
12
Years of Service
User Offline
Joined: 23rd Jan 2012
Location: Cold op norf UK
Posted: 4th Feb 2017 07:36
The cryptic clue to get them working isn't working for me unless its the 6x6 Saw sequence ?
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 4th Feb 2017 08:07
@Arfur9-sorry didn't mean it to be cryptic. I'll post the files and try explain what I did. For the effect file, if you open it up in notepad or similar and edit the following float values:

float SpriteRows : Power
<
string UIName = "Rows";
string UIWidget = "slider";
float UIMin = 1.0;
float UIMax = 16.0;
float UIStep = 1.0;
> = 4.000000; <------------------------------change this value for the number of rows in your atlas file

float SpriteColumns : Power
<
string UIName = "Columns";
string UIWidget = "slider";
float UIMin = 1.0;
float UIMax = 16.0;
float UIStep = 1.0;
> = 4.000000; <------------------------------------ change this value for the number of columns in your atlas file

float FramesPerSec : Power
<
string UIName = "Frames Per Second";
string UIWidget = "slider";
float UIMin = 0.0;
float UIMax = 30.0;
float UIStep = 0.25;

> = 15.000000; <---------------------------------- change this value to set the speed, the smaller the value the slower the animation


I'm out this morning/partly this afternoon, will try and post later today.

Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT
arfur9
12
Years of Service
User Offline
Joined: 23rd Jan 2012
Location: Cold op norf UK
Posted: 4th Feb 2017 08:27
Which FX file are you using? the original one: diffuse_spriteatlas_6x6_15fps.fx?
The other topic used videotexture_atlas2
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 4th Feb 2017 08:31 Edited at: 4th Feb 2017 08:32
here you go.....

remember to also make new copies of the file for each unique atlas texture you use for your entities and I always use a separate .x file name in the FPE.
rename your atlas texture e.g. _I to _N. the file attached is for a 4 by 4 atlas texture and uses a speed of 15, but you can change it and save it as something more specific.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT

Attachments

Login to view attachments
arfur9
12
Years of Service
User Offline
Joined: 23rd Jan 2012
Location: Cold op norf UK
Posted: 4th Feb 2017 09:09
Got it! Thanks BOTR.. it was a line in the fpe "reducetexture = -1" or the material index, I'm not sure which as I changed both and it worked, this is in the Old TV - Saw Anim.fpe

Attachments

Login to view attachments
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 4th Feb 2017 09:21
great stuff, yes I haven't got round to doing the old TV one yet ha
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Feb 2017 09:39
Had tried many times Bond1's tv working in GG, Great work BOTR, thanks you.
I'll give a try tomorrow, now uploading a lot of assets to the store.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 4th Feb 2017 09:47
@3com-Do you have any modern security cameras in the store? I want to start a sci-fi or far cry type game and want some cameras etc in game.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Feb 2017 11:44
Nope.
Tazman upload xmax pack, and iirc Harry upload some camera in hand for free, anyway can found the link.
Meantime I pm you with old one I've at home.

far cry type would be nice.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-11-24 17:41:30
Your offset time is: 2024-11-24 17:41:30