Fortress Forever

Go Back   Fortress Forever > Editing > Mapping > Lua

Reply
 
Thread Tools Display Modes
Old 03-05-2009, 01:54 PM   #1
cjdelta04
 
Join Date: Feb 2009
Gametype: Capture the Flag
Posts Rated Helpful 0 Times
Lua for new gamemode

I was wondering if it would be possible to make a lua for a gamemode like bombing run in Unreal Championship. Maybe you could use something from the murderball lua and capture the flag? I would also like to be able to make a "Bomb Gun" that is the only weapon you can have out while you have the bomb, and you can passes and what not to other players on your team. This would also allow you to shoot the bomb through the bomb target from a distance but you would get fewer points. So any help is appreciated.
cjdelta04 is offline   Reply With Quote


Old 03-05-2009, 02:10 PM   #2
MonoXideAtWork
Pub Allstar!
Beta Tester
 
Join Date: Aug 2008
Class/Position: under en kvinna
Gametype: Capture the Flag
Affiliations: Eternal Order, Must be h4x, Mono's happy funtime.
Posts Rated Helpful 0 Times
One limitation in specific:

Currently, after an object is tossed, we cannot keep track of who tossed it (team or player) So the only way I can see to do your goals is to have it trigger when the object passes through it and award points to the opposite team, but you can't specify a specific player AFAIK.
MonoXideAtWork is offline   Reply With Quote


Old 03-05-2009, 02:21 PM   #3
cjdelta04
 
Join Date: Feb 2009
Gametype: Capture the Flag
Posts Rated Helpful 0 Times
Well it really wouldn't matter who threw it. Just what team did because only red could score on blue and vicew versa. and besides you are going for team points to win the game, not individual points. So it is possible then. Could someone help me out with this then because I think it would be a great new style of gaming for ff players looking for something new.
cjdelta04 is offline   Reply With Quote


Old 03-05-2009, 03:20 PM   #4
Crazycarl
D&A Member
Wiki Team
Fortress Forever Staff
 
Crazycarl's Avatar
 
Join Date: Apr 2007
Posts Rated Helpful 31 Times
Actually, balls and flags don't currently work with triggers. You may be able to get the ball's position, and compare it to a certain range of coordinates to see if it's in your target zone. Keeping track of who had the ball last could be easily done.

Adding a new weapon is out of the scop of the lua system. However you could take the player's ammo away to keep him from shooting.
__________________
Support FF:
Crazycarl is offline   Reply With Quote


Old 03-05-2009, 09:21 PM   #5
cjdelta04
 
Join Date: Feb 2009
Gametype: Capture the Flag
Posts Rated Helpful 0 Times
what if i were to use a white neutral flag as the ball and just use a cap point for each and change the amount of points u recieve for a cap? and what about being able to throw the flag into int to cap point. could that be done?
cjdelta04 is offline   Reply With Quote


Old 03-05-2009, 11:13 PM   #6
Crazycarl
D&A Member
Wiki Team
Fortress Forever Staff
 
Crazycarl's Avatar
 
Join Date: Apr 2007
Posts Rated Helpful 31 Times
That would be just like push or waterpolo. It would be very easy to make a map like that.

Throwing the ball into the cap is an iffy proposition, as I explained above. We want to make that work properly in future.
__________________
Support FF:
Crazycarl is offline   Reply With Quote


Reply


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

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 11:13 AM.


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