| View previous topic :: View next topic |
| Author |
Message |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Sun Jan 16, 2005 4:52 am Post subject: [Code] Adding a backpack item! -By Conner94 (It works!) |
|
|
Someone already did this, though mine has more stuff so it will work better, does anyone what me to post it? I made it up myself 100%, it isn't anyone elses code.
Last edited by Conner94 on Mon Jan 17, 2005 7:50 pm; edited 1 time in total |
|
| Back to top |
|
 |
Mega Luigi Site Admin

Joined: 12 Jan 2005 Posts: 127 Location: Brazil
|
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Sun Jan 16, 2005 5:25 am Post subject: |
|
|
Here is mine, it should work.
http://www.irwinsoftware.com/wolf3d/backp.htm
I need to update it, you need to change your bo_**** to be like this:
| Code: |
case bo_(whatever):
if (gamestate.backp == 1)
{
if (gamstate.ammo == 99)
return;
}
else
if (gamestate.ammo == 50)
return;
(and the rest of the case)
|
I imported it in a project, but I haven't tested it yet. I know, I should test it, but from what I can tell it will work. |
|
| Back to top |
|
 |
Mega Luigi Site Admin

Joined: 12 Jan 2005 Posts: 127 Location: Brazil
|
Posted: Sun Jan 16, 2005 4:50 pm Post subject: |
|
|
Good. I though Joe is the only who made a Backpack item tutorial. I always liked of that. Probably in my next add-on I will use your tutorial! And I think is better you post what is wrong in the tutorial in your site the more faster possible because if someone try to do and doesn't works, your tutorial will get a bad fame.  _________________ Mega Luigi
Site Admin
Forums Admin |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Mon Jan 17, 2005 7:35 pm Post subject: |
|
|
| I fixed it! Glad you like it, it is my first tutorial! |
|
| Back to top |
|
 |
Mega Luigi Site Admin

Joined: 12 Jan 2005 Posts: 127 Location: Brazil
|
Posted: Mon Jan 17, 2005 7:41 pm Post subject: |
|
|
Stay making good tutorials and you will be an Experienced Coder!  _________________ Mega Luigi
Site Admin
Forums Admin |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Mon Jan 17, 2005 7:49 pm Post subject: |
|
|
| Just released another! Go back to the coding alliance and look! |
|
| Back to top |
|
 |
|