Product Chat / Crowded Sky - Using Weapon HUD as Vehicle ...

Author
Message
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 25th Jan 2016 22:39
Thought I'd post this up in case it gives any inspiration to start playing around with new weapon gunspec and lua commands, or you have any suggestions about how to improve.

All of the entities are placeholders and I know the texturing needs to be redone, more animation etc, but I'm just using these assets to illustrate a weapon HUD (both main and alt) as a way of achieving third person and first person vehicles (switching views using 'v' key). Not perfect by a long way yet, but possibly shows there is some merit in pursuing it?

Anyway, see what you think.

Cheers.


Slaur3n
GameGuru TGC Backer
16
Years of Service
User Offline
Joined: 16th Sep 2008
Location: Norway
Posted: 25th Jan 2016 22:56
wow, very cool man!
Visit our FB site and like
https://www.facebook.com/crowhillstudiosofficial
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 25th Jan 2016 22:58
Excellent work .... Reminds me of Wings on the Amiga
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 25th Jan 2016 22:58
Wow that is awesome! I wish I had the slightest idea how to do that, but LUA baffles me and HUDS are just like on a different level of existence to me lol
perelect
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 25th Jan 2016 23:24
That's Pretty cool cybernescence.

I just thought of this while watching the video.
If you removed the image of the plane in the non zoomed mode of the hud (if that's how you have done it) and used that image as a sprite overlay instead.
When you press A or D you could simply rotate the sprite left and right at the same time to simulate the plane banking left and right.

Cheers

Desktop: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz, Windows 8.1 64-bit, 16 GB Ram, NVIDIA GeForce GTX 750 Ti, Display Memory: 4018 MB. Resolution 1360x768, Passmark 3528.
Laptop: Pavilion dv6 Notebook, Intel(R) Core(TM) i5-2410M CPU @ 2.30 GHz, Win 7 64 bit, 16 GB Ram, Radeon (TM) HD 6490M, 2336 MB Memory. Resolution 1366x768, Intel(R) HD Graphics 3000. (WEI 5.8)
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 25th Jan 2016 23:50
Truly awesome
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 26th Jan 2016 00:01
wow, that is awesome..... really cool
great job

harry
Harry
PM
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 26th Jan 2016 00:17
Way cool! Great job!
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 10/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 10/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 26th Jan 2016 07:13
Excellent work, very impressive.

SC
i7-4770s 3.10ghz - Geforce GTX 650ti
Isagabe
10
Years of Service
User Offline
Joined: 12th Sep 2014
Location:
Posted: 26th Jan 2016 07:21
Speechless.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 26th Jan 2016 12:34
Well done! cybernescence.

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
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 26th Jan 2016 12:37
Thanks guys

Has a long way to go to be practically useful methinks, but just experimenting.

@perelect
Quote: "I just thought of this while watching the video.
If you removed the image of the plane in the non zoomed mode of the hud (if that's how you have done it) and used that image as a sprite overlay instead.
When you press A or D you could simply rotate the sprite left and right at the same time to simulate the plane banking left and right."


There are no images being used, the model you see on approach and take-off is the same one that is also copied and used in the weapon HUD.x and the mouselook is controlling flight direction. The views are created by attaching the 'weapon' with lua to the player, thereafter the normal view is the main weapon view and the 'alt' (pressing the weapon 'v' key) moves the HUD forward.

I can see that the video looks like it is an image/sprite and it would actually be easier to do it this way for that effect.

What would be nice would be if the TransportToIfUsed command (or an equivalent) would place the player/cam at the same attitude as the target entity at the end of the transport (or a command that moves the player/cam to an x,y,x position at an angelx, angely,anglez). TransportToIfUsed used to orientate the player to the y angle a few versions ago, but has since stopped doing this - which makes it a bit odd for even simple portal type transports as the new player position y outlook is the same as when the start transport occurs (so could be facing a wall or whatever once transported). Anyway with an upgraded command, realistic banking, climbing, diving etc could be coded in and this HUD approach for a flying vehicle could be a viable option. Also mouse clicks are available outwith the ActivateMouse lua context, but mouse movement isn't - so to really use the mouse to control flying would need to get access to that data too.

All of this type of thing is why I'm wholeheartedly with the idea of being able to get more of the engine exposed via lua, because we could build this stuff for ourselves and share etc.

Cheers.

DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 27th Jan 2016 15:57
Great work I enjoyed the video. One thing that might be nice is to have the joystick move with the mouse control. I did a lot of work on aircraft for flight sim 98 and up. I used FSDS. Again great work.

Dennis_W
Ham and Eggs Breakfast

The Chicken was involved the Pig was Committed

AGK Community Tester
yrkoon
20
Years of Service
User Offline
Joined: 14th Jan 2004
Location:
Posted: 27th Jan 2016 18:52
Great achievement, cybernescence.
Just one suggestion: the propeller is looking very unrealistic now, for, sometimes, it seems to be rotating at 10 rpm only which clearly is not enough. If you would apply a semi-transparent texture to the propeller, I guess that would compensate for this effect, because that is the way the human eye perceives a propeller at full speed.
Just my 2 cents
Lives of great men all remind us we may make our lives sublime
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 27th Jan 2016 19:27
just saw this, very well done Cybernescence great job!!
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; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
teamhalo
3D Media Maker
19
Years of Service
User Offline
Joined: 6th Nov 2005
Playing: Gears of War 4
Posted: 27th Jan 2016 23:07
This is one of the most impressive things I have seen someone do with Game Guru, wow, seriously have a beer

Great work.
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 3rd Feb 2016 18:09
Awesome stuff, and I've not even added camera commands to LUA yet Amazing!
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

Login to post a reply

Server time is: 2024-11-25 05:53:18
Your offset time is: 2024-11-25 05:53:18