Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Limbs, some help with writing checklists to files.

Author
Message
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 9th Jun 2007 14:58
OK, I have not been with DBp long, but I've been using FPSC for a while.

I've currently got a 3rd person shooter game, using sparkys collision. Everything is going pretty well, and I have sliding poly collision, with normals and raycasting for weapons.

I understand how to attach a gun to a limb on my character, and thats all good, but here's where I need help. If i print the limb checklist to the screen only the last 5th of the data fits on the screen.

Does anyone have a function I can slip into my loop to output the limb checklist to a text file?

THanks
Butters

Johaness
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 9th Jun 2007 15:42 Edited at: 9th Jun 2007 15:57
This post might help with printing all the limbs to screen.
http://forum.thegamecreators.com/?m=forum_view&t=105930&b=1

[edit]
ah TDK posted before I did

Anyway just add a check to see if the file already exists too.

TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 9th Jun 2007 15:44
Try something along the lines of:



If Checklist Value A, B, C or D contains anything, you can add them into the For..Next loop too - like the Rem line above.

TDK_Man

Login to post a reply

Server time is: 2024-11-25 17:55:21
Your offset time is: 2024-11-25 17:55:21