MantisBT - Zandronum | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002193 | Zandronum | [All Projects] Suggestion | public | 2015-04-17 02:25 | 2024-01-29 15:01 |
| Reporter | StrikerMan780 | ||||
| Assigned To | |||||
| Priority | high | Severity | major | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0002193: Backport CrimsonDusk's GetSectorFloorZ/CeilingZ changes for 2.1 | ||||
| Description | There was a change to GetSectorFloorZ/GetSectorCeilingZ that allowed you to pass 0 as an argument to represent "Any" sector. This is necessary for a dynamic weather system I have in the works, and was hoping to be able to use this feature in Zandronum 2.1. 'http://zdoom.org/Changelog/d7a24357/files [^]' | ||||
| Steps To Reproduce | |||||
| Additional Information | Here's a sample script that is using this, to spawn raindrops at the correct Z coordinate of the sector it's spawning in. This works in GZDoom and ZDoom, but not Zan. script 910 ENTER CLIENTSIDE { if(ConsolePlayerNumber() != PlayerNumber()) { Terminate; } while(1) { int WeatherType = GetCVar("smmp_weathertype"); if(WeatherType > 0) { int Density = GetCVar("smmp_weatherdensity"); for(int i = 0; i < Density; i++) { int x = GetActorX(0) + random(-512.0, 512.0); int y = GetActorY(0) + random(-512.0, 512.0); int z = GetSectorCeilingZ (0, x >> 16, y >> 16) - random(1.0, 8.0); SpawnForced(RainActors[WeatherType-1], x, y, z); } } delay(1); } } | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-04-17 02:25 | StrikerMan780 | New Issue | |||
| 2015-04-17 15:42 | Ivan | Note Added: 0012123 | |||
| 2015-04-17 16:03 | ibm5155 | Note Added: 0012124 | |||
| 2015-04-17 16:09 | ibm5155 | Note Edited: 0012124 | bug_revision_view_page.php?bugnote_id=12124#r6974 | ||
| 2015-04-17 17:30 | StrikerMan780 | Note Added: 0012125 | |||
| 2024-01-29 15:01 | Ru5tK1ng | Note Added: 0023031 | |||
| 2024-01-29 15:01 | Ru5tK1ng | Status | new => resolved | ||
| 2024-01-29 15:01 | Ru5tK1ng | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||