Originally posted by Ducatisto
View Post
Announcement
Collapse
No announcement yet.
HL2 Monsters and vehicles for UT2004
Collapse
X
-
Originally posted by Lord_Buggy View PostBump up all vehicle factories spawning the Strider, by means of setlocation function, that should fix it.I did look through the code within the ONSStriderFactory.uc and there was no mention of setlocation nor in the actual Strider.uc file itself.
Duca
Comment
-
Code:function PostBeginPlay() { local ONSVehicleFactory Factory; FactoryVehicleClass = class<SVehicle>( DynamicLoadObject(FactoryVehicleClassName,class'Class') ); ArenaVehicleClass = class<SVehicle>( DynamicLoadObject(ArenaVehicleClassName,class'Class') ); if(ArenaVehicleClass != None) { foreach AllActors( class 'ONSVehicleFactory', Factory ) { if (Factory.VehicleClass == FactoryVehicleClass) { Factory.VehicleClass = ArenaVehicleClass; Factory.SetLocation(Factory.Location + vect(0,0,5000));//The fix } } } Super.PostBeginPlay(); }
Comment
-
Originally posted by Lord_Buggy View PostCode:function PostBeginPlay() { local ONSVehicleFactory Factory; FactoryVehicleClass = class<SVehicle>( DynamicLoadObject(FactoryVehicleClassName,class'Class') ); ArenaVehicleClass = class<SVehicle>( DynamicLoadObject(ArenaVehicleClassName,class'Class') ); if(ArenaVehicleClass != None) { foreach AllActors( class 'ONSVehicleFactory', Factory ) { if (Factory.VehicleClass == FactoryVehicleClass) { Factory.VehicleClass = ArenaVehicleClass; Factory.SetLocation(Factory.Location + vect(0,0,5000));//The fix } } } Super.PostBeginPlay(); }
Duca
Comment
-
Originally posted by Ducatisto View PostAh, I see. But the Strider factory was merely based on the other two vehicles so it is strange there were no reported problems with those. I will attempt some changes to hopefully polish this off, many thanks.
Duca
Comment
-
Originally posted by Lorin-Slasher View PostWhy is everyone ignoring the fact that I spotted a bug?
Duca
Comment
-
Originally posted by Ducatisto View PostIt was a quick fix as it was a pain to make it spawn on the map at all. It does eventually 'pop up' and yes, I was not happy with it but I thought something was better then nothing. If there is anyone out there willing to make another version that works flawlessly they are welcome.
Duca
It's still a great mod.
Comment
-
Originally posted by Lorin-Slasher View PostActually... the monsters are fine, but the human enemies should have the ragdoll system integrated into their skeleton.
Duca
Comment
Comment