Scripts / Lost my Mojo ....

Author
Message
AmenMoses
GameGuru Master
3
Years of Service
Recently Online
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 9th Aug 2019 20:25
So, as I may have mentioned, I went down to my caravan in sunny Weymouth (only three thunder storms in 2 weeks!) with the intention of attacking vehicles in GG from anew.

Basic plan was to figure out how to have vehicles that behave realistically when driving over terrain, obstacles and also to handle jumps.

Secondary objective was to have vehicles skid/slide and possibly roll/crash when pushed too far.

Problem is that although on paper I worked out all the algorithms I would need and figured out the basic math, when it came to actual scripting I found that I had 'lost my mojo'.

I just couldn't work up the enthusiasm.

Been there, done that, got all the T-Shirts!
PM
synchromesh
Forum Support
5
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 9th Aug 2019 22:04
Oh that's not good
Happens to us all though you can just burn yourself out and need time to reinvigorate the enthuasiasm
But I hope the holiday side of things were good despite the storms.

The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
AmenMoses
GameGuru Master
3
Years of Service
Recently Online
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 9th Aug 2019 22:18
Holiday wise it was fine, feel much relaxed and rejuvenated, just lost any enthusiasm for GG scripting for some reason.

Been there, done that, got all the T-Shirts!
PM
3com
5
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 9th Aug 2019 23:04
I think we need some lib to attach some object to another object and/or entity, so I just should type something like: attachTo(e,the other object, and more params here as needed).
Of course that attached mesh (child) follow the other mesh (parent) wherever he go, even jumping if an entity.

I need to attach some dynamic light to a bulb that moves like a pendulum, as aplication example, even the bullet shots on a mobile target.
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
cybernescence
GameGuru Master
6
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 10th Aug 2019 00:06
It's happened to me a few times, I switched to learning about shaders and coded that aspect instead for a change.

Perhaps you just need a break or perhaps you've no real challenges left in lua for GG ?

Cheers.
synchromesh
Forum Support
5
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 10th Aug 2019 00:15
Never did get my Mojo back for House Decorating though ..
No big loss there I can tell ya
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
GubbyBlips
User Offline
Joined: 14th Jan 2019
Location:
Posted: 10th Aug 2019 03:06
Erks! Well, that's nothing- J/K! Yeah, just take on all of the laws of Newtonian
physics in one script-- no biggy! All I have is the jumping part, (sortof) and none
of that other fancy stuff. Also I "red- neck" my scripts together, not in the eloquent
style that AM does his.

So, 3com... " even the bullet shots on a mobile target." You want to make like
tracers or something? Sounds cool. I wonder what is the speed of bullets in general?
But come to think of it, lights themselves don't glow visually, they cast light to a
surrounding surface. So maybe follow the bullet with a glowing cylinder and dynamic
light. BTW I wanted to do this also, (not bullets-- just random stuff) but never got
around to actually following through with it, and mostly because of the missing "glow"
factor. Time.... can we buy some?!

BTW can't you just do lightx[e] = bx[e]?
PM
smallg
Community Leader
13
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Aug 2019 17:19 Edited at: 10th Aug 2019 17:21
yh we all get it, normally happens to me when i know i can already do something before i start and i just can't find the energy to do it for little to no reward for the time it would take... unless i'm learning something during the process it normally doesn't get done unless it's super quick task... for you i imagine this is quite a rare ask as you have already done so much (pretty much everything) as far as coding is concerned so unless it's a fun task you likely won't have any interest in doing it.
taking a look into shaders is a good call, i had fun learning dissolve and splat (i.e. snow) shaders (though not in GG), there's plenty of tutorials online to get the idea and it's really not that different to scripting once you get used to the language of choice (it is still essentially coding after all), could be a nice "break" while keeping in the same sort of area that you already enjoy

TLR perhaps making some shaders for snow / mud tracks on the terrain will naturally make you more interested in coding some vehicle logic again
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Pink Panther
9
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 10th Aug 2019 21:13
Oh no AmenMoses! We need your brilliant scripts. And people like me who are still trying to learn scripting need your great explanations of scripts. Those vehicle scripts sound great. I hope your mojo comes back x 10 !
PM
3com
5
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 10th Aug 2019 21:46
The AM's muse has taken a vacation.
They always come back when you least expect it.

In my particular case, it is a bit different given the fact that if it happens to me when I am working in a pack for the store, I force myself to continue and quickly reunite to the muse that was on vacation. LOL
The case of AM is different and does not imply any obligation.
Anyway we are giving targets to him, who lknows?
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
Honkeyboy
3D Media Maker
3
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 12th Aug 2019 23:21 Edited at: 12th Aug 2019 23:22
Lost your mojo OMG!!!!! Right stop scripting and drink abusive amounts of alcohol till you cant see anything, go clubbing, get arrested. You'll soon wanna get back to your P.C
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
3
Years of Service
Recently Online
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Aug 2019 20:00
Go clubbing! Doubt they'd even let me in!

Been there, done that, got all the T-Shirts!
PM
Honkeyboy
3D Media Maker
3
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 14th Aug 2019 00:07
rofl me neither tbh I'd only end up being faced with what you doing here dad give us some cash! lol
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
Wolf
Forum Support
11
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 15th Aug 2019 01:49
Ah, it happens. I regularly take weeks off my hobbies and come back to them with fresh enthusiasm
I bet that once winter comes you'll be way more motivated to work on the computer again.

Login to post a reply

Server time is: 2019-08-17 15:59:29
Your offset time is: 2019-08-17 15:59:29