Multiple Skyboxes!

Talk about any Deus Ex game modification here, e.g. maps, package or a total conversion.

Moderator: Forum Guards

Multiple Skyboxes!

Postby KillerZ » Wed Jul 04, 07 6:30 am

This code was not done by me, but written entirely by Allan, by request from me.

This allows for multiple skyboxes to be used, each one, for a specific zone (EX: One room could be day, and the other, night )

Just import this file (ZI2.u) with UnrealEd into the map in which you want to use this mod, andmake 2+ skyboxes. Give each of these skyboxes a unique tag, and place this new ZoneInfo ( ZoneInfo2, as Allan called it ) into the zone in which you want a certain skybox to appear.

Go into the ZoneInfo2 properties, and under "Skyboxtag" enter the tag of the skybox you want to appear in that zone.
Attachments
ZI2.zip
(671 Bytes) Downloaded 436 times
Image
KillerZ
Poster
 
Posts: 189
Joined: Mon Jul 31, 06 10:49 pm

Postby MainMan » Wed Jul 04, 07 9:38 am

Yes! I love you.

One thing though, what if we have custom ZoneInfos already?
Last edited by MainMan on Wed Jul 04, 07 9:49 am, edited 1 time in total.
<center>ty m7
</center>
User avatar
MainMan
<i>Tru' Playa' Fer Defs</i>
 
Posts: 4655
Joined: Sun Jun 05, 05 7:38 am
Location: London, UK

Postby KillerZ » Wed Jul 04, 07 12:11 pm

I doubt this would interfere with it
Image
KillerZ
Poster
 
Posts: 189
Joined: Mon Jul 31, 06 10:49 pm

Postby Allan » Wed Jul 04, 07 1:01 pm

Just copy the code, then make it extend your custom zoneinfos/add it to your zones code. :D
Last edited by Allan on Wed Jul 04, 07 1:02 pm, edited 1 time in total.
User avatar
Allan
Alpha
 
Posts: 4545
Joined: Wed Dec 21, 05 1:41 pm
Location: Northamptonshire, England.

Postby Dae » Wed Jul 04, 07 1:03 pm

Good mod, though it seems to me you've reinvented the wheel

http://wiki.beyondunreal.com/wiki/MultiSkyBox
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Allan » Wed Jul 04, 07 1:09 pm

Code: Select all
class MultiSkyZoneInfo expands ZoneInfo;

simulated function LinkToSkybox()
{
    local skyzoneinfo Sky;

    Super.LinkToSkybox();

    foreach AllActors( class 'SkyZoneInfo', Sky, Event )
    {
        SkyZone = Sky;
    }
}
Seems I did make the code already found on the Wiki. :P
User avatar
Allan
Alpha
 
Posts: 4545
Joined: Wed Dec 21, 05 1:41 pm
Location: Northamptonshire, England.

Postby KillerZ » Wed Jul 04, 07 1:13 pm

All
I
Know

Is that allan wrote this upon request. :P
Image
KillerZ
Poster
 
Posts: 189
Joined: Mon Jul 31, 06 10:49 pm

Postby [FGS]ShadowRunner » Wed Jul 04, 07 4:23 pm

You're all clever bastards and DXSG_Orbital will rock hard, I'll make the skybox and leave the info and zone business to you guys... Thanks. :D

(btw: is there a DXMP version of Landenau? It is prolly my favourite map and I would like to host it...)
User avatar
[FGS]ShadowRunner
Addict
 
Posts: 732
Joined: Mon Mar 20, 06 4:29 am

Postby MainMan » Wed Jul 04, 07 4:26 pm

ShadowRunner wrote:(btw: is there a DXMP version of Landenau? It is prolly my favourite map and I would like to host it...)

No, I made it especially for DXAG. (Although I am working on a standard version, but slowly)
<center>ty m7
</center>
User avatar
MainMan
<i>Tru' Playa' Fer Defs</i>
 
Posts: 4655
Joined: Sun Jun 05, 05 7:38 am
Location: London, UK

Postby [FGS]ShadowRunner » Wed Jul 04, 07 4:30 pm

It's worth the wait... I played Wolfie and medal of honour and they are a bit cartoony for me, but Landenau really takes me to 1945...
User avatar
[FGS]ShadowRunner
Addict
 
Posts: 732
Joined: Mon Mar 20, 06 4:29 am

Postby MainMan » Wed Jul 04, 07 4:46 pm

I'm glad you like it :)
<center>ty m7
</center>
User avatar
MainMan
<i>Tru' Playa' Fer Defs</i>
 
Posts: 4655
Joined: Sun Jun 05, 05 7:38 am
Location: London, UK

Postby AgentSmyth » Thu Jul 05, 07 9:27 pm

Hmm...could this lead to something else???


Ehh, do skyboxes....umm...how do I put this...refresh...

In other words...could this possible lead to a new type of camera system...?


Please don't beat me if this was stupid...but it was just an idea... :lol:
<font color="red" size="1">Who Said Life Was Fair</font>
Image
User avatar
AgentSmyth
Regular
 
Posts: 396
Joined: Fri Oct 01, 04 6:05 pm
Location: On my Computer

Postby Eçheløn » Fri Jul 06, 07 9:21 am

Allan wrote:
Code: Select all
class MultiSkyZoneInfo expands ZoneInfo;

simulated function LinkToSkybox()
{
    local skyzoneinfo Sky;

    Super.LinkToSkybox();

    foreach AllActors( class 'SkyZoneInfo', Sky, Event )
    {
        SkyZone = Sky;
    }
}
Seems I did make the code already found on the Wiki. :P


You my friend are a god.
Thanks for this :)
Eçheløn
Poster
 
Posts: 193
Joined: Sun May 07, 06 4:55 pm
Location: Fiji


Return to Modifications

Who is online

Users browsing this forum: No registered users and 12 guests