Change the launch height/trajectory of thrown items?

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13720
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Change the launch height/trajectory of thrown items?

Post by Gambit37 »

I find that spells and thrown items are a bit too high up. I tried using Y offsets in the image definitions to move them down, but this doesn't help -- they move very erratically if you do that.

Is there any way of modifying the height an object starts at and its trajectory? I'd like to try and bring the overall eye level down a bit.
User avatar
Sophia
Concise and Honest
Posts: 4240
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Change the launch height/trajectory of thrown items?

Post by Sophia »

It wouldn't be terribly difficult to allow designers to change the numbers used by the functions that draw flying objects, but I'm pretty sure it wouldn't be particularly intuitive or useful.
User avatar
Gambit37
Should eat more pies
Posts: 13720
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Change the launch height/trajectory of thrown items?

Post by Gambit37 »

The problem I'm seeing is that thrown items seem to start too high. It's even worse for MON powered spells -- the larger image seems to start much too close to the ceiling (see the image I gave you for the animated fireball).

How is the trajectory calculated? Do you have a start height and an end height?
Post Reply