Product Chat / Improved Isometric Rifle fire

Author
Message
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 6th Jun 2017 00:10 Edited at: 6th Jun 2017 14:10
Ok after not being happy with a rifle that needs to have the crosshairs on the enemy in isometric mode I did a little playing with the RPG ammo and the rifle ..... the result was .... A rifle that fires projectiles ( speed set very fast so there not easily seen) and the ability to shoot and kill at any viewable distance.
Much more realistic I thought

The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 6th Jun 2017 01:34
I don't know how you do it, but, it's very, very cool.
Desktop: i7 4770@3.4Ghz (passmark 9809), 12GB RAM, Win 10/64, GeForce GTX 1080 (passmark 12006), 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
Blacknyt46
8
Years of Service
User Offline
Joined: 29th Feb 2016
Location:
Posted: 6th Jun 2017 06:17
AWESOME! That looks perfect.
Jim C
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 6th Jun 2017 07:30
Very cool.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 6th Jun 2017 07:32
awesome, great job Synchromesh
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.
FPSC to GameGuru Tools: AutoWelder/SegAutoWelder, Entity+Weapon Welder, FPEtoBAT
Wolf
Forum Support
17
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 6th Jun 2017 12:50
Looks killer! Very good job.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 6th Jun 2017 13:02
Works a treat by the looks! Nice one.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 6th Jun 2017 14:24
Great synchromesh, well done!

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
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Stab in the Dark software
GameGuru TGC Backer
21
Years of Service
User Offline
Joined: 12th Dec 2002
Location: Upstate New York USA
Posted: 6th Jun 2017 19:46
Amazing scripting!
The coffee is lovely dark and deep,and I have code to write before I sleep.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 6th Jun 2017 20:05
Quote: "Amazing scripting!"

LOL... Cant script to save my life .... Its all out of the box with a few modifications ..
Thanks for the thought though
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
seppgirty
Game Guru Backer
15
Years of Service
User Offline
Joined: 3rd Jul 2009
Location: pittsburgh, pa.
Posted: 6th Jun 2017 22:57
very cool!
Windows 7 Home Premium Service Pack 1.Intel core i5-2300cpu @2.80 GHz 2.80 GHz
RAM 16 gb G-Skill G.SKILL Ripjaws Series 16GB (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1066 (PC3 8500) Desktop Memory






Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 7th Jun 2017 05:43
Good stuff - nice to do that without scripting.
i5 2500k 3GB GTX1060 8GB RAM Windows 10
Peke
9
Years of Service
User Offline
Joined: 14th May 2015
Location: Netherlands
Posted: 9th Jun 2017 12:57
I come back from the dead, and see this.. Nice work Syncromesh!

is it going to be a thing for us too, or are you going to keep it for yourself? (Won't blame 'ye if you did)
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 9th Jun 2017 18:10
Quote: "is it going to be a thing for us too, or are you going to keep it for yourself? (Won't blame 'ye if you did)"

Its no secret and I will be happy to share but at the moment there is a small sacrifice which I was discussing with Lee first ..
Stay tuned and I will post how I did it .... Its pretty easy but like I said has one downside ..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 10th Jun 2017 15:10 Edited at: 10th Jun 2017 15:11
Ok here is the way it works but please backup any of the folders I point you to.

1... Go to Gamecore \ guns \ modern\ shotgun ...Open the Gunspec text and add the projectile line under poolammo as shown below.
poolammo = shotgun
projectile = rpggrenade

The shotgun will now fire rpgammo ... So far simple

Now the next problem I had to work out was that its "not" the projectile that kills the characters on contact .... its the actual explosion.
To get around this I replaced the \ effectbank \ explosion \ explosion2.dds with a blank texture I have attached below

This is the downside due to hard coding ... You will lose your explosion effect unless anyone can find a workaround..
Finally ... Go to \ Gamecore \ Projectiletypes and edit the rpggrenade.txt

I set the projectile speeds to
; minimum speed in units/second of projectile when fired
speedMin = 9000
; maximum speed in units/second of projectile when fired
speedMax = 9000

and the radius of the blast to

; radius of damage effect if explosive
damageRadius = 20

After that all should work as in the video but like I said for the moment you wont have an explosion effect unless anyone can work around this..
Its all actually very easy and should only take you 5 mins to try out ... If anyone can improve it please post
The only person ever to get all his work done by "Friday" was Robinson Crusoe..

Attachments

Login to view attachments
PM
devlin
10
Years of Service
User Offline
Joined: 12th Feb 2014
Location:
Posted: 12th Jun 2017 22:10
Thank you for the info great work.
PM
Duchenkuke
GameGuru VBOTB Developer
8
Years of Service
User Offline
Joined: 7th Jun 2016
Location: Germany
Posted: 13th Jun 2017 12:43
I was looking for something like this for quite some time. THANKS !!! You're awesome!
Modder, Soundtrack Composer and now Game Developer. Well, sort of.

Windows 10 64bit - Intel Core i7-2600 CPU @ 3.40GHz, 8,0 GB Ram, Geforce GTX 1050ti

Youtube:
(Music Channel) The German Music Dude: https://www.youtube.com/user/DeutscherVolker
(Games and Mods Channel ) DK Productions: https://www.youtube.com/channel/UCIqwvScXnJL_zNYqSsfTCqA



Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Jun 2017 21:15
Excellent. Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Peri
Game Guru Backer
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location:
Posted: 14th Jun 2017 10:43 Edited at: 28th Jun 2017 21:00
Thanks I hope we will get a full support for the top down shooters, BTW I notice when I tested it ,the bullet go high and if I am standing very close to the enemies its miss them, so I made some changes

1.accuracyY = 0
2.; effect of gravity of projectile
gravityModifier = 1

its still going up sometimes and miss from close range

any ideas?

Login to post a reply

Server time is: 2024-11-24 11:31:54
Your offset time is: 2024-11-24 11:31:54