Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Grenades that wont explode ??

Author
Message
Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 25th Dec 2008 14:39 Edited at: 25th Dec 2008 14:41
Hey all. I was wondering, Is it possible to create grenades that wont explode and you can just thorw around. I know this sounds stupid but why i wanna do this is because i was gona make a game and one level ju mut break all windows. So The grenade that wont explode could be remodelled or to rock and you could throw rocks at the windows. Btw: Srry if u cant understand, I'm Finnish..

EDIT: I'm not requesting anything

Yea, I'm from Finland =DDD
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 25th Dec 2008 16:25
first set the grenade to have a huge lifespan in the settings. then put the bounce quantity on a high number too. then set the damage to 0 just to make sure that if it does explode then it wont kill the player.

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 25th Dec 2008 18:32 Edited at: 25th Dec 2008 18:40
Thx Dar It works great

EDIT: No, no it doesn't. It wont explode and stuff but it cant break the windows when i throw it towards them.

Yea, I'm from Finland =DDD
Saint Drake
15
Years of Service
User Offline
Joined: 13th Oct 2008
Location: Gosh...I think Im on the computer?
Posted: 25th Dec 2008 19:16
Put the window's strength to some low number. Like one, for instance

Should work like a charm.

bewm. hedshawt.
djmaster
User Banned
Posted: 25th Dec 2008 19:55
you cant do that without an explosion or meele hit or gun shot

Current FPSC Projects:
When Zombies Attack-20% (ON HOLD)
Doomsday RPG-5%
Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 26th Dec 2008 13:40
damn =/ Well thanks anyway

Yea, I'm from Finland =DDD
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 26th Dec 2008 20:06 Edited at: 26th Dec 2008 20:24
Quote: "you cant do that without an explosion or meele hit or gun shot"

HMMM

Quote: "V1.1.3 BETA 1 - 22/07/08
------------------------

* Seperated Game Creator Store from main FPSC interface (to allow store to be updated independently of editor code)
* Added PLRSETHEALTH and PLRSUBHEALTH to set the players health, and to subtract from the players health value
* Added ADDHEALTH, SUBHEALTH and SETHEALTH to set, increase and decrease the entities health value
* Added new HEALTHPRISON.FPI script to show use of above entity health commands"


I have not tried v1.13 yet, but the SUBHEALTH action might be able to break that window if you script it right.

I am still using V1.12 until I finished my zombie game, but now I am really thinking about starting over from scratch.
The new features of V113 and V114 are really tempting me to scrap my V112 project in order to upgrade.
Just the thought of throwing a rock through a window not being possible really urks me, so I may have to upgrade after all.

Lee has added about every feature that I ever dreamed of now that we have scancodes, headshots, variables, and entity health controls.
The FPI is really greater now than I ever imagined it would be, and the need for workarounds is rapidly fading away.
We really have a lot of control now to make things happen that were not possible before.
So, it's time to "get jiggy with it".

The FPSC Showcase is really going to shine in 2009.

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 26th Dec 2008 22:31
...hmmn.

This is surely worthy of a bump.

Plystire, do you have any suggestions?


Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th Dec 2008 23:07
From what I've seen and done with damage dealing physics objects, an object with a health value from 1-4 (Yes, that's pretty dang low) should be destroyed by a thrown object.... heck, Lee's comment in the source suggests that an entity with health that low should break from the player running THROUGH it.


Of course, I've never sat down and tried to run through windows, so I can't say.


The problem with scripting this to break when a grenade is thrown at it is there's no way to determine if the grenade hit the window.

On another note, flak generated by a weapon does not seem to provided any sort of force... so throwing it at a box will not move the box, let alone damage it.


My suggestion would be to use a brick with a physics force damage of 200 or so.


The one and only,


CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 26th Dec 2008 23:09
Lol...

Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 28th Dec 2008 16:39 Edited at: 28th Dec 2008 16:40
yeah but u cant set physicsforce damge to grenade?

So other hand, this must be impossible?

Yea, I'm from Finland =DDD
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 28th Dec 2008 16:50
Impossible?

...no.

Not possible?

...at this time, without a modification of the source code, yes.




Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 28th Dec 2008 19:57
well i dont really understand what are you saying Isnt

impossible and Not Possible the same?

Yea, I'm from Finland =DDD
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 28th Dec 2008 20:06
Quote: "My suggestion would be to use a brick with a physics force damage of 200 or so"


That's going to be the easiest way. Make a rock, use a chair, etc. All of these things work fine when the window strength is set low, but fighting with a weapon to make it a simple object just doesn't make sense, especially when you already have the model and texture to turn it into a simple entity.

Quote: "i was gona make a game and one level ju mut break all windows."


A bigger problem may be a large number of dynamic windows in the level, and what they'll do for the FPS.

Best.

Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 28th Dec 2008 20:26
oh, i just realised how bad i'm at typing srry if my text was hard to read but yea, I'mma use that brick with high psyhics force damage. t hx guys, It would be hard at the forums if you wouldnt be here.

Yea, I'm from Finland =DDD
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 29th Dec 2008 14:11
Quote: "well i dont really understand what are you saying Isnt

impossible and Not Possible the same? "


...nope.

Impossible is close ended, and absolute.

Not Possible (at this time) is open ended, and could change in the future.




Silver Eye Productions
User Banned
Posted: 29th Dec 2008 20:46
Sorry for asking this stupid question, but what is really a bump?

My FPS Creator (running V114 BETA 4.. don't really remember.)
When i trow grenades (using the grenades form model pack 10)
It wont throw a grenade! It only throws nothing and make a hole in the floor (bullet hole)!

NL's Warehouse 2009
Robert F
User Banned
Posted: 29th Dec 2008 22:28 Edited at: 29th Dec 2008 22:46
This isn't impossible. I will try it right now.

Edit: Sorry I can't figure it out.

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 30th Dec 2008 07:40 Edited at: 30th Dec 2008 08:09
I played around with this and got grenades to break the window on impact. (you need the explosion for it to work)
I take it you already know how to get rid of the explosion decal and sound. (blank decal and silent sound wav replacements of flak originals)
Then there is but two things left to do.


grenades gunspec ...

explodeonhit = 1



Window's Properties...

Strength = 1


NOT immposible, and NOT not possible too. (that double negative means IT IS POSSIBLE to throw rocks through windows in FPSC!)

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 30th Dec 2008 18:17
...hmmmn.

Well, how about that?

Nice work, Conjured Entertainment!


Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 18th Jan 2009 10:56
Nice work indeed : D

Yea, I'm from Finland =DDD
Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 18th Jan 2009 11:01
When I first purchased model pack 16,

I placed a window with health 1, spawned a dynamic, heavy and strong radiator, and the window broke upon impact.

Your signature has been erased by a mod - Please reduce the combined size to 600x120 maximum size

Login to post a reply

Server time is: 2024-10-11 23:22:29
Your offset time is: 2024-10-11 23:22:29