Fortress Forever

Go Back   Fortress Forever > Editing > Modding

Reply
 
Thread Tools Display Modes
Old 02-06-2008, 02:30 AM   #1
pF
no war but class war
Fortress Forever Staff
 
pF's Avatar
 
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout
Gametype: ctf
Affiliations: [w~k!]
Posts Rated Helpful 3 Times
VMT Files / Player activities

Lots of the people in this subforum will be familiar with the VTF/VMT combo that Source needs in order to show textures and how they're lit & bumpmapped etc.

My question is, can a texture be switched through a VMT file as a result of changing player states/activities?

An example, an average knife, textured and all:

knife.vtf (the regular texture)
knife_bloodied.vtf (regular texture with blood on the blade)
knife.vmt (the file outlining everything Source needs to know)


So for regular animations such as ACT_VM_IDLE; ACT_VM_DRAW etc., the non-bloody skin would be used. What i would like to do, is to use an activity such as ACT_VM_HITCENTER (+attack1) to trigger a switch of the skins, replacing knife.vtf with knife_bloodied.vtf.

What would the variable be? Or would it be possible to call up certain frames of a multilayered texture instead of loading a second texture on trigger?

Answers appreciated!
__________________
Support FF:

Gay And Lesbian Fiction | Teen Books | Bath Products
pF is offline   Reply With Quote


Old 02-07-2008, 12:04 AM   #2
pF
no war but class war
Fortress Forever Staff
 
pF's Avatar
 
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout
Gametype: ctf
Affiliations: [w~k!]
Posts Rated Helpful 3 Times
bumpity bump..
__________________
Support FF:

Gay And Lesbian Fiction | Teen Books | Bath Products
pF is offline   Reply With Quote


Old 02-13-2008, 11:37 PM   #3
Mr. Happy
FF LOL
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
Only in code.
Mr. Happy is offline   Reply With Quote


Old 02-14-2008, 10:44 PM   #4
pF
no war but class war
Fortress Forever Staff
 
pF's Avatar
 
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout
Gametype: ctf
Affiliations: [w~k!]
Posts Rated Helpful 3 Times
Cheers, i figured as much.. ;/
__________________
Support FF:

Gay And Lesbian Fiction | Teen Books | Bath Products
pF is offline   Reply With Quote


Old 02-17-2008, 10:57 AM   #5
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
Could be coded in if it's a good enough idea...
__________________
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 02-18-2008, 02:17 AM   #6
Mr. Happy
FF LOL
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
This makes me wonder if FF has any unique texture proxies?

I'm think about automated player-item interaction, like, if a player picks up flag or stands on a trigger a texturetoggle or some such entity could rely the players team color to the proxy..

Thogh I suppose that example could easily be down with the default entities and a little lua...

I dunno, does FF have any weird little quirks like new texture proxies and whatnot?
Mr. Happy 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 09:04 AM.


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