Jump to content


Photo

Cellwall As Orb With Different Texture


  • Please log in to reply
8 replies to this topic

#1 GamerMage

GamerMage

    X-S Enthusiast

  • Members
  • 21 posts

Posted 23 May 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


#2 HoRnEyDvL

HoRnEyDvL

    Nexgen Developer

  • Head Moderators
  • PipPipPipPip
  • 903 posts
  • Gender:Male
  • Location:Australia
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 23 May 2004 - 11:01 PM

Nice work Well done. DO u think it be possible to get some screens up?

#3 GamerMage

GamerMage

    X-S Enthusiast

  • Members
  • 21 posts

Posted 24 May 2004 - 09:46 AM

how do you take screens in nexgen?

#4 HoRnEyDvL

HoRnEyDvL

    Nexgen Developer

  • Head Moderators
  • PipPipPipPip
  • 903 posts
  • Gender:Male
  • Location:Australia
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 24 May 2004 - 10:08 AM

press the black button in main menu the pics should tehn be in e:

#5 GamerMage

GamerMage

    X-S Enthusiast

  • Members
  • 21 posts

Posted 24 May 2004 - 10:19 AM

The Pic

Edited by GamerMage, 24 May 2004 - 10:33 AM.


#6 GamerMage

GamerMage

    X-S Enthusiast

  • Members
  • 21 posts

Posted 24 May 2004 - 10:20 AM

any idea on how to get the selected stuff to be opaque?
such as the "storagebox" or "storageitem"

Edited by GamerMage, 24 May 2004 - 10:22 AM.


#7 g0at3r

g0at3r

    X-S Young Member

  • Members
  • Pip
  • 36 posts

Posted 24 May 2004 - 10:25 AM

lol.. that skin looks fuckin crazy!

good job! hehe

#8 HoRnEyDvL

HoRnEyDvL

    Nexgen Developer

  • Head Moderators
  • PipPipPipPip
  • 903 posts
  • Gender:Male
  • Location:Australia
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 24 May 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.

#9 SpOoK

SpOoK

    X-S Member

  • Moderator
  • Pip
  • 88 posts
  • Xbox Version:v1.2
  • 360 version:v1 (xenon)

Posted 25 May 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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users