Author |
Message |
Smong Server Help Squatter
![](images/avatars/0ded63e6211a7914434ac7e90e9dbb384325f55cafcb2.gif)
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Sun Jun 10, 2007 7:47 am Post subject: <py> craters |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Jonus Novice
Age:52 Gender:![Gender:Male Gender:Male](templates/subSilver/images/icon_minigender_male.gif) Joined: May 23 2006 Posts: 35 Location: Illinois Offline
|
Posted: Tue Jul 24, 2007 10:41 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
tcsoccerman Server Help Squatter
Age:32 Gender:![Gender:Male Gender:Male](templates/subSilver/images/icon_minigender_male.gif) Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Wed Jul 25, 2007 2:19 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Dr Brain Flip-flopping like a wind surfer
![](images/avatars/a2335e2a6dbdf0ede075c3c849fb2440483075badbafe.png)
Age:38 Gender:![Gender:Male Gender:Male](templates/subSilver/images/icon_minigender_male.gif) Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Jul 25, 2007 6:40 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
tcsoccerman Server Help Squatter
Age:32 Gender:![Gender:Male Gender:Male](templates/subSilver/images/icon_minigender_male.gif) Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Wed Jul 25, 2007 7:03 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
true
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Jonus Novice
Age:52 Gender:![Gender:Male Gender:Male](templates/subSilver/images/icon_minigender_male.gif) Joined: May 23 2006 Posts: 35 Location: Illinois Offline
|
Posted: Wed Jul 25, 2007 7:35 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
Thanks for the replies.
If anybody gets some time it would be appreciated.
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KrynetiX Seasoned Helper
![](images/avatars/87d236222d0ae216c0988e33d95633de58b2d2de7964c.png)
Gender:![Gender:Male Gender:Male](templates/subSilver/images/icon_minigender_male.gif) Joined: Jan 06 2003 Posts: 137 Location: Poconos Offline
|
Posted: Thu Jul 26, 2007 12:48 am Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
nice
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Smong Server Help Squatter
![](images/avatars/0ded63e6211a7914434ac7e90e9dbb384325f55cafcb2.gif)
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Thu Jul 26, 2007 2:07 pm Post subject: |
![Reply to topic](templates/subSilver/images/lang_english/reply_mini.gif) |
|
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|