7. Graphics


  • Please log in to reply
12 replies to this topic

#1 sigget

sigget

    Lieutenant

  • Members
  • PipPipPipPip
  • 324 posts

Posted 10 December 2003 - 03:16 PM

Index:
7.1 Models
7.2 Effects & Particles
7.3 Interface Windows
7.4 Slideshow Animations

#2 sigget

sigget

    Lieutenant

  • Members
  • PipPipPipPip
  • 324 posts

Posted 10 December 2003 - 03:40 PM

7.1 Models

#3 sigget

sigget

    Lieutenant

  • Members
  • PipPipPipPip
  • 324 posts

Posted 10 December 2003 - 03:40 PM

7.2 Effects & Particles

#4 sigget

sigget

    Lieutenant

  • Members
  • PipPipPipPip
  • 324 posts

Posted 10 December 2003 - 03:42 PM

7.3 Interface Windows

#5 sigget

sigget

    Lieutenant

  • Members
  • PipPipPipPip
  • 324 posts

Posted 10 December 2003 - 03:42 PM

7.4 Slideshow Animations

#6 Aralez

Aralez

    Forum Grandpa'

  • Fan Fiction
  • PipPipPipPipPip
  • 1,670 posts

Posted 11 December 2003 - 07:02 PM

If you change model.txt files don't use a text-editor, it will mess those files up. A hex-editor is recommended. If you change text in those files make sure you use the same name length for the new entry. e.g. units/blabla replaced with aralz/blabla. This is essential when adding faces, as the new faces have to use a new file with the same name as the old faces-graphic file, but in a different folder. (Unpack the rebalance mod to see more exactly what i mean).

The icon graphic tga files use a mask channel, make sure you use a program which can display AND SAVE those masks. Otherwise the icon will be not shown ingame.

#7 Fulby

Fulby

    Lieutenant

  • Members
  • PipPipPipPip
  • 231 posts

Posted 11 December 2003 - 07:26 PM

You can edit some model.txt files with a text editor, I think it's only the files which don't contain binary data.

Editable with text editor:
tactical\models\weapons\*.*
tactical\models\units\humans\*.*

Require hex editor:
tactical\models\interface\items\weapons\*.*
tactical\models\interface\items\magazines\*.*

The text editor I use is Notepad, better text editors may avoid corrupting the files but I doubt it.
Be wary of checking for changes visually.  If you make a copy of a file in tactical\models\interface\items\weapons\, open the file in Notepad, save it, close it, open it, then open the original in Notepad the two files will appear the same but have changed (comparison with a hex editor will reveal this).

#8 Fulby

Fulby

    Lieutenant

  • Members
  • PipPipPipPip
  • 231 posts

Posted 11 December 2003 - 07:52 PM

If adding an item (weapon, magazine or armour, I've only tested this on a weapon), you can add an image in the inventory interface where the rotating model usually is.  The image/video is actually a flat rectangle 3D model with a graphic or video as its texture.  These interface video models (IVMs for brevity) are stored in "strategic\models\interface\equipment".  The IVM file is text+binary so use a hex editor to modify it.

To link the IVM file to the item, write the path and name of the file in the VIDEO field of the item (surrounded by quotes).  To display an image, open the IVM file with a hex editor and change the FILE NAME entry to the path and name of the image you want to display.

The image will be displayed upside down if it is a graphics file instead of a video.  The IVM file included with the TNT plugin changes the model to display the image the right way up, use this as a base or edit one of the original model files.  It is based on the Flare IVM file found at "strategic\models\interface\equipment\weapons\human guns\h_eq-flr_3d.txt".  If you have difficulties editing your IVM file, compare these two files in a hex editor to see what was changed.

#9 BlackAlmaz

BlackAlmaz

    THE GHOST FROM XMAS PAST

  • Members
  • PipPipPipPip
  • 706 posts
  • Location:Sydney/Australia

Posted 12 May 2004 - 10:17 AM

can one of you help me....you have been writing about a folder named models in stratigic

i cant find that folder...
i have a equipment folder. but nothing in it but 3 small text files
"THERE AT THE BERACADES!!!....THERE IN THE PERIMETER!?.....THERE IN THIS ROOM!?" ALIANs

#10 fallschirmjager

fallschirmjager

    Squaddie

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Location:Austria (replace the "ia" with "alia"), Victoria Town, Gippsland Street.

Posted 05 August 2008 - 08:03 AM

Can someone fix the links or redirect me to a backup if possible?

#11 Pete

Pete

    Administrator

  • Admin
  • PipPipPipPipPipPip
  • 5,878 posts
  • Gender:Male
  • Location:Cheshire, England

Posted 05 August 2008 - 07:39 PM

Try this link to our old X-COM site on Archive.org: http://web.archive.o.../...g&p=modding

We'll hopefully have the modding section back up on this site when we roll out our next big update in the next month or so, but that should work fine for now.
I want to see the inside of the UFO in my avatar.

#12 fallschirmjager

fallschirmjager

    Squaddie

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Location:Austria (replace the "ia" with "alia"), Victoria Town, Gippsland Street.

Posted 05 August 2008 - 11:26 PM

View PostPete, on 6th August 2008, 5:39am, said:

Try this link to our old X-COM site on Archive.org: http://web.archive.o.../...g&p=modding

We'll hopefully have the modding section back up on this site when we roll out our next big update in the next month or so, but that should work fine for now.

Thanks mate, but I don't think that'll help me with modding AM?

#13 Pete

Pete

    Administrator

  • Admin
  • PipPipPipPipPipPip
  • 5,878 posts
  • Gender:Male
  • Location:Cheshire, England

Posted 08 August 2008 - 10:21 PM

Sorry - I misread which forum this post was in as Sigget posted some kick-ass X-COM modding stuff. Didn't realise he did some AM stuff too.
I want to see the inside of the UFO in my avatar.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users