Results 1 to 10 of 10
  1. #1
    HellSniper's Avatar Mad Scientist

    Join Date
    May 2009
    Country
    Posts
    2,710
    Thanked
    74
    Thanks
    858
    Example Based on a Fake Tree Gta3/Vice City Style.
    This way of faking can be used for other things like chains too.

    NOTE: the . (dots) at the <> and <./> (even need the dot here D:) parts are to make this Forum Software display them.


    - Supported Texture Types:
    |_ PNG (8bit, Alpha Channel)
    |_ TGA (24 bit, Alpha Channel)
    |_ Others not tested due no need to test :P

    If you got your Texture ready put it in your Texture folder.
    - Example:
    |_ C:\GunZMaps\data\textures\RoTextures\Tree.PNG
    |_ or
    |_ C:\GunZMaps\data\textures\RoTextures\Tree.TGA
    * = Texture Folder Tree

    Open Radiant, Open your Current map or Create a New one.
    Select/Create the Object (Mesh) and apply your Texture on it.
    You will Notice that GTK shows a different color as the Alpha Channel, but thats normal and not necessary.

    http://www.abload.de/img/1d1dw.png

    Now Save and Compile your Map.
    After that, decompile your Map with a Mrs De/Compiler and open the "Name of your Map".rs.xml
    and search on the Material list after your Texture.

    - Example:
    <.MATERIAL name="RoTextures_Tree">
    <.DIFFUSE>1.00000000 1.00000000 1.00000000<./DIFFUSE>
    <.AMBIENT>1.00000000 1.00000000 1.00000000<./AMBIENT>
    <.SPECULAR>1.00000000 1.00000000 1.00000000<./SPECULAR>
    <.DIFFUSEMAP>RoTextures/Tree.png<./DIFFUSEMAP>
    <./MATERIAL>

    To make Gunz use the alpha channel add the following code/command
    under <./DIFFUSEMAP>.
    - Code/Command: <.USEOPACITY/>

    - Example:
    <.MATERIAL name="RoTextures_Tree">
    <.DIFFUSE>1.00000000 1.00000000 1.00000000<./DIFFUSE>
    <.AMBIENT>1.00000000 1.00000000 1.00000000<./AMBIENT>
    <.SPECULAR>1.00000000 1.00000000 1.00000000<./SPECULAR>
    <.DIFFUSEMAP>RoTextures/Tree.png<./DIFFUSEMAP>
    <.USEOPACITY/>
    <./MATERIAL>

    http://www.abload.de/img/253et.jpg
    http://www.abload.de/img/3b5gc.jpg

    We are not done yet!
    To pretend Overlapping we have to use another code/command.
    - Code/Command: <.USEALPHATEST/>

    - Example:
    <.MATERIAL name="RoTextures_Tree">
    <.DIFFUSE>1.00000000 1.00000000 1.00000000<./DIFFUSE>
    <.AMBIENT>1.00000000 1.00000000 1.00000000<./AMBIENT>
    <.SPECULAR>1.00000000 1.00000000 1.00000000<./SPECULAR>
    <.DIFFUSEMAP>RoTextures/Tree.png<./DIFFUSEMAP>
    <.USEOPACITY/>
    <.USEALPHATEST/>
    <./MATERIAL>

    http://www.abload.de/img/4h2li.jpg
    http://www.abload.de/img/5y3ri.jpg

    If you didnt put the Texture on the Opposite side of the Object (mesh) you
    just have to add this code/command to our texture to make it twosided displayed:
    <.TWOSIDED/>

    - Example:
    <MATERIAL name="RoTextures_Tree">
    <DIFFUSE>1.00000000 1.00000000 1.00000000<./DIFFUSE>
    <.AMBIENT>1.00000000 1.00000000 1.00000000<./AMBIENT>
    <.SPECULAR>1.00000000 1.00000000 1.00000000<./SPECULAR>
    <.DIFFUSEMAP>RoTextures/Tree.png<./DIFFUSEMAP>
    <.USEOPACITY/>
    <.USEALPHATEST/>
    <.TWOSIDED/>
    <./MATERIAL>

    http://www.abload.de/img/611wx.jpg
    http://www.abload.de/img/711b7.jpg
    http://www.abload.de/img/8z6us.jpg

    Save now and Compile your Folder back to a Map/Mrs (*.mrs)
    With the Mrs De/Compiler of your choice.
    Now you can go InGame and look if all fits.

    May look a bit difficult but its just adding some Codes/Commands.

    Ive figured it out by looking on several Majet Maps (decompiled).
    Last edited by HellSniper; 05-27-2009 at 02:17 AM.

  2. #2
    Joobie's Avatar FGunZ E.L.I.T.E Member

    Join Date
    May 2009
    Country
    Posts
    3,204
    Thanked
    783
    Thanks
    861
    Nice Tut HellSniper.

  3. #3
    Banned

    Join Date
    May 2009
    Posts
    670
    Thanked
    0
    Thanks
    0
    and your not a dev why?

  4. #4
    Bakuda's Avatar Freestyler

    Join Date
    May 2009
    Posts
    444
    Thanked
    0
    Thanks
    0
    yeah why aren't you dev your a pro dev YOU SHOULD BE A DEV FTW.


  5. #5
    Respect's Avatar Total Noob

    Join Date
    May 2009
    Posts
    809
    Thanked
    0
    Thanks
    0
    Hell werent u a dev b4?
    if u werent than yea u shoould be dev
    Freestylers Biggest Noob

  6. #6
    HellSniper's Avatar Mad Scientist

    Join Date
    May 2009
    Country
    Posts
    2,710
    Thanked
    74
    Thanks
    858
    I am actually one.
    But i gues thos Forum admins are to lazy to get my name Orange.
    Or Sparta is kinda mad at me lol
    (caus i wont release new stuff till the next update is done and some other thing that happend lol)

  7. #7
    Banned

    Join Date
    May 2009
    Posts
    670
    Thanked
    0
    Thanks
    0
    oh lol
    oh nvm

  8. #8
    ~Firebrand~'s Avatar Brand of Justice-Yo daddy

    Join Date
    May 2009
    Posts
    694
    Thanked
    102
    Thanks
    28
    Dude quick question other then why are you so awesome, is the first free demonstration off RO?

  9. #9
    HellSniper's Avatar Mad Scientist

    Join Date
    May 2009
    Country
    Posts
    2,710
    Thanked
    74
    Thanks
    858
    Erm huh?
    Nah i just took a Ragnarök Online (Ro) Tree model, took a screenshot and
    used it to fake a tree.
    The map where i needed those crashed, i may redo it but idk.

    And about the awesomeness, well i was just smart enough to watch/look into the xml file of some original maps

  10. #10
    StephanM's Avatar 🌹

    Join Date
    May 2009
    Country
    Posts
    16,639
    Thanked
    1,736
    Thanks
    5,423
    You got ddebug mode as window mode..
    Give me .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)