GamerMage
May 23 2004, 04:02 PM
(Borrowed with changes from neo-dilly)
CellWall as Orb with different textures
If you dont like the orb image you can use your cell wall as a orb...
to do this open mainmenu.lua in your Skins/xdash folder
find
CODE
loadmesh("xsphere", "SKINS:\\xdash\\mainmenu\\xsphere.xbg")
and at the front of the line it is on add
CODE
--(space bar)
what this does is comment out the loadmesh (orb mesh) code
After that add this after it
CODE
loadmesh("innersphere", "SKINS:\\xdash\\mainmenu\\innersphere.xbg")
This loads the new model you will be making later
then find
renderobject("xsphere", 1, -15, 0.95, 3, 0, -PI/18, 0, 0.5, 0.5, 0.5)
and comment it out by putting this before it
CODE
--(space bar)
underneath that make a new line and paste this
CODE
renderobject("innersphere", 3, -25, 0, 31, PI/2, BackRotation*20, 0, 0.4, 0.4, 0.4)
the "BackRotation*20" is the way it rotates and currently i havent found other ways to rotate but to change speed change the "20" to another number
Now to make you new model
open outersphere.xbg in a hex editor and rename the outersphere.bmp entry on the text side to innersphere.bmp then save as innersphere.xbg
now make a new texture using outersphere.bmp as a model and place both the innersphere.xbg and innersphere.bmp in the xdash folder
now your done enjoy
this will give you a cellwall orb mesh instead of the orb texture
HoRnEyDvL
May 23 2004, 11:01 PM
Nice work Well done. DO u think it be possible to get some screens up?
GamerMage
May 24 2004, 09:46 AM
how do you take screens in nexgen?
HoRnEyDvL
May 24 2004, 10:08 AM
press the black button in main menu the pics should tehn be in e:
GamerMage
May 24 2004, 10:19 AM
GamerMage
May 24 2004, 10:20 AM
any idea on how to get the selected stuff to be opaque?
such as the "storagebox" or "storageitem"
g0at3r
May 24 2004, 10:25 AM
lol.. that skin looks fuckin crazy!
good job! hehe
HoRnEyDvL
May 24 2004, 10:31 AM
That must be the most awesom skin i have seen for nexgen fcken crazy man good work.
As for your question about opaque not sure man u need 2 ask swolsten or sp0ok.
SpOoK
May 25 2004, 01:10 PM
GamerMage,
To change the Storage Box:
Alter the last four values to change the colour etc...
Value1-->75 Do NOT Change.
Value 2(255)-->Alpha,
value 3(90)-->R,
Value 4(128)-->G,
Value 5(199)-->B
setrenderstateargb(75, 255, 90, 128, 199)
setrenderstate(147, 2304)
renderobject("storagebox", 0, 4.5, 3, 6, 0, 0, 0, 0.22, 0.22, 0.10)
Storage Item:
find:
if i~=TargetItem then
setrenderstateargb(75, 255, 0, 97, 255)
else
setrenderstateargb(75, 255, 0, 93, 199)
end
renderobject("storageitem", 1, 4.5, itemy, 6, 0, 0, 0, 0.22, 0.22, 0.15)
alter the renderstateargb values as described abouve to change all the settings for the opacity and colour.
Hope that helps you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.