 
General Info
Main Page
Latest News
Schedule
What is it?
About Matt
About This Site
Duke Enhancements
Latest Features
Older Features
Cheat Codes
Duke Insider
Language Basics
Compile Time
Room over Room
Player Structures
UserDef Explanations
More Information
Features Database
E Duke Forum
WW2GI Enhancements
Variables
Weapon Changes
Weapon Settings
System Variables
Events
All
|

Enhanced Duke Nukem Ideas
Copyright (C) 2000, Matt Saettler. All Rights Reserved.
Criteria:
|
| IdeaID is 17 |
| No Sorting |
Ranking |
Name |
Thinker |
500 |
Cstat for Rotate |
Usurper |
Difficulty Not Set by Matt |
Description |
a cstat value for rotating a sprite 90 degrees either left or right. I made a crossbow once that I wanted to spawn wall-aligned arrows upon impact. Because the sprites spawn facing the direction of the sprite that spawned them (or so it seems anyway), the sprites would be aligned perpendicular to the angle I wanted them to be on. I had to settle for floor aligned sprites, which didn't look as good.
Ah, I mentioned a cstat value or something to make a sprite rotate 90 degrees. That was kind of a confusing explanation. I'll try again. Say you've modified the rocket to be an arrow. You fire the arrow into a wall. Now, you've coded the explosion to be invisible and spawn an arrow that's lodged in the wall. You'd rather have the lodged arrow be wall-aligned than floor aligned, but sticking out of course. This can't really happen though, because the front of the sprite for the rocket is facing the wall, as is the explosion that spawned it, and the lodged-arrow spawned by the explosion. The arrow ends up sideways, whereas you want the tail of the arrow to face you. This would really be unnecessary with voxels though, so this one I wouldn't worry about. |
Matt's Comments |
Voxesls would make this much easier, of course. I'd have to dig deep into the code again to see how to make something perp. to the well.... But it should be doable.(this would be a 5- or 8-sided (n-sided) sprite, right |
|