Search

Search found 1173 matches

by trepan
15 Feb 2009, 23:57
Forum: Feature Requests
Topic: Minor 3 requests:remarking, ring-trigger, battleh pinginfo
Replies: 5
Views: 983

Re: Minor 3 requests:remarking, ring-trigger, battleh pinginfo

For #1 (in uikeys.txt):

Code: Select all

bind    M+`  drawlabel
bind  Any+`  drawinmap
by trepan
14 Feb 2009, 04:07
Forum: Off Topic Discussion
Topic: Post your Spring Playing area
Replies: 52
Views: 3606

Re: Post your Spring Playing area

aegis: coffee much?
(w.r.t. viewtopic.php?p=332434#p332434)
by trepan
13 Feb 2009, 20:57
Forum: Feature Requests
Topic: Permanent LOS support in lobby? (and in the engine?)
Replies: 41
Views: 2725

Re: Permanent LOS support in lobby? (and in the engine?)

Ah, sorry, your second post certainly helped clear up the question. Ya, using '...' to get input arguments also works, but I prefer the 'WantConfig' method because its purpose is more clearly defined. Note that you could also scan source code or byte code for that string pattern to determine in adva...
by trepan
13 Feb 2009, 20:29
Forum: Feature Requests
Topic: Permanent LOS support in lobby? (and in the engine?)
Replies: 41
Views: 2725

Re: Permanent LOS support in lobby? (and in the engine?)

lurker:
Ya, you're missing something. Reread my post, paying
special attention to why the 'if (WantConfig) ...' pattern
is better.
by trepan
13 Feb 2009, 20:28
Forum: Feature Requests
Topic: Permanent LOS support in lobby? (and in the engine?)
Replies: 41
Views: 2725

Re: Permanent LOS support in lobby? (and in the engine?)

The BZFlag project is all LGPL, all the time, so don't thank me :) You'll probably need to tweak it some to get it to work with Spring. As an example, the Spring lua rework (that I never committed), had each call-in tagged with a control loop type (ex: BASIC, FIRST_TRUE, FIRST_FALSE, SPECIAL, etc......
by trepan
13 Feb 2009, 20:09
Forum: General Discussion
Topic: Move Lua Scripts subforum
Replies: 15
Views: 1773

Re: Move Lua Scripts subforum

Seems as though you've forgotten the
third and fourth characters in the play.
by trepan
13 Feb 2009, 19:59
Forum: General Discussion
Topic: Move Lua Scripts subforum
Replies: 15
Views: 1773

Re: Move Lua Scripts subforum

1. cake is food
2. all cake is tasty

all food is tasty?
by trepan
13 Feb 2009, 19:51
Forum: Feature Requests
Topic: Permanent LOS support in lobby? (and in the engine?)
Replies: 41
Views: 2725

Re: Permanent LOS support in lobby? (and in the engine?)

Something to consider now that ModOptions and MapOptions are being more frequently (and with the advent of EngineOptions). The BZFlag version of widgets/gadgets uses the pattern that I'd started before bailing on Spring. It goes a little something like this: if (WantConfig) then return { name = 'Wid...
by trepan
13 Feb 2009, 03:44
Forum: Feature Requests
Topic: Permanent LOS support in lobby? (and in the engine?)
Replies: 41
Views: 2725

Re: Permanent LOS support in lobby? (and in the engine?)

Yall might also consider modifying the unitDef sensor radii
(something that globalLOS doesn't do, as far as I know).
by trepan
11 Feb 2009, 18:14
Forum: Feature Requests
Topic: SCREAM: default map options to every map
Replies: 27
Views: 1658

Re: SCREAM: default map options to every map

If a map-maker wants to set their own MapOptions.lua, and you don't agree with the provided options, you have two options: 1. play another map 2. edit the map file and redistribute (if the map maker's license allows you to do so). Note the caveat on #2 (and the irony :) The original use for MapOptio...
by trepan
11 Feb 2009, 17:44
Forum: General Discussion
Topic: Random map generator
Replies: 26
Views: 2277

Re: Random map generator

As I'd discussed with some springers (fairly sure quantum was one of them), one of the better ways to do randoms maps would be to setup a separate lua script with call-outs tailored to that particular task. I'd actually started down this path at one point (which was also combined with a new map form...
by trepan
11 Feb 2009, 17:31
Forum: Feature Requests
Topic: SCREAM: default map options to every map
Replies: 27
Views: 1658

Re: SCREAM: default map options to every map

A key point that hasn't yet been mentioned in this tread: if a default MapOptions.lua file is created that allows end users to configure map parameters, and a particular map- maker doesn't want that capability for their map ... the map-maker can add their own MapOptions.lua file that overrides that ...
by trepan
03 Feb 2009, 01:39
Forum: Engine
Topic: GSOC 2009?
Replies: 35
Views: 3289

Re: GSOC 2009?

easily, depending on your approach :)
by trepan
30 Jan 2009, 16:52
Forum: Engine
Topic: Free Camera
Replies: 24
Views: 2380

Re: Free Camera

My old SmoothScroll widget provided an example of how you can use FreeCamera + Lua to control the camera however you please. It looks like that widget is still in svn/git (camera_smooth.lua). P.S. The one caveat being that Spring does not support 'roll' (from yaw/pitch/roll), at least not while I wa...
by trepan
27 Jan 2009, 19:20
Forum: Feature Requests
Topic: load pics stretching to become ugly.
Replies: 33
Views: 1568

Re: load pics stretching to become ugly.

One plan that I'd discussed with tvo was to setup a lua script that would be used to display the loadscreen. It would have the gl/GL functionality, but limited access to the rest of the libraries. Some information that you might want: - mod name - map name and specs - player name list - player teams...
by trepan
26 Jan 2009, 05:53
Forum: Feature Requests
Topic: cursor relative scaling.
Replies: 33
Views: 1797

Re: cursor relative scaling.

Inkscape is a nice OSS SVG editor.
http://inkscape.org/
by trepan
26 Jan 2009, 02:40
Forum: Feature Requests
Topic: cursor relative scaling.
Replies: 33
Views: 1797

Re: cursor relative scaling.

Add SVG image support with a host of scaling options
(pixels, screen percentage, maxspect percentage, etc...)
The cursor feature should naturally fall out from that :)
by trepan
26 Jan 2009, 02:22
Forum: Feature Requests
Topic: cursor relative scaling.
Replies: 33
Views: 1797

Re: cursor relative scaling.

did you know that lua can easily swap cursors dynamically?
check the screen size, swap the cursors ...
by trepan
26 Jan 2009, 02:19
Forum: Feature Requests
Topic: cursor relative scaling.
Replies: 33
Views: 1797

Re: cursor relative scaling.

sounds like a good candidate for ... luafication?
by trepan
11 Jan 2009, 22:22
Forum: Art & Modelling
Topic: REQ: S3O normal-maps
Replies: 18
Views: 2859

Re: REQ: S3O normal-maps

It's already in Spring, you just need to write the lua and shaders (or copy it from the work that I'm doing for BZFlag). P.S. One thing that BZFlag does better than Spring (imo), is that they use X/Y for the ground plane. That might affect how some of the code would work. The other adjustment I made...

Go to advanced search

cron