Fortress Forever

Go Back   Fortress Forever > Editing > Mapping > Lua

Reply
 
Thread Tools Display Modes
Old 09-16-2007, 12:30 PM   #1
OneEyed
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
Official Conc Lua Script - (Updated 9-16-2007)

base_conc - Version 1.1

Description:
The base_conc.lua script allows for a concussion gameplay mode. It plays with 2 teams which are allied so they don't attack each other. Classes allowed are Scout, Medic, Soldier, Demoman, Pyro, and Engineer. Theres also 2 different modes: Race and Freestyle. Race will only allow one person to score per round, which respawns everyone after about 10 seconds. Freestyle will only respawn yourself when you touch endzone.

Mapping Entities:
The following entities must have the corresponding text as their name to become that entity.

info_ff_script:
"concbackpack" - Provides Full Health, Armor, Rockets, and Grenades
"healthbackpack" - Provides only Full Health and Armor

trigger_ff_script:
"trigger_conc" - Brush based Grenade/Health giver.
"endzone" - When player touches this, it qualifies them as finishing the map, then respawns according to CONC_MODE

Map Specific LUA file: - Copy paste this to your mapname.lua and edit accordingly.
------------------------------------------------
IncludeScript("base_conc")

-- Disable/Enable Concussion Effect.
CONC_EFFECT = 0

-- Freestyle / Race modes.
CONC_MODE = CONC_FREESTYLE

-- Race Restart Delay
RESTART_DELAY = 10

-- Points and Frags you receive for touching EndZone.
CONC_POINTS = 110
CONC_FRAGS = 10

-- Disable/Enable classes allowed.
SOLDIER = 0
SCOUT = 1
MEDIC = 1
DEMOMAN = 0
ENGINEER = 0
PYRO = 0

-- Disable/Enable Invunerability
INVUL = 1
------------------------------------------------

Note:
This still has room for improvement, so expect updates in the future. Along with the base_conc.lua, I'm providing a simple conc_map example.
MAKE SURE YOU UNRAR THE FILES!!!

FILES:
base_conc.lua - [REQUIRED] Goes in FortressForever/maps/includes folder. (Make sure you Unrar it.)


conc_oneeyed_b2 map - Test conc map. BETA 2
conc_oneeyed vmf Hammer file

Last edited by OneEyed; 09-17-2007 at 10:16 AM.
OneEyed is offline   Reply With Quote


Old 09-16-2007, 12:53 PM   #2
sir_frags
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
LOL.... good job man. This might be one of those things though that will take people a while to catch on to.
sir_frags is offline   Reply With Quote


Old 09-16-2007, 01:55 PM   #3
Atari
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
Nice one OneEyed

Although I don't have any ammo bags?

Edit: Just tried your map too, and no bags

Last edited by Atari; 09-16-2007 at 02:06 PM.
Atari is offline   Reply With Quote


Old 09-16-2007, 03:46 PM   #4
SizeableSSonic
Joystick Junkie
D&A Member
 
SizeableSSonic's Avatar
 
Join Date: Mar 2007
Location: I know where YOU live!
Class/Position: Engineer or Sniper
Gametype: CTF
Posts Rated Helpful 0 Times
Send a message via AIM to SizeableSSonic Send a message via MSN to SizeableSSonic
Great job man... it's great to see some of these LUAs for certain gametypes popping up.
__________________
I like chocolate milk.
SizeableSSonic is offline   Reply With Quote


Old 09-16-2007, 03:51 PM   #5
Atari
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
People are crying out for a conc map, even a simple one.
Atari is offline   Reply With Quote


Old 09-16-2007, 04:15 PM   #6
nodnarb
 
Join Date: Mar 2007
Posts Rated Helpful 5 Times
When ever I finally figure mine out...again.., it is going to be ace.
nodnarb is offline   Reply With Quote


Old 09-17-2007, 09:25 AM   #7
OneEyed
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
UPDATED to v1.1
- Added Invulnerability option.
- Added Class Picking easability for mappers.
- Added new trigger_ff_script entity, "trigger_conc", gives grenades and health.
- Changed "healthkit" to "healthbackpack"
- Fixed being killed when touched endzone on freestyle mode.
- Added Globals for points/frags received when touched endzone.
- Added sounds for when endzone is touched.

- BETA 2 released of conc_oneeyed map. Contains 7 levels now!
- Also updated the vmf file for the map!
OneEyed is offline   Reply With Quote


Old 09-17-2007, 10:12 AM   #8
Menace
 
Menace's Avatar
 
Join Date: Jun 2007
Location: Den Haag , Holland
Class/Position: Medic , offense
Affiliations: PoW , +M|M+ , BoS , `phd
Posts Rated Helpful 0 Times
just played it and beated it gj man !!!
Menace is offline   Reply With Quote


Old 09-17-2007, 06:18 PM   #9
wicked_clown420
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
i was on your server playin it with you - beat it using scout, havnt tried much with soldier yet

crazy how you can bhop from the end platform of jump one to the end platform of jump 2 after an HH LOL - or just hh across both jumps 1 and 2 at once - and i noticed on your long jumps that long jumps are gunna have to be alot longer than they were in TFC, as HH concs LAUNCH you now

good map man i posted it on the "Super map list thread" with a link pointing to this forum so that they can get it up on the map list

last jump is so weird tho... you and that M|M guy told me how to do it, and im like wtf that doesnt make sense.... but making sense or no, it works

i like the shortcut 2... reminds me of that juggle jump on concmap_2v2_2

if you plan on adding any more jumps to it please consider this:
http://www.fortress-forever.com/foru...709#post270709
a little concmap jump request i put in

anyways had lots of fun on your map, glad to see people already releasing concmaps - looking forward to any future releases you may have

Last edited by wicked_clown420; 09-17-2007 at 06:49 PM.
wicked_clown420 is offline   Reply With Quote


Old 09-17-2007, 06:22 PM   #10
Atari
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
It's on the rotation at "PlayNice! - Custom Maps " FF server if anyone wants to try it out.

85.234.148.34:27015
Atari is offline   Reply With Quote


Old 09-17-2007, 11:11 PM   #11
Lt Llama
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
Really gj OneEyed and working fine to. It wasnt to hard to finish the map as concer but only one of us managed to do it with solly. Demoman up to last jump. Looking forward to the next beta.
Lt Llama is offline   Reply With Quote


Old 10-04-2016, 05:03 AM   #12
fluffyhamster
 
Join Date: Aug 2016
Gametype: Capture the Flag
Posts Rated Helpful 9 Times
Anyone got this still?
fluffyhamster is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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