Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


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

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#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
07-15-2011, 01:14 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#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
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#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
07-15-2011, 01:36 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#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
Website Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#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
07-15-2011, 10:31 AM
Find
xtron Offline
Senior Member

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

Yes pluto.

[Image: 44917299.jpg]Dubstep <3
07-15-2011, 10:57 AM
Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#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
07-15-2011, 11:11 AM
Find
Rel Offline
Junior Member

Posts: 21
Threads: 5
Joined: Jul 2011
Reputation: 0
#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
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#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
Rel Offline
Junior Member

Posts: 21
Threads: 5
Joined: Jul 2011
Reputation: 0
#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




Users browsing this thread: 15 Guest(s)