Jump to content


Photo

Apples and Peaches: Obsttorte's Mapping and Scripting Thread

mapping scripting obsttorte

418 replies to this topic

#401 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5244 posts

Posted 12 December 2016 - 02:41 AM

  1. The overlays haven't changed, just their appearence.
  2. If you just hide the hud overlays there won't be an issue. I'm not quiet sure what you mean by "masked by a new overlay". You'd have to explain this more in detail so I understand whether the scaling whould have an impact. Requiem is btw.  a mission where the hud is turned off from time to time, but as said, this should not interfere with the scaling.

FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#402 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 11921 posts

Posted 12 December 2016 - 08:40 AM

I forget which overlay it is, but I can't turn it off, and I needed to adjust a mission-specific overlay so it laid on top of the problematic overlay, hiding its display.

 

I'll see what it looks like once the code is available.

 

It's prolly not so much a problem for WS3, because I already plan an update for that, but I was curious about other missions that could conceivably have an issue.



#403 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5244 posts

Posted 12 December 2016 - 02:25 PM

All guis affected by the change are hideable in general, although the source code might interfer in some situations.

 

I report back once I made the code changes and uloaded them to svn.

 

On another note: I've experimented with a way to enable the player to knockout ai by jumping on their head out of sufficient height. Currently this is if he let himself fall off a ledge roughly 256 doom units above the ground the ai is standing on. The speed the player must gain to have enough "force" to do this is controlled via a spawnarg on the player however, so it can be easely adjusted. It works quiet nice thus far, but the implementation has to check the players speed every frame. Not overhelmingly performance houngry, but not very elegant. I tried to apply moveable falling damage which doesn't yield any effect, but the way moveables damage and knockout ai might be adoptable to player, too.


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#404 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1543 posts

Posted 15 December 2016 - 08:58 AM

Almost done with the work. Only the code side is needed. But first I wanted to get some feedback as it may needs additional fine-tuning or stuff like that.

 

You've stolen my desktop icons, you taffer! :D


  • NeonsStyle likes this

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.


#405 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36510 posts

Posted 15 December 2016 - 09:29 AM

Obs, people are reporting that when they have the mousewheel bound to weapons, frobbing the safe wheels causes them to cycle through their weapons.  I didn't realize it's not just the icons--the animations play too, which both looks awkward and blocks the player's view of the wheels.  You can see Biker demonstrate it below.  Is there anything that can be done about that?

 

https://youtu.be/P74jgjLtDB4?t=15m9s



#406 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8036 posts

Posted 15 December 2016 - 09:33 AM

Hmm. I'll bet the weapon script could include a conditional to see if the "use key" is held?


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#407 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36510 posts

Posted 15 December 2016 - 10:34 AM

How would that help?



#408 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8036 posts

Posted 15 December 2016 - 10:40 AM

As I take it, the weapon scrolling is provoked by the weapon script. If you check for the "use key" (which should be held to pick the safe),

the conditional should stop the entire weapon script including the scroll operation. Will look at the script when I get home to confirm.


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#409 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1284 posts

Posted 15 December 2016 - 11:39 AM

Maybe you could "borrow" some lines from the readables GUI. If I remember correctly, the pages are also turned with the mousewheel. The weapons also do not cycle in this instance.



#410 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36510 posts

Posted 15 December 2016 - 02:43 PM

If you check for the "use key" (which should be held to pick the safe),

 

 

There is no Use key involved.  The Use key is only used when you're manipulating objects in your inventory or things held in the grabber. 



#411 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8036 posts

Posted 16 December 2016 - 12:30 AM

I think Destined is on the right track here.

 

See "void darkmod_readable_immobile::init()" in tdm_readables.script

 

Use something like:

 

#define IM_SAFEPICK ( IM_ALL & ~( IM_VIEW_ANGLE | IM_MOVEMENT | IM_CROUCH | IM_JUMP | IM_CLIMB )

 

// stop inventory, etc

$player1.setImmobilization( "safepick", IM_SAFEPICK );

 

// when done, re-enable inventory

$player1.setImmobilization( "readable", IM_NONE );


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#412 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5244 posts

Posted 16 December 2016 - 04:33 AM

Obs, people are reporting that when they have the mousewheel bound to weapons, frobbing the safe wheels causes them to cycle through their weapons.  I didn't realize it's not just the icons--the animations play too, which both looks awkward and blocks the player's view of the wheels.  You can see Biker demonstrate it below.  Is there anything that can be done about that?

 

https://youtu.be/P74jgjLtDB4?t=15m9s

I'll take a look at the script. Can't remember the exact implementation right now, but using a gui overlay would definetely work, as it blocks the weapon selection.


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#413 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 36510 posts

Posted 21 December 2016 - 09:39 AM

I'll take a look at the script. Can't remember the exact implementation right now, but using a gui overlay would definetely work, as it blocks the weapon selection.

 

Any chance of getting a fix for this in the next few days?  I have to make a decision about including the safe in the mission for 2.05.



#414 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5244 posts

Posted 21 December 2016 - 02:57 PM

Oops. Thanks for the reminder. I'll take a look tomorrow and report back.


  • Bikerdude and nbohr1more like this
FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#415 Goldwell

Goldwell

    Team Member

  • Active Developer
  • PipPipPipPip
  • 2164 posts

Posted 24 February 2017 - 09:49 AM

.


The Accountant Series
Part 1 (coming soon) | Part 2: New In town


Lord Edgar Trilogy
Lord Edgar's Bathhouse
 
Stand Alone Missions
Spring Cleaning


#416 NeonsStyle

NeonsStyle

    Advanced Member

  • Member
  • PipPipPip
  • 1253 posts

Posted 24 February 2017 - 12:43 PM

What a great idea. 


I have a small YouTube channel making videos on a variety of games. Come and have look here:
 
https://www.youtube.com/c/NeonsStyleHD

 

 

 


#417 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5244 posts

Posted 25 February 2017 - 05:15 AM

What? :huh:


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#418 NeonsStyle

NeonsStyle

    Advanced Member

  • Member
  • PipPipPip
  • 1253 posts

Posted 09 April 2017 - 12:03 PM

How do you get a static view from this?


I have a small YouTube channel making videos on a variety of games. Come and have look here:
 
https://www.youtube.com/c/NeonsStyleHD

 

 

 


#419 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5244 posts

Posted 09 April 2017 - 12:31 PM

If you are referring to the camera disable its sweep.


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.



Reply to this topic



  



Also tagged with one or more of these keywords: mapping, scripting, obsttorte

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users