|
Thread: The "Unnecessary" Files in NCF Packs | This thread is pages long: 1 2 · «PREV |
|
TSoD
Promising
Famous Hero
NCF Blacksmith
|
posted October 15, 2008 06:24 PM |
|
|
Quote: To convert degrees to radians simply multiply your degrees with PI/180 (0.017453)
(hum I know... I'm at school for 6 years, I'm in my last year, then radians and degrees aren't ennemies for me I talked for younger people )
____________
NCFBank,
the complete and homogen NCF
library.
|
|
Fauch
Responsible
Undefeatable Hero
|
posted October 15, 2008 07:49 PM |
|
|
Quote: Have you ever been in this situation ?
all the time lol. I say QP for you
Quote: You rotate AROUND an axe, not ON the disk it belongs !!!
that's what I thought but I wasn't sure
The unit of the rotations are the radians (Welcome, Mathematics !), I believe.
All I now is that 0,75 ~= 90° (less or more)
la trigo lol. isn't it 180° = 1 * pi?
|
|
TSoD
Promising
Famous Hero
NCF Blacksmith
|
posted October 15, 2008 07:54 PM |
|
|
Exactly
Pi/2 = 90°, Pi/4 = 45°, Pi = 180°,...
____________
NCFBank,
the complete and homogen NCF
library.
|
|
TSoD
Promising
Famous Hero
NCF Blacksmith
|
posted December 09, 2008 01:33 PM |
|
|
Finally, I discover that :
~90° = 0.52 (it is strange, the number after zero is the number of degrees you need to have a radian...)
~180 = 1.04
...
============
REQUEST TO FAUCH
Could you please make the real icon for your creatures ? the lich and the ice dragon icons are very bad : not even an alpha channel ! Finish your creatures Fauch please...
If you do not, I'm obliged to do it at your place when I want to place them on my website!...
And I'm wasting my time...
NB : No unfriendly words here, only a piece of advice, obviously
____________
NCFBank,
the complete and homogen NCF
library.
|
|
Fauch
Responsible
Undefeatable Hero
|
posted December 09, 2008 02:27 PM |
|
|
I can make the icons better, but I don't know how to make them transparent.
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted December 09, 2008 02:32 PM |
|
|
Do you have Photoshop? You must have an Alpha Channel which represents the transparency, and then save the .dds file as ARGB format (8:8:8:8)
Or maybe you can use something similar to that with other programs...
____________
|
|
TSoD
Promising
Famous Hero
NCF Blacksmith
|
posted December 09, 2008 03:14 PM |
|
|
ALL is explained on archangelcastle by Morrock
AND it is explained for The Gimp too !
http://www.archangelcastle.com/acforum/viewtopic.php?f=51&t=5368#p121705
It is explained for textures, but you can apply it to icons.
! Icons are saved under the format 8:8:8:8 unsigned !
And the background of the picture itself (not the alpha channel, the RGB channels) MUST be black.
____________
NCFBank,
the complete and homogen NCF
library.
|
|
Fauch
Responsible
Undefeatable Hero
|
posted December 09, 2008 08:16 PM |
|
|
I managed to do that :
this one is supposed to have a transparent background :
I don't understand the part with the black background and RGB
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted December 09, 2008 08:18 PM |
|
|
Select the transparency from the Alpha Channel, and move to the RGB channels... then fill it with black (the selection)
____________
|
|
Fauch
Responsible
Undefeatable Hero
|
posted December 09, 2008 08:29 PM |
|
|
I think I did the half the work right. I filled the selection in black, and have the same result than above.
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted December 09, 2008 08:33 PM |
|
|
It still displays as white in game? That would be extremely weird, so make sure you really did replace the old .dds with the new one.
____________
|
|
Fauch
Responsible
Undefeatable Hero
|
posted December 09, 2008 09:01 PM |
|
|
ok, actually I clicked on the wrong button when trying to replace the file.
|
|
TSoD
Promising
Famous Hero
NCF Blacksmith
|
posted July 14, 2009 12:00 PM |
|
Edited by TSoD at 14:13, 15 Jul 2009.
|
4°) Configuring NCF Creatures Cameras
With a few tests in the editor, I have been able to understand which axes the camera follows (POS & ROT) in which direction. Normal we didn't understand, cause we hadn't any known point(s) to refer to. I tried to change parameters in the Editor for the
Arenas\Interface\MainMenu\MainMenu.(ArenaDesc)
arena, the main menu one with the cyclop etc.
So I came to this conclusions. First of all, some definitions:
The <Pos> tag
Determines the POSition of the camera, from the center of the current arena.
The <Rot> tag
Determines the ROTation of the camera, around the axes X, Y or Z (the center doesn't matter).
The <Rod> tag
According to my tests, it doesn't determine anything. Leave it and don't change it. For your need of knowledge, know that "In geometry, a rod is a 3-dimensional, solid (filled) cylinder*".
The <FOV> tag
Determines the Field Of View of the camera. It is the zoom if you want.
The <ClipDistanceMin> tag
Determines "how NEAR" the camera is able to see things. So, it "cuts" in the meshes if the min clip distance is too big.
The <ClipDistanceMax> tag
Determines how FAR the camera is able to see things. So, it "cuts" in the meshes if the max clip distance is too small. But if you set a too big max value (for example 99999999999999999999) in thinking then you won't have any problem, think also that the camera will see too far and so the game will be slowed because of too many informations.
Now, there are the axes for position and rotation.
! Pay attention !
! Rotation axes are different of the position axes !
Rotation Axes :
===============================================================
Position Axes :
Now you have all in hand to make new view for your NCF creature, instead of always using the game ones !
___________________________________________________
*from http://en.wikipedia.org/wiki/Rod_(geometry)
|
|
|