Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Genki

Members
  • Content count

    247
  • Joined

  • Last visited

Posts posted by Genki


  1. Hello;

    I created an elevator that is lowered by default, the idea is that you need to activate a switch so that the floor of the elevator raises to a certain level, here is the script for the 1st switch:

    -------------------------------------------------------------------

    #include "zcommon.acs"


            int lift1;

    script 1 (void)
        {
            if (gametype()==GAME_NET_DEATHMATCH){
                terminate;
                }

            lift1 = 1 ;
            changecamera(1,1,0);
            delay(16);
            Floor_MoveToValue(2,12,232);
            print(s:"The lift is now functional");
            delay(160);
            changecamera(0,0,0);
            }

    --------------------------------------------------------------------

    And there is another switch when you press (when the lift is not activated) nothing happens, but shows a message that says: "the lift is not working" but when you activate it you become able to use the 2nd switch to raise and lower the lift without the message appearing.

     

    My question is: how to insert a script for the 2nd switch when the lift is not activated with a message, and when it is activated but without message?


  2. Greetings;

    I'm searching for wads that I lost recently due to hard drive failure, I had them archived kind of a collection actually, last time I played them was like a year ago.

    - it was in a hexen format, it has pickups, great visuals, an arena (perhaps?) where you fight a horde of monsters, there was a developpement thread about it here and in zdoom, a youtube video was made for gameplay.

    - Last one, hard to remember as details are vague -if it can't be helped, it's ok- you start in a station, space maybe, you can jump and crawl into vent tunnels, it had a secret teleporter which leads you to a hellish area which you see a light entity and bloody textures fill the whole area.

    Big thanks in advance for trying or making an effort to help, stay safe.


  3. scifista42 said:

    Looks like dynamic lights, which only work in OpenGL, they are placeable into maps as things, and these things are available in mapping editors when using (G)ZDoom-specific editor configurations.

    Ok, I got the general idea, but how do I create that pointlight? How do I determine the color, sorry for this totally noob lol, I need a template if you don't mind :)


  4. If you have a room with 4 switches and a door, and you want to click them in the right order to open the door, what is the correct script for that? say the layout looks something like this:

    ----Sw3----Sw4----Dr----Sw1----Sw2----

    You start with Sw1,Sw2,Sw3,Sw4.

    And if the player clicks wrongly a monster appears in "spot5"
    Thanks.

×