Author |
Message |
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Sun Jun 10, 2007 7:47 am Post subject: <py> craters |
|
|
|
|
This module places lvz mapobjects where players die. So it can be used to place craters or ship junk to give a realism effect. Lvz sample included.
If you still don't know what I'm on about, think of the game Worms and the tombstones that are left behind when the worms die. _________________ ss news
1.4.3 py lvz
asss-craters.zip - 10.59 KB
File downloaded or viewed 61 time(s)
|
|
Back to top |
|
|
Jonus Novice
Age:52 Gender: Joined: May 23 2006 Posts: 35 Location: Illinois Offline
|
Posted: Tue Jul 24, 2007 10:41 pm Post subject: |
|
|
|
|
Hey Smong, nice module
I was wondering if its possible to make this module ship specific. If a warbird dies, if would show a specific image for the warbird. Spider dies it would show a specific image for the spider and ect for each ship.
Also, how long does the image stay on the map? Is this time configurable?
Thanks,
|
|
Back to top |
|
|
tcsoccerman Server Help Squatter
Age:32 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Wed Jul 25, 2007 2:19 pm Post subject: |
|
|
|
|
it would be very easy. i'll do it if i feel like it sometime.
if(p.ship == SHIP_WARBIRD)
{
drop this crater
}
if(p.ship == SHIP_JAVELIN)
{
drop this crater
}
etc...
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Jul 25, 2007 6:40 pm Post subject: |
|
|
|
|
For the record, it would be much better to put it in an array than an 8 way if statement. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me
|
|
Back to top |
|
|
tcsoccerman Server Help Squatter
Age:32 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Wed Jul 25, 2007 7:03 pm Post subject: |
|
|
|
|
true
|
|
Back to top |
|
|
Jonus Novice
Age:52 Gender: Joined: May 23 2006 Posts: 35 Location: Illinois Offline
|
Posted: Wed Jul 25, 2007 7:35 pm Post subject: |
|
|
|
|
Thanks for the replies.
If anybody gets some time it would be appreciated.
|
|
Back to top |
|
|
KrynetiX Seasoned Helper
Gender: Joined: Jan 06 2003 Posts: 137 Location: Poconos Offline
|
Posted: Thu Jul 26, 2007 12:48 am Post subject: |
|
|
|
|
nice
|
|
Back to top |
|
|
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Thu Jul 26, 2007 2:07 pm Post subject: |
|
|
|
|
In the example the images stay forever until they get recycled (oldest layed cratered gets relaid). But you can edit the ini up to about 7 minutes (lvz limitation).
|
|
Back to top |
|
|
|