Fortress Forever

Go Back   Fortress Forever > Editing > Mapping

Reply
 
Thread Tools Display Modes
Old 09-14-2007, 07:46 PM   #1
Vilepickle
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
"Infinite Packs" from ff_dm

I copied the .lua from ff_dm, but can't get these to work when I turn the ff_script name to red_infini_bag or blue_infini_bag. Am I missing something?

Thanks.

Last edited by Vilepickle; 09-14-2007 at 09:20 PM.
Vilepickle is offline   Reply With Quote


Old 09-14-2007, 08:31 PM   #2
Sidd
Lua Team
 
Join Date: Mar 2007
Posts Rated Helpful 1 Times
Ok, so there are 2 types of something_ff_script.

info_ff_script is a point based entity, like a flag, or most health bags

trigger_ff_script is a volume based entity (make a brush and ctrl-t). Like a cap zone.

in ff_dm.lua:
Code:
infini_bag = trigger_ff_script:new({ touchsound = "Backpack.Touch" })
So its actually a volume based trigger_ff_script. I guess you were using an info_ff_script, cos that's what all the other 'bags' are. The infini_bag is an invisible zone, and you get resupplied when you touch any part of that zone.

If you just wanted a actual point based visible bag that came back really fast, you might try instead:
Code:
my_fast_bag=bigpack:new({ respawntime = 0.5 })
or
Code:
blue_my_fast_bag=blue_bigpack:new({ respawntime = 0.5 })
and then call your info_ff_scripts 'my_fast_bag'
Sidd 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:35 PM.


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