Duke4.net Forums: CON coding problems. - Duke4.net Forums

Jump to content

  • 17 Pages +
  • « First
  • 15
  • 16
  • 17
  • You cannot start a new topic
  • You cannot reply to this topic

CON coding problems.  "Improvements and progress."

User is offline   F!re-Fly 

#481

I have created several new floors and there is only one that kills the player or / is the enemies. On top of that, I paid a lot of tribute to the beta version. However, there are two small things that I have failed to do correctly.

1. Automatically activate boots for these new floors.

2. In the "EVENT_USESTEROIDS" event, activate one of the two quotes at random once (quote 12 and quote 325).

gamevar BOOTAMOUNT 0 1
gamevar FLOORTEMP 0 2
gamevar FLOORTEMP2 0 2
gamevar GETTEMP4 0 2
gamevar GETTEMP5 0 2
gamevar x 0 2
gamevar y 0 2
gamevar z 0 2

state getfloordist
  getactor[THISACTOR].x x
  getactor[THISACTOR].y y
  updatesector x y GETTEMP4 // you should not trust [THISACTOR].Sectnum
  ifvarn GETTEMP4 -1
  getflorzofslope GETTEMP4 x y z
  getactor[THISACTOR].z GETTEMP5
  subvarvar z GETTEMP5
  shiftvarr z 8
  subvar z 1
ends

state bluefloordead // new deadly floor
  state getfloordist
  ifvarl z 5
  {
    ifdead break
    else
    {
      ifvarg player[THISACTOR].boot_amount 0 break
      setvar BOOTAMOUNT 200
      getsector[THISACTOR].floorpicnum FLOORTEMP
      ifvare FLOORTEMP BLUEFLOORDEAD
      {
        setactor[THISACTOR].htextra FLOORTEMP
        getactor[THISACTOR].extra FLOORTEMP2
        sound DUKE_DEAD
        sound TELEPORTERLIZ64
        espawn SPARKLE_LIGHT
        setactor[RETURN].xrepeat 60
        setactor[RETURN].yrepeat 60
      }
    }
  }
ends

onevent EVENT_USESTEROIDS
  ifvarg player[THISACTOR].steroids_amount 0
    setvar STERAMOUNT 400
  ifvarg player[THISACTOR].steroids_amount 0
  {
    setvar STEROIDSTEMP 1
    quote 12
      ifrnd 64
        quote 235
    setvar STEROIDSTEMP 0
  }
endevent

0

#482

I don't know if it can help, but among all his features Naferia's Reign: Invasion Of The Dark Mistress mod have also various custom floors with different damaging effects, you may found something to understand which parameters change.
0

User is offline   F!re-Fly 

#483

View PostFantinaikos, on 19 April 2020 - 05:12 PM, said:

I don't know if it can help, but among all his features Naferia's Reign: Invasion Of The Dark Mistress mod have also various custom floors with different damaging effects, you may found something to understand which parameters change.


Thank you very much ! The only thing I wanted to do was activate the protection boots.
0

User is offline   F!re-Fly 

#484

Trooper Dan! Are there deadly new floors in the Alien Armageddon project?

I could surely rely on the script which is very simple.
0

User is offline   F!re-Fly 

#485

Old first idea fixed !

HIP HIP HIP HURRRRAH !!!!!! :lol:


0

User is offline   F!re-Fly 

#486

Two settings are missing for all these new cards:

1. fast handholding animation (identical to the original game). The current animation is slow and I have not found the means to increase the speed of display on the screen.

2. During this animation, make sure that the player remains blocked on the spot (impossible movements, a bit as if he were frozen).

This post has been edited by F!re-Fly: 26 April 2020 - 09:59 PM

0

User is offline   F!re-Fly 

#487

Conclusion: if you have time to help me correct the four little problems on this 17th page and this thread, I would be really happy.

And if you also tell me that you did not have time, I would also be very happy. What this means is that I'm still on the right path to progress with the wiki.

COME GET SOME!!! :)

This post has been edited by F!re-Fly: 28 April 2020 - 05:48 AM

0

User is offline   F!re-Fly 

#488

Mod progress, still OK!

Problems mentioned still not fixed.
0

User is offline   F!re-Fly 

#489

Hello guys! I still have a few details to work out and I still need help fixing everything. I will wait patiently for your return. In the meantime, I took a well-deserved break.

:)
0

User is offline   F!re-Fly 

#490

I did not manage to correctly define the fast animation of the new access cards, as well as the blocking of the player during the animation sequence.

Can the "weapon_pos" command be at the origin?
0

User is offline   F!re-Fly 

#491

New item inventory added:

Space suit / body suit
+ toolbox and jumpboot for the Nuclear Showdown mod. Good ideas recovered!

The hud is progress.
0

User is offline   F!re-Fly 

#492

Slow progress, but surely!

I added the babes code to saved, thanks to the examples already present on the forum. It only remains to find a way to increment the variable "babes_left" on the bonus screen.

I also have some difficulties in the hud at the moment.
0

User is offline   F!re-Fly 

#493

Hello!

Are there still active people on the forum? I'm in a bind to finally finish the mode.
0

Share this topic:


  • 17 Pages +
  • « First
  • 15
  • 16
  • 17
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options