Remove FPS mode, open direct control interface to lua

Remove FPS mode, open direct control interface to lua

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Remove FPS mode, open direct control interface to lua

Post by REVENGE »

Let's face it, FPS mode is pretty gimmicky.

The ability to micro a single unit in a very precise manner, however, is not and could be exploited to create interesting (maybe novel) game mechanics in an RTS.

I propose removing the guts of hard-coded FPS mode in favor of allowing it to be implemented mod-side using lua. I mainly take issue with the FPS camera view that is used. Direct control is substantively useful when you couple it with a top-down RTS style or 3rd person style camera.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Remove FPS mode, open direct control interface to lua

Post by smoth »

I used to love FPS view. Then they made it no longer work properly. IIRC there should be a tag that disables it on a per unit basis. Unless that was removed... either way. I am all in favor of luafication of it. IMO it has no place in the engine, are you volunteering to do the lua gadget?
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Remove FPS mode, open direct control interface to lua

Post by REVENGE »

smoth wrote:I used to love FPS view. Then they made it no longer work properly. IIRC there should be a tag that disables it on a per unit basis. Unless that was removed... either way. I am all in favor of luafication of it. IMO it has no place in the engine, are you volunteering to do the lua gadget?
I've had a short discussion with BrainDamage about writing a gadget. I need to review the engine code for FPS mode again as I'm not certain exactly what parts can be replicated with lua as-is and what might require new lua functions.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Remove FPS mode, open direct control interface to lua

Post by Anarchid »

It might be possible to implement this as a gadget, now that gadgets can easily and transparently inflict their will upon the unit's animation state.

The only part which Lua could need would be to issue strict move orders i think, but setting unit movegoal could account for that. Kernel Panic's hero units work somehow.

Your biggest downfall will be latency. Either engine FPS, or gadgetized solution will both suffer from massive lag, and would be best used in single player.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Remove FPS mode, open direct control interface to lua

Post by REVENGE »

Anarchid wrote:Your biggest downfall will be latency. Either engine FPS, or gadgetized solution will both suffer from massive lag, and would be best used in single player.
It's too laggy for "FPS" mode, but fpsview is shit to begin with, it is not useful. As is, directcontrol is plenty useful when used with a different camera mode.
User avatar
NeonStorm
Posts: 173
Joined: 23 May 2012, 18:36

Re: Remove FPS mode, open direct control interface to lua

Post by NeonStorm »

Projectile range exploits are easy to stop.
* max range by a projectile's time to life
* by gravity and projectile speed
* burnblow

Micro exploits would be easy to stop too:
* The better you micro 1 unit, the less time you have for your other units.

But: How easy is it for newbes? Is it fun to play a game with this features?

my !vote (depends on hotkeys and gui)
And on lag-free games (no 16v16 games with fighter spam)
Last edited by NeonStorm on 20 Dec 2013, 22:21, edited 1 time in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Remove FPS mode, open direct control interface to lua

Post by smoth »

stop, please.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Remove FPS mode, open direct control interface to lua

Post by Forboding Angel »

NeonStorm wrote:Projectile range exploits are easy to stop.
* max range by a projectile's time to life
* by gravity and projectile speed
* burnblow

Micro exploits would be easy to stop too:
* The better you micro 1 unit, the less time you have for your other units.

But: How easy is it for newbes? Is it fun to play a game with this features?

!vote (depends on hotkeys and gui)
And on lag-free games (no 16v16 games with fighter spam)
Please, just Stahp :-/
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Remove FPS mode, open direct control interface to lua

Post by Pxtl »

Remember Argh's frustration at trying to get a unit to simply *follow a straight line* without movectrl? He wanted cars driving around in his little PURE cities but they'd always waggle because of the pathfinder's little idiosyncracies.

The direct unit control provided by the FPS interface, if gadgetized, might've solved that one.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Remove FPS mode, open direct control interface to lua

Post by Silentwings »

To be honest I think putting this into lua would be alot of work for a feature that not very many people care about.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Remove FPS mode, open direct control interface to lua

Post by Anarchid »

How many is a lot?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Remove FPS mode, open direct control interface to lua

Post by Forboding Angel »

Silentwings wrote:To be honest I think putting this into lua would be alot of work for a feature that not very many people care about.

Image
Post Reply

Return to “Feature Requests”