At least, I *think* they're discoveries ![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)
I messed up in my kyle.cog and did this..
in init_kyle_multi: i have the following line..
if(pmodel)
{
}
else
{
pmodel=GetThingModel(player);
}
So my first playermodel was a Bwing.. but kyle.cog thought I was a TIE Fighter (thats my ky.3do).. however.. the weapons cogs thought I was a Bwing.
Now for the discovery: I exited the game and tried the Assault Gunboat model...
....and two of the weapons that the Gunboat and Bwing both can use (they fire different depending on the model)...
...were firing as if the Gunboat were a Bwing.
"WHAT THE @#$*?" But then it occured to me...
Apparently Cog variables are NOT RESET EVEN IF YOU EXIT AN MP/SP GAME AND START ANOTHER SP/MP GAME (unless you have the cog setup in, say, Startup: to have pmodel=-1;, or in symbols pmodel=-1).
Interesting, no?
Well, there's more. As per me messing with the Bwing's Eyeoffset (the bwing model is rather...well lets just say its about 6m to the left of the center of the model), I saw that the 3rd person camera apparently is fixed at a certain distance away from the eyeoffset. This coulda been found out before, but I don't remember hearing any of it.
![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)
I messed up in my kyle.cog and did this..
in init_kyle_multi: i have the following line..
if(pmodel)
{
}
else
{
pmodel=GetThingModel(player);
}
So my first playermodel was a Bwing.. but kyle.cog thought I was a TIE Fighter (thats my ky.3do).. however.. the weapons cogs thought I was a Bwing.
Now for the discovery: I exited the game and tried the Assault Gunboat model...
....and two of the weapons that the Gunboat and Bwing both can use (they fire different depending on the model)...
...were firing as if the Gunboat were a Bwing.
"WHAT THE @#$*?" But then it occured to me...
Apparently Cog variables are NOT RESET EVEN IF YOU EXIT AN MP/SP GAME AND START ANOTHER SP/MP GAME (unless you have the cog setup in, say, Startup: to have pmodel=-1;, or in symbols pmodel=-1).
Interesting, no?
Well, there's more. As per me messing with the Bwing's Eyeoffset (the bwing model is rather...well lets just say its about 6m to the left of the center of the model), I saw that the 3rd person camera apparently is fixed at a certain distance away from the eyeoffset. This coulda been found out before, but I don't remember hearing any of it.