Fortress Forever

Go Back   Fortress Forever > Editing > Mapping

Reply
 
Thread Tools Display Modes
Old 09-14-2007, 05:17 PM   #1
Adam-g1
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
Creating a skill map..quad/invinc?

I have everything going smoothly, bags and all, it's just.. I can't seem to figure out how to give quad damage and invincibility to the players. I know this is controlled through Lua, but I have no idea where to start really. Can anyone shed some light on this for me? Thanks!
Adam-g1 is offline   Reply With Quote


Old 09-15-2007, 12:51 AM   #2
Circuitous
Useless
Retired FF Staff
 
Join Date: Jun 2005
Class/Position: D Soldier, O Scout
Gametype: AvD
Posts Rated Helpful 9 Times
Send a message via AIM to Circuitous Send a message via MSN to Circuitous Send a message via Yahoo to Circuitous Send a message via Skype™ to Circuitous
Code:
function player_ondamage( player, damageinfo )
	damageinfo:SetDamage( 0 )
end
There's invulnerability. Quad I still haven't figured out. It's not a simple command.
__________________
Look at all those dead links.
Circuitous is offline   Reply With Quote


Old 09-15-2007, 01:01 AM   #3
nodnarb
 
Join Date: Mar 2007
Posts Rated Helpful 5 Times
Quote:
Originally Posted by Circuitous
Code:
function player_ondamage( player, damageinfo )
	damageinfo:SetDamage( 0 )
end
There's invulnerability. Quad I still haven't figured out. It's not a simple command.
If you got that out of my map, it doesn't work.
nodnarb is offline   Reply With Quote


Old 09-15-2007, 01:03 AM   #4
Circuitous
Useless
Retired FF Staff
 
Join Date: Jun 2005
Class/Position: D Soldier, O Scout
Gametype: AvD
Posts Rated Helpful 9 Times
Send a message via AIM to Circuitous Send a message via MSN to Circuitous Send a message via Yahoo to Circuitous Send a message via Skype™ to Circuitous
I just wrote that. No reason for it not to work.
__________________
Look at all those dead links.
Circuitous is offline   Reply With Quote


Old 09-15-2007, 01:06 AM   #5
nodnarb
 
Join Date: Mar 2007
Posts Rated Helpful 5 Times
Code:
-- Disable damage
function player_ondamage( player, damageinfo )
	damageinfo:SetDamage(0);
nodnarb is offline   Reply With Quote


Old 09-15-2007, 01:11 AM   #6
Circuitous
Useless
Retired FF Staff
 
Join Date: Jun 2005
Class/Position: D Soldier, O Scout
Gametype: AvD
Posts Rated Helpful 9 Times
Send a message via AIM to Circuitous Send a message via MSN to Circuitous Send a message via Yahoo to Circuitous Send a message via Skype™ to Circuitous
Needs an end.
__________________
Look at all those dead links.
Circuitous 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 12:41 PM.


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