Jump to content

Doubt about land mines (Gothic)


Recommended Posts

Hello everyone, today I have a question for those more familiar with DECORATE. Well, first I want to congratulate the author of this weapon/trap called Ghotic (if he's seeing this) I really liked it.
After modifying some things in this weapon, like damage, actor flags and etc, I felt that I should "balance" this feature in the game, does anyone know which actor flag or if I have to create a new class so that land mines also detonate with the approach of player?

 

 

                                               Screenshot_Doom_20210630_015243.png.0db97c8ca5c844ab26ab0698e7384f92.png

Share this post


Link to post

Got a link to that WAD? As it so happens, I'm actually trying to code up a landmine myself for a project I'm working on, and I can't quite figure out how to make it do what I'd like, so a code reference would be amazing.

Share this post


Link to post
35 minutes ago, Dark Pulse said:

Tem um link para esse WAD? Na verdade, estou tentando codificar uma mina terrestre para um projeto no qual estou trabalhando, e não consigo descobrir como fazer o que eu gostaria, então uma referência de código seria incrível.

Here it is (I haven't tested spring mine).

LandMineLayer.zip

SpringMine.zip

Edited by K_Doom
wrong phrase

Share this post


Link to post

The TOUCHY flag will cause stuff to die if the player touches them. That should work for your mines, I think.

Share this post


Link to post
4 hours ago, Gez said:

The TOUCHY flag will cause stuff to die if the player touches them. That should work for your mines, I think.

I'm actually trying this and the player for some reason just walks through the mine with TOUCHY set, even though SOLID is also set.

 

Height/radius are also both set.

 

EDIT: Okay, apparently SHOOTABLE must be set in order for it to actually be able to be damaged even if you're just wanting it to be walked into... so now I gotta find a way so the player can't shoot the mines. (The original game did not allow for this.)

 

EDIT 2: So... +SHOOTABLE to make it actually able to be damaged, then +NONSHOOTABLE to be able to be walked into but NOT shot. It looks ironic as hell right next to each other, but well, it works!

 

Maybe SHOOTABLE should be renamed? CANBEDAMAGED or something?

Edited by Dark Pulse

Share this post


Link to post

IIRC there's a flag called VULNERABLE that ought to do the same thing as the SHOOTABLE+NONSHOOTABLE combo.

Share this post


Link to post
16 hours ago, Gez said:

A bandeira TOUCHY fará com que as coisas morram se o jogador tocá-las. Isso deve funcionar para suas minas, eu acho.

Unfortunately it didn't work ;-;

Share this post


Link to post

Wasn't there a sticky bomb in QStuff Ultra that basically did the same thing? If I recall it didn't stick to players, just to the ground. ~ and walls maybe.

If I recall, it had a weapon randomizer, so it may depend on which weapon is placed before you get a chance to use the sticky launcher. 

Edited by Mr.Rocket

Share this post


Link to post
19 hours ago, Mr.Rocket said:

Wasn't there a sticky bomb in QStuff Ultra that basically did the same thing? If I recall it didn't stick to players, just to the ground. ~ and walls maybe.

If I recall, it had a weapon randomizer, so it may depend on which weapon is placed before you get a chance to use the sticky launcher. 

Well I tested it but I didn't find anything related to what I wanted.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...