project-navigation
Personal tools

Author Topic: My First Modification  (Read 7771 times)

Wolf4D

  • Guest
My First Modification
« on: May 25, 2007, 08:16:35 pm »
I'm only a n00b there, but I tried to make simple modification. And here it is:
http://www.lab.psihiteam.org/2007/05/26/mod_dlja_ufo_alien_invasion__lighter_mod_v01.html

Sorry if I made something wrong. Please, comment this mod.
And one small question: how can I place my own MD2 model to the game? Every time I placed it and wrote some parameters for weapon's model, weapon's model in inventory becomed "empty". How I can fix this? If you need, I can send you this model.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
My First Modification
« Reply #1 on: May 25, 2007, 08:32:27 pm »
yes, please share the model - maybe there is something wrong

generally it should work if you replace the model lines in the weapon defintions and tweak the center and scale values.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
My First Modification
« Reply #2 on: May 25, 2007, 08:33:41 pm »
btw. feel free to write new particles and share them with us ;-)

would be cool to have some new particles

Wolf4D

  • Guest
My First Modification
« Reply #3 on: May 25, 2007, 09:06:33 pm »
So, there is my model (no skin-mapping, very simple, etc):
http://rapidshare.com/files/33366587/rend.rar.html
I'll try to work with particles (effects of shoot was "wrote on" standart particles).
Yes, I replaced centerand scales values, but, maybe, I "missed". How can I take right values?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
My First Modification
« Reply #4 on: May 25, 2007, 09:53:02 pm »
we don't support bmp images for skins - only jpg, tga and png

make sure, that the model path is set to ".skinbasename"

skinbasename is the base filename without extension - and don't miss the dot as first character

Wolf4D

  • Guest
My First Modification
« Reply #5 on: May 26, 2007, 11:17:03 pm »
So, I'll work about this model later.
And now I have finished some new particles:
http://img244.imageshack.us/img244/6963/p1fw7.jpg
http://img246.imageshack.us/img246/2716/p2wt6.jpg
Are they good? It's my first experiment with particles.
I have no idea how to publish this modification now - one new texture must be in 0pics.pk3 for correct working whole mod... It's not possible to publish all file.
Maybe, I have another way?
And what about Q3-like mods supporting?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
My First Modification
« Reply #6 on: May 27, 2007, 07:15:24 am »
the best would be to sign up at sourceforge.net - then you can open a pach tracker item at http://sourceforge.net/tracker/?func=add&group_id=157793&atid=805244 and append your image and a textfile with the particle scripts

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
My First Modification
« Reply #7 on: May 27, 2007, 07:26:12 am »
q3-like mods supporting:

we did not remove mods support completly - there is still a chance, that it will work, but i've never tested it - and there is really a lot of the code in the client binary (the geoscape and basemanagement stuff, e.g.)

if someone would come up with a mod like syndicate (there were some attempt in the past) we could think about modifying the code and put the the geoscape stuff in a lib named cgame.dll (like q3 does)

but without a team that would like to create the code and the artwork for a new mod this work isn't currently on my todo list.

Wolf4D

  • Guest
My First Modification
« Reply #8 on: May 27, 2007, 10:22:09 pm »
So, I found an idea  :idea: -  use 7z console application (GNU, free to redistribute). So, using bat-files, I made a script which could embed my files to this archives.
And now new version is avalible on: http://www.lab.psihiteam.org/2007/05/28/lighter_mod_v02.html
and I signed up at sorceforge.

Offline XaverXN

  • Squad Leader
  • ****
  • Posts: 110
    • View Profile
My First Modification
« Reply #9 on: May 27, 2007, 11:26:46 pm »
Hmm... I don't have big particle experience either. Those blue 'shots' look a bit... rectangular... or is that due to jpeg compression?

As for the 'mod publication':

1) Your 7z-way is fine... you could however add a possibility to just unzip (&overwrite) the files if theres no pk3 files in base, like it is for svn users (they have 'the pk3 files unzipped already', so just folders and no pk3).

2) You could just ask Mattn if your things can be integrated into the official build, then you wouldn't need to worry about it ;-)

Wolf4D

  • Guest
My First Modification
« Reply #10 on: May 28, 2007, 11:21:42 pm »
Quote
Hmm... I don't have big particle experience either. Those blue 'shots' look a bit... rectangular... or is that due to jpeg compression?

Yes, it's a bit rectangular at the screenshots. But in game they are not so rectangular - those particles are flying so fast, that you can't see "rectangular effects" like that.
Quote
2) You could just ask Mattn if your things can be integrated into the official build, then you wouldn't need to worry about it

Yes, it will be great!  :P

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
My First Modification
« Reply #11 on: May 29, 2007, 09:42:55 am »
ok, i will commit your particles to trunk later the day

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
My First Modification
« Reply #12 on: May 30, 2007, 09:39:59 am »
the particles are in trunk now - but they really need some new names

Offline Zenerka

  • Sergeant
  • *****
  • Posts: 301
    • View Profile
My First Modification
« Reply #13 on: June 04, 2007, 01:01:06 am »
Wolf4D, i like your particles. Feel free to produce more - even if we won't use it in the game for now, they could be used later. Also I think that some of our weapons definitely needs new particles.