3rd Party Models/Media Chat / Freelancer comes to GG

Author
Message
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 23rd Aug 2019 12:52 Edited at: 23rd Aug 2019 19:49
lol Liberty elite fighter in GG



bring back any memories?

Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on

Attachments

Login to view attachments
Gtox
3D Media Maker
9
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 24th Aug 2019 05:58
Yes, I love freelancer. I still play it every few years.
i3 8350k 3GB GTX1060 8GB RAM Windows 10
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 24th Aug 2019 23:01 Edited at: 24th Aug 2019 23:01
yeah m8 wicked game just been running through the original missions still a good game. Playing around with redoing the models as you can see did the liberty light fighter but messed it up lol oh well back to the modelling editor
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 5th Oct 2019 18:18
Freelancer X
Liberty space with battleship encounters and Newark Station, 5 planets 7 stations and a warp gate now in the system, just have to make up some asteroid fields and finish of the station interiors and the planet surfaces then onto the effects etc. Oh thanks to AM for the aircraft script just need to get some kind of weapons fire now

Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 5th Oct 2019 19:39
Use particles!

I used decals in my Asteroids thingy but now we have enough control over particles to make them a better option.
Been there, done that, got all the T-Shirts!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 5th Oct 2019 20:40
Like this:

Been there, done that, got all the T-Shirts!
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 5th Oct 2019 20:58
Yeah m8 saw you had been doing something in another post the mouse movement one so is there a way to have say a particle fire from like either side of the ship and just hit the sight at the centre of the screen where the crosshair is and instead of like in that other post did e.g 10 damage (adjustable per craft) instead of killing them. This I would presume I would need to add to the spacecraft script (your edited aircraft script)?
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 5th Oct 2019 21:29 Edited at: 5th Oct 2019 21:31


Check out the script to see how it works, to change where the particles are emitted from change the values for each barrel.
To change the velocity of the particles change the 'velocity' variable.
Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 5th Oct 2019 21:55
OK will do thanks m8
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 5th Oct 2019 22:00
You would need to add code to cast a ray in the direction of fire to detect 'hits' on entities and process the hits appropriately.
Been there, done that, got all the T-Shirts!
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 5th Oct 2019 23:20
Erm ...lol confused.com spent all afternoon creating freelancer models, building interior stations/planet levels assembling them all and now have to comprehend your level of lua coding. rofl raycasting? OMG right let me stick my head in the freezer for a bit jk m8 gonna check out your script see if I can make any sense of it. But I'm no scripter really I just adapt them I'm ok with inventories but I'll have a go
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 6th Oct 2019 13:05
It is a relatively simple script.

When mouse pressed calculate a vector in the direction the player is looking, calculate the start position for the particles (i.e. the 'barrel' position) and generate a particle at that point with the vector as the 'speed' parameters.

Ray casting is reasonably easy to understand, the IntersectAll command is used with the start and end of the ray, it returns the object Id of the first object that the ray intersects or 0 if nothing is in the way.

The start position of the ray is the barrel position (i.e. the position we specified for the particle spawn) and to calculate the end position just do:


If hitObj is not 0 (or nil, best to test for nil just in case) then you can call the commands to get the hit location.
Been there, done that, got all the T-Shirts!
PM
osiem80
5
Years of Service
User Offline
Joined: 24th Jan 2019
Location: Poland
Posted: 6th Oct 2019 14:18
Could be "Chicken invaders" 3D?
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 7th Oct 2019 12:02
@ osiem80 yeah that script on its own would adapt nicely to some kind of galaxian style game Ok pulled the head out of the freezer, script works well until the ship starts to turn at y angles I suppose its because its on another entity not the ship itself so I'm currently trying to add it to the ship script see if I can get it to run form there. You can see in the vid how it starts to wander off.

Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 7th Oct 2019 20:21
It's because the script is using the player position and angle!

You need to incorporate the script into the spacecraft script and change it to use the position and angles of the spacecraft.
Been there, done that, got all the T-Shirts!
PM
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 7th Oct 2019 22:22
@Honkeyboy , nice to see the mad professors still at it

Dave
Windows 10 Pro 64 bit
GeForce RTX™ 2070 GAMING OC 8G
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
3840 x 2160 ,60 Hz
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 7th Oct 2019 22:23 Edited at: 8th Oct 2019 19:47
Have done that m8 still wandering off looks nice when it lines up though also added a new sound which worked quite well.(unless I have done something weird in the script which wouldn't surprise me lol.
Thanks Dave just using the freelancer models as a stand in its actually a rebuild of Galaxy

Two new models the "Galaxy Alpha Fighter" and the "Galaxy Alpha Hauler"

Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on

Attachments

Login to view attachments
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 10th Oct 2019 23:35
Adding my particle shooter script to my airplane script:

Been there, done that, got all the T-Shirts!
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 13th Oct 2019 20:40 Edited at: 13th Oct 2019 20:43
Yeah that looks pretty sweet do the hits cause damage?
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Oct 2019 21:37
They do now:
Been there, done that, got all the T-Shirts!
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Oct 2019 23:43
That is awesome. Great job.
RIP
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.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 14th Oct 2019 19:09
rofl brilliant
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on

Login to post a reply

Server time is: 2024-03-29 14:55:56
Your offset time is: 2024-03-29 14:55:56