Fortress Forever

Go Back   Fortress Forever > Editing > Mapping

Reply
 
Thread Tools Display Modes
Old 04-18-2008, 01:00 PM   #1
Nuk3m
Banned
 
Join Date: Mar 2007
Location: New Jersey, USA!
Class/Position: Scout / Offense
Gametype: Capture the Flag
Affiliations: :e0: Founder
Posts Rated Helpful 0 Times
Send a message via AIM to Nuk3m
Team Colored Armor? How?

Hey, I am working on a map, and dont know how to make the armor team colored, right now I have blue armor for all of the teams. How do I make it multi colored?
Nuk3m is offline   Reply With Quote


Old 04-18-2008, 03:04 PM   #2
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
idk if there are multi-colored...best way would be to open up the model browser and search for armour (yes that's how it's spelled in the lua so search for it with that spelling) and see what models come up.

And actually looking at that file, there is no other model...your stuck with blue unless you reskin a new model...
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 04-18-2008, 03:15 PM   #3
Nuk3m
Banned
 
Join Date: Mar 2007
Location: New Jersey, USA!
Class/Position: Scout / Offense
Gametype: Capture the Flag
Affiliations: :e0: Founder
Posts Rated Helpful 0 Times
Send a message via AIM to Nuk3m
http://www.fortress-forever.com/wiki/Reference:Armor
Nuk3m is offline   Reply With Quote


Old 04-18-2008, 03:21 PM   #4
Ihmhi
[AE] 0112 Ihmhi *SJB
Wiki Team
Fortress Forever Staff
 
Ihmhi's Avatar
 
Join Date: Mar 2007
Location: Newark, NJ, United States
Class/Position: A little bit o' everythin'
Gametype: Also a little bit o' everythin'
Affiliations: [AE] Asseater, *SJB Straight Jacket Brigade
Posts Rated Helpful 3 Times
Send a message via AIM to Ihmhi Send a message via MSN to Ihmhi Send a message via Yahoo to Ihmhi
I know the basics of it.

When you place armor in a map, you have to do like info_ff_armorblahblahtits or something.

For custom armor models, you'd basically have to make an entity, choose the model, and set up the output.

Pm squeek. about it, he's in charge of the Lua Assitance Division. He's a fine LAD who can probably help you out with this. Also, he's awesome.
__________________
Support FF:
Anime: The Thread: Reloaded
The one and only anime thread on these here forums.

Select the pistol, and then, select your horse.
Ihmhi is offline   Reply With Quote


Old 04-18-2008, 03:48 PM   #5
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
I pm'd you on steam...it's really not tough if the models do exist...just need to reference them. Reply back when you have a moment.
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 04-18-2008, 04:49 PM   #6
BlisTer
Fortress Forever Staff
 
BlisTer's Avatar
 
Join Date: Mar 2007
Posts Rated Helpful 4 Times
If they intended them to be teamcolored you can probably alter the color by choosing a different skin in the entity properties.. like skin 1 instead of skin 0. dunno to lazy to check.
__________________
Support FF:
untils you cry for the mercy like little shaven squirrel in my eating pot. - deathstriker666
BlisTer is offline   Reply With Quote


Old 04-18-2008, 06:28 PM   #7
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 352 Times
Send a message via AIM to squeek.
Code:
armorkit = genericbackpack:new({
	armor = 200,
	cells = 150,
	model = "models/items/armour/armour.mdl",
	modelskin = 0,
	materializesound = "Item.Materialize",	
	touchsound = "ArmorKit.Touch",
	botgoaltype = Bot.kBackPack_Armor
})

blue_armor = armorkit:new({ modelskin = 0, touchflags = {AllowFlags.kOnlyPlayers,AllowFlags.kBlue} })
red_armor = armorkit:new({ modelskin = 1, touchflags = {AllowFlags.kOnlyPlayers,AllowFlags.kRed} })
yellow_armor = armorkit:new({ modelskin = 2, touchflags = {AllowFlags.kOnlyPlayers,AllowFlags.kYellow} })
green_armor = armorkit:new({ modelskin = 3, touchflags = {AllowFlags.kOnlyPlayers,AllowFlags.kGreen} })
Name the info_ff_script's red_armor, blue_armor, etc. Should work, but it's untested. Working on the rest of murderball's lua at the moment.
__________________
#FF.Pickup ¤ Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington

Last edited by squeek.; 04-18-2008 at 06:40 PM.
squeek. is offline   Reply With Quote


Old 04-18-2008, 06:32 PM   #8
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
I guess I should have posted this...but I gave him that a while ago...sorry to make ya work squeek:

http://privatepaste.com/05YgvfEKW9

EDIT: although yours is much prettier lol
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 04-18-2008, 06:35 PM   #9
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 352 Times
Send a message via AIM to squeek.
Quote:
Originally Posted by Dr.Satan
I guess I should have posted this...but I gave him that a while ago...sorry to make ya work squeek:

http://privatepaste.com/05YgvfEKW9

EDIT: although yours is much prettier lol
Mines shorter! But, it wasn't much trouble at all so don't worry about it.
__________________
#FF.Pickup ¤ Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington
squeek. is offline   Reply With Quote


Old 04-18-2008, 06:36 PM   #10
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
Quote:
Originally Posted by squeek.
Mines shorter! But, it wasn't much trouble at all so don't worry about it.
yeah i didn't think of defining it in the parent and then changing it after the fact for some reason...
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 04-18-2008, 09:29 PM   #11
Nuk3m
Banned
 
Join Date: Mar 2007
Location: New Jersey, USA!
Class/Position: Scout / Offense
Gametype: Capture the Flag
Affiliations: :e0: Founder
Posts Rated Helpful 0 Times
Send a message via AIM to Nuk3m
I hope I can learn LUA, even tho its my enemy at the moment. grrrr!
Nuk3m 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:31 PM.


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