Product Chat / Ye Olde Farming!

Author
Message
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 10th Mar 2014 11:23 Edited at: 10th Mar 2014 12:20
Hi all. Here is a little example of what I have been playing about with of late. I was inspired by AUShadows Xp scripts and decided to look into them. I have improved them and added some extra stuff in to meet with the farming scenario.



The scripts are still rough and would really need more work for a full game, at least if they were used heavily, but as a wip it seems good enough to at least show. I definitely have to spend a little more time with Lua than I have so far. I keep waiting for a stable release first though, it does not encourage one to go too mad when you pretty much know your work could be lost quite easily. Still, it's all good practise I suppose!







If there is interest I will do another video on how the scripts were altered and also release the scripts for people to see. I worked form AUShadows scripts to start with and just rewrote them a little to make them less set in stone and more automatic. Take a look at those to get an idea.



Edit in fact here is the Xp script for you to peruse anyway.



Obviously there are some globals to be added to the main global file and other scripts also, but I will include those when I go into detail.

AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 10th Mar 2014 12:37
Glad to see my scripts could inspire further scripting, I'll be looking out for your work in the future, once we get some more commands I'll be making some more basic scripts

PC Specs: Windows 7 home 64-bit, Amd 7900 3gb DDR5 graphics, 8gb DDR3 Ram, Intel i7 3.4ghz

Feel free to visit and edit the public FPSCR resource wiki page: http://fpscrresource.wikispaces.com/home
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 10th Mar 2014 12:52
Thanks AuShadow. I apologise for calling your scripts basic, but I'm sure you won't argue the fact The Leveling and XP gain are now automatic and you can specify a level limit in the global file Indeed these scripts I have made from yours are themselves basic, but do the job.



I'll be hopefully improving these to be more general purpose than they currently are. If I was using DB or AGK, I would have already done so, but am still green when it comes to Lua and FPSC still. As you say we need more info and commands from the engine to do much more than has been done to date.



Thanks for watching!

AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 10th Mar 2014 13:56
Lol believe me I intended them to be very basic, they are aside from the mandatory hello world my first ever scripts. I am extremely new to any scripting and I am also keeping these very basic so that others who are just starting out have some scripts that are very easy to read and see how they work

PC Specs: Windows 7 home 64-bit, Amd 7900 3gb DDR5 graphics, 8gb DDR3 Ram, Intel i7 3.4ghz

Feel free to visit and edit the public FPSCR resource wiki page: http://fpscrresource.wikispaces.com/home
BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 11th Mar 2014 01:47
Fantastic work I could really see this type of script

being used for many applications

Bring It On

DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 11th Mar 2014 09:15
Thanks BioDragonLord, that was the idea The selling and storage scripts could be improved, but at the moment, I can't see an easy way to choose what you sell etc, so they simply have to deal in the 1 item presently. You could probably cycle through each plant type using the e key to select which crop to sell, but that sounds a little strange and awkward. It would help if you could display more than one line of text at a time Probably best to wait for more options on this front. I'm not sure we will get any in the next beta though, as performance is the main focus again at the moment.

HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 11th Mar 2014 12:14
Quote: "If there is interest I will do another video on how the scripts were altered "




Great work.. i am absolutly interrested.



Gr

Harry
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 13th Mar 2014 13:02 Edited at: 13th Mar 2014 15:13
Thanks Harry, I'll hopefully be making the explanation vid later today or tomorrow. Glad you liked it!



Edit - New video up.



http://fpscrforum.thegamecreators.com/?m=forum_view&t=208097&b=2

LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 13th Mar 2014 19:28
When Rick told me about this, I was shocked! I've only put a handful of script commands in just to test the new LUA engine and the next thing I know, we have a whole farming game with experience points and cash from it. Wow! makes we want to set performance aside and provide even more script commands, just to see what would happen Fear not, I will stay at my post and in good time you shall have your fifty powerful script commands! Once again, AWESOME STUFF!!

PC SPECS: Windows 7 Ultimate 64-bit, Intel Core i7 920, NVIDIA Geforce 650GTX Ti Boost 2GB GPU, 6GB RAM

DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 15th Mar 2014 09:42
Thanks Lee. Feel free to mention it, if you are after any user made examples for GDC. I must admit I was missing a way to create or show an entity with this as it would be nice to be able to plant seeds also, not to mention show what you have stored and sold visibly, rather than just text and see the plants grow to maturity of course! I could have done that with a plant designed to grow from small to big of course, but I'd prefer to keep the script simple, rather than locked into a specific object for now. If scaling options become possible in scripting I could then add in growth logic later for any object

AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 15th Mar 2014 23:10
Oh and i only just heard you say it in the video, yes i am Australian and either way it was meant to be be Aus_Shadow but i stuffed it up a few years back and have been running AuShadow ever since, well in most games its AuShadowHunter

PC Specs: Windows 7 home 64-bit, Amd 7900 3gb DDR5 graphics, 8gb DDR3 Ram, Intel i7 3.4ghz

Feel free to visit and edit the public FPSCR resource wiki page: http://fpscrresource.wikispaces.com/home
science boy
16
Years of Service
User Offline
Joined: 3rd Oct 2008
Location: Up the creek
Posted: 15th Mar 2014 23:39
@aUshadow either way your a top dude for sorting out the basic scripts.



I think you rock for sorting out rpg elements.



Also a class system would be awesome too

an unquenchable thirst for knowledge of game creation!!!
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 17th Mar 2014 18:39
Yeah I'll work on class systems once we get a bit more controlled with scripts. It is in the plan though

PC Specs: Windows 7 home 64-bit, Amd 7900 3gb DDR5 graphics, 8gb DDR3 Ram, Intel i7 3.4ghz

Feel free to visit and edit the public FPSCR resource wiki page: http://fpscrresource.wikispaces.com/home
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 25th Mar 2014 02:21
@DVader : Keep pestering me for a hide/show entity command in the LUA command table and I might just give in

PC SPECS: Windows 7 Ultimate 64-bit, Intel Core i7 920, NVIDIA Geforce 9600 GT GPU, 6GB RAM

DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 25th Mar 2014 15:18
Creating a new entity would be useful also, but show/hide would cover most things well enough. I am also looking forward to making things go boom

Login to post a reply

Server time is: 2024-11-24 02:40:32
Your offset time is: 2024-11-24 02:40:32