WiseRock Posted December 5, 2012 Author Share Posted December 5, 2012 In EA it seems like the Projectile system is not working. The arrow bar keeps resetting it self back to zero.Can Some please help>! ![](http://i46.tinypic.com/2crlpnl.jpg)>! You will become Moderator when my Game comes outSomeone please help! Link to comment Share on other sites More sharing options...
WiseRock Posted December 5, 2012 Author Share Posted December 5, 2012 bump and please help Link to comment Share on other sites More sharing options...
Wortel Angels Posted December 5, 2012 Share Posted December 5, 2012 Do you got an ammo picture ? Link to comment Share on other sites More sharing options...
tslusny Posted December 5, 2012 Share Posted December 5, 2012 it is just visual bug, i just missed to add one line in sub itemeditorinit Link to comment Share on other sites More sharing options...
WiseRock Posted December 5, 2012 Author Share Posted December 5, 2012 So is there a way to fix this Link to comment Share on other sites More sharing options...
abhi2011 Posted December 7, 2012 Share Posted December 7, 2012 You add that one line of code back. Link to comment Share on other sites More sharing options...
DMF Posted December 7, 2012 Share Posted December 7, 2012 ok all of you stop playing around.(read borad rules DO NOT POST IF YOU CANT OR WONT HELP) >.>If you know this line then tell him. >.> Link to comment Share on other sites More sharing options...
WiseRock Posted December 8, 2012 Author Share Posted December 8, 2012 > it is just visual bug, i just missed to add one line in sub itemeditorinit> You add that one line of code back.Could you explain more like what piece of code are you talking about Link to comment Share on other sites More sharing options...
WiseRock Posted December 8, 2012 Author Share Posted December 8, 2012 Someone could please give me cleaned up code for the ammo thingAnd bump Link to comment Share on other sites More sharing options...
abhi2011 Posted December 8, 2012 Share Posted December 8, 2012 > ok all of you stop playing around.(read borad rules DO NOT POST IF YOU CANT OR WONT HELP) >.>> > If you know this line then tell him. >.>So why didn't u tell him?In modGameEditors in ItemInit or something add a code that changes the value of the scroll bar with the value of Item(index).projectileammo. Check out the item rec for the correct data declaration. Link to comment Share on other sites More sharing options...
WiseRock Posted December 8, 2012 Author Share Posted December 8, 2012 I'll take a look at this thanksEDIT: Okay It fixed the setting back to zero fixbut no graphical arrows anyone please help Link to comment Share on other sites More sharing options...
WiseRock Posted December 8, 2012 Author Share Posted December 8, 2012 bump? Link to comment Share on other sites More sharing options...
abhi2011 Posted December 9, 2012 Share Posted December 9, 2012 What do you mean by, "Okay It fixed the setting back to zero fix, but no graphical arrows anyone please help"? Link to comment Share on other sites More sharing options...
WiseRock Posted December 9, 2012 Author Share Posted December 9, 2012 Edit: Nevermind got it fixed Link to comment Share on other sites More sharing options...
WiseRock Posted December 10, 2012 Author Share Posted December 10, 2012 its not working anymore. When i click CTRL no graphics.There is a projectile folder with pics in my Graphics but they dont show in when I click CTRL Help please! Link to comment Share on other sites More sharing options...
WiseRock Posted December 12, 2012 Author Share Posted December 12, 2012 bump? Please help(sry for triple post) Link to comment Share on other sites More sharing options...
erkro1 Posted December 15, 2012 Share Posted December 15, 2012 Post your BltProjectile, so that we can take a look at it. Link to comment Share on other sites More sharing options...
WiseRock Posted December 22, 2012 Author Share Posted December 22, 2012 Oh sorry about not responding quick enough. I was on a 1 week trip and I just came home. I will have the code tonight for you to look at. Link to comment Share on other sites More sharing options...
WiseRock Posted December 22, 2012 Author Share Posted December 22, 2012 sry for double post but heres the codeheres the code```Public Sub DrawProjectile()Dim Angle As Long, X As Long, Y As Long, I As LongIf LastProjectile > 0 Then' ****** Create Particle ******For I = 1 To LastProjectileWith ProjectileList(I)If .Graphic Then' ****** Update Position ******Angle = DegreeToRadian * Engine_GetAngle(.X, .Y, .tx, .ty).X = .X + (Sin(Angle) * ElapsedTime * 0.3).Y = .Y - (Cos(Angle) * ElapsedTime * 0.3)X = .XY = .Y' ****** Update Rotation ******If .RotateSpeed > 0 Then.Rotate = .Rotate + (.RotateSpeed * ElapsedTime * 0.01)Do While .Rotate > 360.Rotate = .Rotate - 360LoopEnd If' ****** Render Projectile ******If .Rotate = 0 ThenCall RenderTexture(Tex_Projectile(.Graphic), ConvertMapX(X), ConvertMapY(Y), 0, 0, PIC_X, PIC_Y, PIC_X, PIC_Y)ElseCall RenderTexture(Tex_Projectile(.Graphic), ConvertMapX(X), ConvertMapY(Y), 0, 0, PIC_X, PIC_Y, PIC_X, PIC_Y, , .Rotate)End IfEnd IfEnd WithNext' ****** Erase Projectile ****** Seperate Loop For ErasingFor I = 1 To LastProjectileIf ProjectileList(I).Graphic ThenIf Abs(ProjectileList(I).X - ProjectileList(I).tx) < 20 ThenIf Abs(ProjectileList(I).Y - ProjectileList(I).ty) < 20 ThenCall ClearProjectile(I)End IfEnd IfEnd IfNextEnd IfEnd Sub``` Link to comment Share on other sites More sharing options...
Ryo Posted December 22, 2012 Share Posted December 22, 2012 The code is fine,just redownload the engine you are using and replace item editor form in your src folder from the newly downloaded source,it should fix your problemAnd add in the itemeditorinit :Nameoftheprojectilescroll.value=item(index).projectileammoI dont know what is the name of the projectile scroll so don t forget to replace itCheck itemrec for .projectileammo i don t know how it s declared neither.i m on mobile so can t check Link to comment Share on other sites More sharing options...
WiseRock Posted December 23, 2012 Author Share Posted December 23, 2012 ok gonna try it Link to comment Share on other sites More sharing options...
WiseRock Posted December 23, 2012 Author Share Posted December 23, 2012 I tried redownloading EA. I added the ammo fixing butSomething is wrong with Graphics please help Link to comment Share on other sites More sharing options...
WiseRock Posted December 23, 2012 Author Share Posted December 23, 2012 Bump Link to comment Share on other sites More sharing options...
WiseRock Posted December 26, 2012 Author Share Posted December 26, 2012 After so many bumps this is the last bump please help Link to comment Share on other sites More sharing options...
santa-clause Posted December 26, 2012 Share Posted December 26, 2012 Ok how to fix this just download it again like Ryo sayd and then change:Under this:```frmEditor_Item.scrlProjectileRotation.value = .Rotation```Add this:```frmEditor_Item.scrlProjectileAmmo.value = .Ammo```And that's how i fixed it ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now