Page 1 of 1
DLL Questions
Posted: Mon Sep 26, 2011 8:33 pm
by General BlackDragon
I am wondering something...
As you know, BZC is going to use some nifty DLL trickery for some things in BZ1.
Satellite is one of them, and I have it working well for the most part...Except one thing.
When I take the player out of their ship, it sinks to the ground (got no pilot, anyone?)
I am wondering: I used AddPilotByHandle(handle) in the DLL, but the ship still sinks to the ground, and doesn't have the player's team name/isn't commandable. Yet when the ship is destroyed in this state, a little pilot ejects out of the thing....
Is there anything else I need to add to make the pilot in it...erm...."work" ?
Re: DLL Questions
Posted: Tue Sep 27, 2011 2:25 am
by General BlackDragon
Ditched addpilot in favor of replacing entire ship.
Now, Issues:
1: I need to make this ship, with a pilot in it, do NOTHING. Not attack enemies, or move. More or less make it brain dead.
Re: DLL Questions
Posted: Tue Sep 27, 2011 4:43 pm
by Nielk1
First, I sugest you get good repo cases for all the issuse with the existing functionality that allows access to the satalite by base slot.
Second, just make the radar and set its as the player, and when they are done, set the old ship back to the player. Yes, you can actually SET something as the player.
Re: DLL Questions
Posted: Tue Sep 27, 2011 9:06 pm
by General BlackDragon
Cannot set player as non craft.
I have an invisible commvehicle spawn where their ship is, it fires sitecam at the player, then aicommand deploys, then they are set as the user.
Re: DLL Questions
Posted: Tue Sep 27, 2011 10:25 pm
by Ded10c
Hold on a second, what are you trying to do here? It is already possible to just press a key and jump to satellite view from your ship, right?
Re: DLL Questions
Posted: Tue Sep 27, 2011 10:45 pm
by Axeminister
Can't you set the ship to be a pilot so you can enter the relay bunker while in it?
Re: DLL Questions
Posted: Tue Sep 27, 2011 11:48 pm
by General BlackDragon
@AHadley, Yes, but it doesn't work in Multiworld.
@Axe, no, not exactly. In BZ1 you could activate satellite from anywhere while in your ship.
I think I got it with looking for the player's ship to not be idle while in satellite, and if so, command stop.
Now the only issue I need to fix is, you can haz more then one commtower, if one is destroyed, I need to look to see if there are any others before kicking you out of satellite.
Also, Day wreckers now work like in BZ1. 4 lines of code there ^.^
Re: DLL Questions
Posted: Wed Sep 28, 2011 9:23 am
by Ded10c
Perhaps GSH will be able to help?
Re: DLL Questions
Posted: Fri Sep 30, 2011 4:05 am
by Nielk1
A real bug with a feature that needs some repo and maybe another option? GBD submit that repo case? Hell frozen over?
Re: DLL Questions
Posted: Fri Sep 30, 2011 4:13 am
by General BlackDragon
Nielk1 wrote:A real bug with a feature that needs some repo and maybe another option? GBD submit that repo case? Hell frozen over?
Satellite canSelect not working in Multiworld is a known bug. I made and mantised a repro case long ago, GSH said he WONT fix it. too much work, and If I even think about asking him to fix it again, he's probably more likely to axe the entire feature

Re: DLL Questions
Posted: Fri Sep 30, 2011 4:19 am
by Nielk1
Ask Ken?
It should still be bugged at least so its tracked, even if it gets filed as Won't Fix.
Re: DLL Questions
Posted: Fri Sep 30, 2011 4:27 am
by General BlackDragon
Except mantis exploded.
And, I've been poking Ken about it in PM, no word on it for a while...
Re: DLL Questions
Posted: Fri Sep 30, 2011 4:33 am
by Nielk1
Ask him ONCE...