SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: little help plx

Results 1 to 9 of 9
  1. #1
    Offline
    Account Icon
    Join Date
    Dec 2009
    Posts
    51

    little help plx

    Hi,

    trying to make my first mod...

    I was wanting to know 2 things;

    1) I need to make an if statement for hellbourne / legion whats the identifier?

    2) Where can I find the texture "area_cast_indicator_simple.tga"

    Thanks

  2. #2
    Offline
    Account Icon
    Join Date
    Sep 2009
    Location
    Sweden
    Posts
    1,351
    1) I don't really know what you mean.

    2) textures.s2z\00000000\shared\textures\area_cast_in dicator_simple.dds

    The game converts the dds files into tga.
    If you want to open them you'll need to use GIMP, paint.net or the nvidia plugin for PS. http://developer.nvidia.com/object/p...s_plugins.html
    Quote Originally Posted by IRC
    20:11:48 | Sephinator: I got a small window.
    20:11:53 | Sephinator: I hate clouds.
    20:13:59 | SoundWizard: I hate sephiroth wannabes
    20:14:35 | @Warchamp7: i c wut u did
    Current Project: HoW40K - UI/FX Coder

  3. #3
    Offline
    Account Icon
    Join Date
    Dec 2009
    Posts
    51
    Quote Originally Posted by Sephinator View Post
    1) I don't really know what you mean.

    2) textures.s2z\00000000\shared\textures\area_cast_in dicator_simple.dds

    The game converts the dds files into tga.
    If you want to open them you'll need to use GIMP, paint.net or the nvidia plugin for PS. http://developer.nvidia.com/object/p...s_plugins.html
    Thanks.

    For 1) I was meaning, I need to write an if statement to determine if a player is hellbourne or legion

  4. #4
    you always know the team via the index of the player?

    otherwise play around with that:
    LobbyPlayerInfo{index} and param1.

  5. #5
    Offline
    Account Icon
    Join Date
    Dec 2009
    Posts
    51
    Also... with the .dds files...

    What settings should I use when saving the file after i'm done editing it? Using http://developer.nvidia.com/object/p...s_plugins.html with Photoshop CS4

  6. #6
    Offline
    Account Icon
    Join Date
    Nov 2009
    Location
    Costa Rica
    Posts
    551
    Quote Originally Posted by machende View Post
    Also... with the .dds files...

    What settings should I use when saving the file after i'm done editing it? Using http://developer.nvidia.com/object/p...s_plugins.html with Photoshop CS4
    Just flip them vertically and save them as .tga files.

  7. #7
    Offline
    Account Icon
    Join Date
    Dec 2009
    Posts
    51
    one last thing...

    The slot color for a player works by taking the color sample from the team.dds file and replaces that color in the color.dds file with the team color correct?

    Where does it retrieve the slot color info from though?

    In other words how does it know that it needs to make legionnaire purple for being in the purple slot?

  8. #8
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Kyiv, Ukraine
    Posts
    1,873
    Quote Originally Posted by machende View Post
    In other words how does it know that it needs to make legionnaire purple for being in the purple slot?
    game engine passes color as a vTeamColor variable to a pixel shader defined in material file

  9. #9
    Offline
    Account Icon
    Join Date
    Dec 2009
    Posts
    51
    Quote Originally Posted by theli View Post
    game engine passes color as a vTeamColor variable to a pixel shader defined in material file
    vTeamColor hasnt got anything to do with player slots though has it?

    I'm talking about player slot colours

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •