lfnetwork.com mark read register faq members calendar

Thread: Wall damage
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-07-2007, 09:56 PM   #1
madjawa
Rookie
 
madjawa's Avatar
 
Join Date: Apr 2005
Posts: 30
Wall damage

Hi
Sorry, the topic title isn't very clear but I don't really know how to call that...
I want to make that when a player (or bot, npc) hits a wall (or ceiling) fast enough, it gets damaged (like falling damage but with walls, ...)

Is it hard to do? I don't have any idea on how to do this...

Thanks in advance
madjawa
madjawa is offline   you may: quote & reply,
Old 07-08-2007, 09:16 AM   #2
DarthDie
Junior Member
 
DarthDie's Avatar
 
Join Date: May 2005
Location: The Matrix
Posts: 407
Edited: What I said before wont work..


OJP Sponsors and websites

"...and what about all those screenshots in there of DarthDie with a swastika of demo charges."
DarthDie is offline   you may: quote & reply,
Old 07-08-2007, 11:17 AM   #3
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Unless the wall is an entity (func_breakable) You cannot make the world geometry break like what you want to do. And you cannot make an entire map out of func_breakable. Because you need world geometry or it will fail to compile. Infinite leaking, etc. And entities don't interact like normal world geometry even brush entities.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 07-12-2007, 07:23 AM   #4
SMoKE
Rookie
 
SMoKE's Avatar
 
Join Date: Aug 2004
Location: Norway
Posts: 125
And there is a max number of func_breakables too.. 255 I believe. If you add the spawnflag "Thin" to the breakable (it's a checkbox in the Entity Window), it works like glass, so you can jump on it, and it breaks.


SMoKE Designs
Website | Forums

The Matrix Unleashed
Website | Forums

The Knights of the Old Republic Series
Website | Forums
SMoKE is offline   you may: quote & reply,
Old 07-12-2007, 12:47 PM   #5
XycaleTh
Rookie
 
XycaleTh's Avatar
 
Join Date: Apr 2006
Location: UK
Posts: 67
I think he's asking how you would give damage to the player if they were moving at a high enough velocity into a wall. Not damaging the wall.
XycaleTh is offline   you may: quote & reply,
Old 07-13-2007, 03:38 PM   #6
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
FYI That already happens. It's called falling damage. :S


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 07-13-2007, 11:50 PM   #7
Tinny
 
Tinny's Avatar
 
Join Date: Apr 2002
Posts: 1,188
Yeah, thing is running and bunny hopping with force speed with incredible speed way higher than the speed of falling a couple stories gives you no damage when you bump into a wall. Like Ensi said I think just take a look at the fall damage code.


Redeemed!

An old school mod for jedi academy.
Tinny is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > Wall damage

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:43 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.