Feature Creep / Access Player Values with LUA

Author
Message
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 19th May 2014 06:50 Edited at: 19th May 2014 06:58
just been thinking for the survival type of game i want to build i want to be able to change the players characteristics via LUA scripting, and afterall Lee does keep saying that the less thats hardcoded the better, anyway some of the things i want to be able to read and change



Player Max health

Player Max Speed (walk and run)

Player Jump height

Player Stamina (uses when running when low walk, run and jump speed/heaight affected)

Player Max Weapons (Inventory system would be better however)



also the ability to add player conditions such as:



Player Hunger (increases over time but reduces when food consumed)

Player Thirst (increases over time but reduces when drink consumed)

Player Blood (Player can bleed to death unless they bandage the wound)



These are just a few ideas but hopefully if we get full LUA access to character health and such we could program whatever we want to affect the player.



p.s official response just to say this has at least been read would be greatly appreciated

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
BarZaTTacKS
10
Years of Service
User Offline
Joined: 3rd Feb 2014
Location:
Posted: 19th May 2014 14:00
I like those player conditions. This is the type of game I was originally going with but I noticed the lack of survival elements in the game so I have changed directions.
PM
tomjscott
User Banned
Posted: 19th May 2014 18:07
I think those are great ideas. I'd be happy with just Player Max Health access at the moment since there isn't any way to limit health replenishing. Players can get unlimited health at the moment.

System Specs: OS - Windows 7 Home Premium 64-bit SP1, CPU - AMD Phenom II X4 945, 3.0Ghz, RAM - 8Gb DDR3, GFX Card - 2048MB NVIDIA GeForce GT 640, FPSC-R Version - Beta 1.006
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 20th May 2014 21:34
Official Response .



I've read it.



SC

i7-4770s 3.10ghz - Geforce GTX 650ti
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 24th May 2014 07:35
Just whilest building a script I think it would be great if we could affect player current health without the need for a health entity so like:



PlayerHealth = PlayerHealth - 100

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

Login to post a reply

Server time is: 2024-11-23 09:44:14
Your offset time is: 2024-11-23 09:44:14