Board index DeFRaG DeFRaG in general

Need help about scripting

Are you really the best?

Need help about scripting

Postby SenMatSu » Nov 3rd, '13, 8:42 pm

I've recently started writing scripts(bots that finishes maps) and it's hard for me now. I need to learn details about it and need some examples. Can you guys help me?
SenMatSu
 
Posts: 11
Joined: Oct 30th, '13, 3:51 pm

Re: Need help about scripting

Postby [fps]Mntr » Nov 3rd, '13, 8:54 pm

it quite depends what you really want to find out :) post here some demos and i might help mb.
[fps]Mntr
 
Posts: 49
Joined: Feb 27th, '11, 5:23 pm

Re: Need help about scripting

Postby Newbrict » Nov 3rd, '13, 8:57 pm

If you have a strafebot scripting because cake ;)
User avatar
Newbrict
 
Posts: 81
Joined: Sep 21st, '11, 12:12 am

Re: Need help about scripting

Postby SenMatSu » Nov 3rd, '13, 10:01 pm

[fps]Mntr wrote:it quite depends what you really want to find out :) post here some demos and i might help mb.


Actually i need example scripts. Scripts of other people.
SenMatSu
 
Posts: 11
Joined: Oct 30th, '13, 3:51 pm

Re: Need help about scripting

Postby SenMatSu » Nov 7th, '13, 3:50 pm

bump!
SenMatSu
 
Posts: 11
Joined: Oct 30th, '13, 3:51 pm

Re: Need help about scripting

Postby dqopb » Nov 10th, '13, 11:31 am

Examples of other people won't help you as long as you don't learn some principles. Understanding should come first.

Moreover, sharing scripts is not a common practice among scripters.
Copying other scripts won't make your script better. Instead, you have to try to invent new things.

So far you'd better ask specific questions, with examples.
dqopb
 
Posts: 194
Joined: May 2nd, '12, 8:48 am
Location: Belarus

Re: Need help about scripting

Postby SenMatSu » Nov 10th, '13, 5:08 pm

dqopb wrote:Examples of other people won't help you as long as you don't learn some principles. Understanding should come first.

Moreover, sharing scripts is not a common practice among scripters.
Copying other scripts won't make your script better. Instead, you have to try to invent new things.

So far you'd better ask specific questions, with examples.



Oh, thanks for information. I didn't know about that. Can i ask a question?
I was working for circle jump for 1-2 days and i am not sure about the good yawspeed and time for turn. I need help about this for now.
SenMatSu
 
Posts: 11
Joined: Oct 30th, '13, 3:51 pm

Re: Need help about scripting

Postby <hk> » Nov 10th, '13, 7:57 pm

Just use the turnspeed that results in the highes groundspeed.
Jump when you get to the max groundspeed.
Activate the cgaz hud to get an idea about the right turnspeed in midair.
User avatar
<hk>
Menstruating 24/7
 
Posts: 1040
Joined: May 2nd, '09, 12:06 am
Location: Ingolstadt Germany