Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 25 Vote(s) - 4.44 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Us To Improve the Wiki!
Author Message
plutomaniac Offline
Super Moderator

Posts: 5,958
Joined: May 2011
Reputation: 172
Post: #41
RE: Help Us To Improve the Wiki!

yes, exactly what Tan said. I never saw that video. The idea came from the elevator mainly but for lamps. Exactly that. So what you used is the same as Kyle suggested? If so I will start adding such switches at Unbirth for later scripting use.

Always one step ahead Tan, always! Smile Smile

[Image: L72ChX.png]
07-15-2011 01:14 AM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #42
RE: Help Us To Improve the Wiki!

I was only adding the simplest way you can do it. You can set billboards, actual lights, and whatever you can think of active and unactive.

07-15-2011 01:31 AM
Find all posts by this user Quote this message in a reply
plutomaniac Offline
Super Moderator

Posts: 5,958
Joined: May 2011
Reputation: 172
Post: #43
RE: Help Us To Improve the Wiki!

Thank you Kyle. I may ask for some more things in the future like that for my mod Unbirth. I hope you don't get bored! Smile Smile

[Image: L72ChX.png]
07-15-2011 01:36 AM
Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 66
Post: #44
RE: Help Us To Improve the Wiki!

Thanks Smile
Well, they're actually lamp entities with their own billboards and actual lights. Here's the simple code as Kyle suggested, but a little different:
void Lamp_1(string &in EntityName, int alState)
{
    if( alState == -1)
        SetLampLit("lamp_flourescent01_shadowL_1", false, true);
    if( alState == 1)
        SetLampLit("lamp_flourescent01_shadowL_1", true, true);    
}

07-15-2011 01:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
plutomaniac Offline
Super Moderator

Posts: 5,958
Joined: May 2011
Reputation: 172
Post: #45
RE: Help Us To Improve the Wiki!

Thank you Kyle and Tan. So the modification that Tan posted will work for the modern lamps that we are using, right? Smile

[Image: L72ChX.png]
07-15-2011 10:31 AM
Find all posts by this user Quote this message in a reply
xtron Offline
Senior Member

Posts: 402
Joined: May 2011
Reputation: 2
Post: #46
RE: Help Us To Improve the Wiki!

Yes pluto.

[Image: 44917299.jpg]Dubstep <3
07-15-2011 10:57 AM
Find all posts by this user Quote this message in a reply
plutomaniac Offline
Super Moderator

Posts: 5,958
Joined: May 2011
Reputation: 172
Post: #47
RE: Help Us To Improve the Wiki!

(07-15-2011 10:57 AM)xtron Wrote:  Yes pluto.

nice! Should start adding switches then. Cool

[Image: L72ChX.png]
07-15-2011 11:11 AM
Find all posts by this user Quote this message in a reply
Rel Offline
Junior Member

Posts: 21
Joined: Jul 2011
Reputation: 0
Post: #48
RE: Help Us To Improve the Wiki!

Hey how do i create new pages on the wiki. All i found so far is that i need to install dokuwiki but from my understanding that would be for my own wiki and not frictional.

I already registered but all i can seem to do is edit pages, not create them.
07-18-2011 05:01 PM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #49
RE: Help Us To Improve the Wiki!

(07-18-2011 05:01 PM)Rel Wrote:  Hey how do i create new pages on the wiki. All i found so far is that i need to install dokuwiki but from my understanding that would be for my own wiki and not frictional.

I already registered but all i can seem to do is edit pages, not create them.

What do you plan to make a page for? You first have to create a hyperlink to a page that you name and then it will be highlighted in red. Then you click on it and it asks if you want to make that page.

07-18-2011 05:05 PM
Find all posts by this user Quote this message in a reply
Rel Offline
Junior Member

Posts: 21
Joined: Jul 2011
Reputation: 0
Post: #50
RE: Help Us To Improve the Wiki!

(07-18-2011 05:05 PM)Kyle Wrote:  What do you plan to make a page for? You first have to create a hyperlink to a page that you name and then it will be highlighted in red. Then you click on it and it asks if you want to make that page.

Aight thanks, I plan on making a tutorial on prop usage, detail, and workable dimensions for props, all in the same page.
(This post was last modified: 07-18-2011 05:19 PM by Rel.)
07-18-2011 05:18 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)