|
Post by Major Pain on Mar 27, 2015 3:27:35 GMT 1
“You underestimate the power of the Blitzkrieg Dark Side”
|
|
Mogwaii
Stariji vodnik
Pseudo n°2 : Adonaiis
Posts: 53
|
Post by Mogwaii on Mar 28, 2015 1:56:39 GMT 1
Thank you for info...
Good to see you back with us...
MP Oh, I never really left. Between playing other games, further development of the mod Offikrieg with my friends, IRL, etc ... I do not see the time passing.
Besides, I take this message to ask you, Major Pain, if you know the handling to be performed to allow a vehicle to become "neutral" when there is no unity on board. In the game "Desert Law," this is how it works and I looked in the xml files, lua files but failed to identify the source of this operating principle. I hope that we should not intervene in the .dll items!
In any case, thank you and good game at all ...
The darkside ... Blitzkrieg ... hurrah! ariete : No, Steam sells Blitzkrieg Anthology, as have said Major Pain. I just wanted to inform the players that two stand-alone were now available. Especially that one of them was wanted by Major Pain.
|
|
|
Post by Major Pain on Mar 28, 2015 2:08:02 GMT 1
Thanks Mogwaii for your response.
Actually, I'm trying to not change the .dll files. I working on the code after it is loaded... creating new Object Tables and Elements. Almost all of the Operational Code is written in Lua or XML... and exist within the Open Code sections of the Folders. The Binary Command Functions will be expanded, but I'm running into some Commands that are causing conflicts on some Unit Types. I'm sure this is a simple modification or changing some commands around associated with specific Binary values. The new Unit Types seem to be working, as well as the new code that rotates the Skin Selection on the 3D models, much like the ACK Sound Files.
Aren't you also a Code Writer?
|
|
|
Post by Scyooff on Mar 28, 2015 2:10:45 GMT 1
The answer to your question is in this post my friend, i quote MP to save you some time but you should read the entire post anyway D) Detach from Unit: The Crew can 'Detach' or leave the Gun or Vehicle he is assigned to. This applies to the entire crew, and leave the Host Unit Neutral. This functions on Artillery, Mortars, HMG, Trucks, SMG and Tanks. This Code change was particularly difficult to change... based on the Neutral Artillery Gun Code, but applied to all 3-D Models. The next Logical Step to make this a clean sweep is to add a crew to the Trains and Aircraft. The name might be changed to DETACH CREW, since it is Selected from the vehicle or gun. I have tested Aircraft Crews but I have had difficulty grabbing control from the AI Code. I do have a new EFFECT that is in testing... where the Pilot parachutes from his plane... but this is the only form of Detach that seems to work. I have not applied it to the crew size yet, as in Bombers. The Code runs through a Random Function to determine if the Pilot Survives; a 50/50 chance. If the Flag is True, he jumps... False- he goes down with the plane. Some time back I discussed how Crews could be Detached from their Vehicle. This is an especially neat Command, since if the Crew leaves the vehicle, the Vehicle becomes Neutral. However, it cannot be Captured by the enemy unless there are no Units from the Owner Forces within a Defined Radius of the Vehicle and Enemy units. The Radius table has not been worked out yet... I am testing a couple of different factors before I do this. I'm thinking the Radius has to be based on the MAP Size... Smaller maps pull this Radius in, where larger maps will mostly remain at a Constant if the MAP is larger than 15 x 15. Ok... here is an overriding factor about the vehicle crews. Whatever you define as the Crew Size in the 1.xml is what the crew will be. So if you define a 2 for a tank, that is what you get. When you try to repopulate the tank, only two will climb in. I mention this because improper Crew Sizes can Screw you up. While I was looking for a way to program the Detach Command, I found the Function in the Master Code. It is used to Detach a crew from a gun that has been destroyed. All I had to do was bring it to the Binary Table and link it to the new Code. The function is likely the same as used in Desert Law, but I have not checked that Code. I need to add that you cannot populate a Vehicle with a partial crew... it requires the whole crew to move the unit or for it to function. If a Vehicle begins to take damage under fire, the Crew will try to Detach automatically. At a predefined HP, the Code runs through a Random Function to determine the Survival Status of the crew. The Flag will return a number between ZERO and the Number of Members in the Crew. If the Flag returns a Zero, then the whole Crew is dead. Any other number is how many crewman will detach. During Battle, the Player will have to pay attention to Crews detaching so they can be moved to safety. Edit : Sorry, The Major was quicker than me to answer
|
|
|
Post by Major Pain on Mar 28, 2015 3:18:30 GMT 1
Thank you Scyooff... I missed his actual question about Neutral Vehicles. I thought he was hoping we weren't prying into the Direct Link Libraries (.dll), which might get into some other issues. I'm thinking about changing my AVATAR to something like this...
|
|
|
Post by Scyooff on Mar 28, 2015 3:32:57 GMT 1
The second looks better i think.
|
|
|
Post by Major Pain on Mar 28, 2015 3:36:20 GMT 1
Yea... I scaled it 250 x250... the one posted is 300 x 300, a bit too large for the AVATAR.
|
|
|
Post by Scyooff on Mar 28, 2015 3:51:24 GMT 1
The Force is with you . (Or are you The Force ?) OK, OK, i'm going to sleep so goodnight Dark Major
|
|
bb
General
Blitzkrieg junkie (tried to quit several times).
Posts: 1,377
|
Post by bb on Mar 28, 2015 5:12:20 GMT 1
I allways thought GZM was the dark side and we were the Jedi. LOL, just kidding guys.
|
|
|
Post by Major Pain on Mar 28, 2015 6:50:12 GMT 1
Roflmao.....
I think we went dark in the last few days... with the discovery of Life on that planet called EARTH.
|
|
|
Post by Mascarenhas2 on Mar 28, 2015 11:06:20 GMT 1
I don't get it, to me MP is not someone from the dark side, at least until now...
|
|
|
Post by Major Pain on Mar 28, 2015 12:33:09 GMT 1
Nope... I'm not from the Dark Side... it is only an ongoing Theme.
Once you get into Blitzkrieg... it is very hard to get out. It just sucks you in...
So in that way, it is like the Darkside. Players actually lose sleep and miss meals because of this game...
I borrowed Darth and did some Color modifications to give him the dark shadow and highlights, to match the Blitz Serbia background in the image you see above.
Then I thought I'd create a new AVATAR along the same theme.
I'll return to my previous AVATAR in a day or two... thus ending this madness...
|
|
tedi88
General
Blitzkrieg State Prosecutor
Posts: 1,228
|
Post by tedi88 on Mar 28, 2015 18:14:47 GMT 1
I allways thought GZM was the dark side and we were the Jedi. LOL, just kidding guys. If that's the case then I'm the Emperor. LOLOLOLOL
---------------------------------------------------------------------------------------------- You will find that it is you who are mistaken, about a great many things.
----------------------------------------------------------------------------------------------
|
|
Grot
General
Posts: 4,055
|
Post by Grot on Mar 28, 2015 18:30:37 GMT 1
I guess its appropriate to repost my pic now from long time ago..
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 28, 2015 22:33:35 GMT 1
Major Vader. The assault troops, already occupied Blitzkrieg.
|
|