Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Lua (https://forums.fortress-forever.com/forumdisplay.php?f=44)
-   -   (Request) Flagrun LUA (https://forums.fortress-forever.com/showthread.php?t=21233)

cjeshjoir™ 12-15-2009 10:19 PM

Flagrun LUA
 
People keep mentioning a complete LUA for Flagrun but I haven't been able to locate it. If anyone has a copy, or some information, or is willing to make a LUA for Flagrun, the community and I would be eternally grateful. 8)

Pon 12-16-2009 09:11 AM

Not sure if it's complete, but the one mentioned is likely the one in this topic:

http://forums.fortress-forever.com/s...hlight=flagrun

cjeshjoir™ 12-16-2009 09:30 AM

Quote:

Originally Posted by Pon (Post 460082)
Not sure if it's complete, but the one mentioned is likely the one in this topic:

http://forums.fortress-forever.com/s...hlight=flagrun

Dude....

Now I'm embarrassed.

Pon 12-16-2009 10:12 AM

:D sorry.

You need any help with it, gimme a shout. Dunno how familiar you are with the Lua side of things, but if you need it, the offer's there :)

Ricey 12-16-2009 10:13 AM

Quote:

Originally Posted by cjeshjoir™ (Post 460083)
Dude....

Now I'm embarrassed.


I said and it and so did carly that someone had it made lol

cjeshjoir™ 12-16-2009 11:02 AM

Quote:

Originally Posted by Ricey (Post 460085)
I said and it and so did carly that someone had it made lol

I know, I know... but I never thought to search...

GenghisTron 12-16-2009 01:06 PM

what a nignog

cjeshjoir™ 12-17-2009 12:38 AM

I'm definitely gonna need some help with this one. The LUA you (Pon) found does provide basic functionality, but has a few bugs and doesn't provide a HUD. Right off the bat I've found:
  • Flags are droppable.
  • All dropped flags return to the middle points, instead of their rightful owners.
  • Dropping a flag and picking up another causes owner issues.
  • Timers for the flag return time overlap each other.
  • Sounds for the announcer aren't precached.

Other than that, it works.

Pon 12-17-2009 01:37 AM

Hmm, quick glance at the Lua, but it should pick up on baseflag's dropitemcmd function and disallow the event :/ Odd that it doesn't, but I'm not near an FF install so can't check it out at thoroughly as I'd like. I'll fix it up (and the rest of the list) once I am though.

How do you want the HUD to operate, exactly?

cjeshjoir™ 12-17-2009 02:09 AM

Quote:

Originally Posted by Pon (Post 460154)
How do you want the HUD to operate, exactly?

Whichever is easier to do:
  • 4 indicators that show ownership or lack thereof in the center (blue/red/contested/carried)
  • 4 on each side (8 total) under the scores showing ownership (on/off only)
  • List view on side of screen showing carrier and ownership
The respawn timer doesn't need to be displayed.

Pon 12-17-2009 02:32 AM

Likely the first, then. Though I do like the idea of the list one personally... It may take up too much room though.

Pon 12-17-2009 10:15 AM

Ok, since I wasn't sure I didn't ask this before (been a few years since I last played flagrun)... But I checked just now and it is the case...

TFC sends all returned flags to the center, just as the Lua does currently. Do you still want that changed to returning to the last owner?



Edit so it's not a triple post:

http://www.dcpaterson.ukfsn.org/misc...agrun_test.rar

Thats what I have so far. Haven't had the time to complete it, but it should be playable in roughly the same manner as TFC's flagrun. The main thing thats not in yet is the HUD, which I'll continue on when I get the chance.

cjeshjoir™ 12-17-2009 11:04 PM

Quote:

Originally Posted by Pon (Post 460172)
TFC sends all returned flags to the center, just as the Lua does currently. Do you still want that changed to returning to the last owner?

If TFC does it this way, then lets continue that arrangement.

I really appreciate your help! Thank you! <3

Pon 12-18-2009 03:29 AM

No problem. Gonna get started on the HUD now I guess.

Had chance to give what I've done so far a look over? No doubt I'll have fucked something up ;)

cjeshjoir™ 12-18-2009 03:34 AM

Quote:

Originally Posted by Pon (Post 460193)
No problem. Gonna get started on the HUD now I guess.

Had chance to give what I've done so far a look over? No doubt I'll have fucked something up ;)

All seems fine; tested what I could by myself. Sounds are precached and play, flags still work and are no longer droppable.

Only two things I could find:
  • round_start() text doesn't get broadcast
  • flag return timer still displayed

Pon 12-18-2009 03:45 AM

Alright, I'll check those out, thanks.

Pon 12-18-2009 09:12 AM

Same link: http://www.dcpaterson.ukfsn.org/misc...agrun_test.rar

Seems to be working fine now (in addition to what you posted, the flag ownership bug was still present in the last version).

Needs a good playtest now, I think. Able to steal someone's server for a bit sometime tommorow/today/whenever? :D

cjeshjoir™ 12-18-2009 09:17 AM

Quote:

Originally Posted by Pon (Post 460198)
Needs a good playtest now, I think. Able to steal someone's server for a bit sometime tommorow/today/whenever? :D

Freakin' beautiful. I'll get it into a playable state and test 'er out tomorrow!

Pon 12-18-2009 09:19 AM

Ahh, I had assumed your flagrun was just waiting on the Lua ;)

No rush.

cjeshjoir™ 12-18-2009 11:16 AM

Quote:

Originally Posted by Pon (Post 460201)
Ahh, I had assumed your flagrun was just waiting on the Lua ;)

No rush.

The only thing missing was the doors and a few props for the lights. Its been "playable" but not absolutely polished.

EDIT: I guess that's why man invented betas. Ill upload a copy in a few hours.


All times are GMT. The time now is 10:02 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.