Digital Paint Discussion Board

Paintball 2: The Game => Help and Support => Topic started by: Qwaseman2 on March 02, 2013, 06:51:31 PM

Title: Scripting HELP
Post by: Qwaseman2 on March 02, 2013, 06:51:31 PM
Hey guys!  
Havn't posted in a long time!

 A few weaks ago I descided to make some scripts but I forgot everything! I havn't made a script in forever.
 
Can any of you guys help me with scripting? I plan on making alot of scripts for DPaintball.

Thanks for the help!  ;D
Title: Re: Scripting HELP
Post by: deadfroggy on March 03, 2013, 06:17:18 AM
you need to you your console commands for paintball 2 client.

then with the config and stuff
you looking at config? menus? or a mod or somethinng like bonos mod?

if you want more info pm me or if im on irc probably #supermanspub or #paintball.
Title: Re: Scripting HELP
Post by: TRION on March 05, 2013, 08:35:04 AM
i wanna learn scripting like bonos
Title: Re: Scripting HELP
Post by: deadfroggy on March 05, 2013, 03:16:49 PM
i would do something like bonos if i had time
changing the menu code and changing pictures etc. then adding in a window that comes up when you load it. it will take awhile for you.
then adding buttons to the window. tbh i dont know how to do half the stuff in bonos mod.
Title: Re: Scripting HELP
Post by: rockitude on March 05, 2013, 05:28:12 PM
Learn the basics of C/C++. You really don't need high programming skills to write something like this mod.
Title: Re: Scripting HELP
Post by: jitspoe on March 05, 2013, 06:14:34 PM
That mod is actually done with just the menu files - no scripting or C/C++ involved.  You can open the menu files in notepad and modify them.
Title: Re: Scripting HELP
Post by: rockitude on March 05, 2013, 06:17:47 PM
Oh I thought he wrote a dp2 starter like ic3y too, just with much more ugly colours etc.. The layout was so annoying that I removed bono's mod after few seconds anyway.
Title: Re: Scripting HELP
Post by: deadfroggy on March 06, 2013, 03:18:02 AM
Oh just found this if you find it any help..
http://digitalpaint.org/testwiki1/pb2wiki.php?word=Menu+Guide
Title: Re: Scripting HELP
Post by: TRION on March 06, 2013, 08:47:28 AM
adding a video to wiki would be nicer and easier to understand
@jitspoe:-Can u put some tutorial videos?
Title: Re: Scripting HELP
Post by: deadfroggy on March 06, 2013, 03:23:44 PM
I might make a video when i have the time..
Title: Re: Scripting HELP
Post by: TRION on March 06, 2013, 08:31:10 PM
that would be nice :)
Title: Re: Scripting HELP
Post by: jitspoe on March 07, 2013, 06:09:39 PM
I don't really have time to put together a video on this, and I don't think a video would really be the best medium for a tutorial.  The format isn't terribly complicated.  You just specify widgets of different types (text, pic, etc.) and specify positions.  You can look at other menus for examples on how to do things.