Page 1 of 1

[no]drivable

Posted: Sat Apr 22, 2006 15:37
by kgsws
can you add drivable flag like in kgzdoom?
there is my sources (i tried to add in gzdoom but i have problems with compilation) http://www.zdoom.ic.cz/download/drivable.rar

Posted: Sat Apr 22, 2006 18:21
by Graf Zahl
I'll have to take a look how it all works first. I post again when I know more.

Posted: Sun Apr 23, 2006 1:40
by kgsws
Download it again, i put into archyve original sources from kgzdoom now

and thanks :)

Posted: Sun Apr 23, 2006 9:23
by Graf Zahl
I just took a look but this won't work without extensive changes. You used a few hacks that have to be removed first (for example, you don't use sound variables for other tasks!) The biggest issue I am having with this is that you transfer the properties of the vehicle to the actual player actor instead of making the vehicle a player itself and linking it properly. This won't work with the revised state system of the floating point code.

But before I decide what to do I want to see Grubber's custom player class support first. That one looks more important to me and if the two are incompatible I'd have to dump this anyway.

THe bottom line is, don't expect any results soon. Sorry.

Furthermore, what's A_zmena and A_odhoz?

Posted: Sun Apr 23, 2006 13:45
by kgsws
i tried to some custom classes with A_zmena("class") - not function
and a_odhoz is BlastRadius for weapons
that was only for test

Posted: Sun Apr 23, 2006 15:21
by Inuyasha_989
I hate to bug you man, but could you release the code for the a_FOV command? That would make TRUE Decorate Sniper Rifles possible :D

Posted: Mon Apr 24, 2006 21:17
by kgsws
void A_FOV (AActor *actor)
{
int index=CheckIndex(1);
if (index<0 || !actor->player) return;
float newfov=EvalExpressionI (StateParameters[index], actor);
actor->player->DesiredFOV=newfov;
}

Posted: Mon Apr 24, 2006 22:46
by BlazingPhoenix
If you do add this Graf, you'd create a revolution in vehicle making....

Posted: Tue Apr 25, 2006 14:42
by grubber
Graf Zahl wrote:But before I decide what to do I want to see Grubber's custom player class support first. That one looks more important to me and if the two are incompatible I'd have to dump this anyway.
Unfortunately it will probably take some time before I finish it - I'm busy with final exams. Until they're over (27.5.2006) I can't really do much.
Graf Zahl wrote:Furthermore, what's A_zmena and A_odhoz?
Czech language. "Zmena" ("zm&#283;na" to be exact) means "a change". "Odhoz" means something like "a throwing away".

Posted: Tue Apr 25, 2006 15:30
by Graf Zahl
Ok, then this will have to wait. I don't like the implementation anyway so I most certainly won't miss it.

Posted: Tue Apr 25, 2006 23:17
by Cutmanmike
It seems like a rather messy hack anyway. I found tons of bugs with it.

Posted: Tue Apr 25, 2006 23:37
by Zeg-Vok
Yes, but the +Driveable thing is still Awesome!

Posted: Wed Apr 26, 2006 0:49
by Graf Zahl
Cutmanmike wrote:It seems like a rather messy hack anyway. I found tons of bugs with it.

It is a messy hack. After some further investigation of what exactly it is doing I decided not to bother any further with this. I'd have to rewrite this from scratch to make it work.