Scripting
-
- Masterful
- Posts: 599
- Joined: Sun Jul 12, 2009 7:10 pm
- Personal rank: Dude
- Location: Trieste, Italy
Re: Scripting
I remember this recent link posted by Sakura about Chimeric coding website:
http://korelabs.us/koregaming/downloads ... orials.htm
I add also other 2 useful docs, hope can help
I have other tutorials but at the moment I can not access to my old pc with all UT99 data...
EDIT*** - added more docs...see files
cheers,
Pietro
http://korelabs.us/koregaming/downloads ... orials.htm
I add also other 2 useful docs, hope can help
I have other tutorials but at the moment I can not access to my old pc with all UT99 data...
EDIT*** - added more docs...see files
cheers,
Pietro
You do not have the required permissions to view the files attached to this post.
Last edited by UTPe on Fri Jan 02, 2015 5:27 pm, edited 1 time in total.
Personal map database: http://www.ut99maps.net
"These are the days that we will return to one day in the future only in memories." (The Midnight)
"These are the days that we will return to one day in the future only in memories." (The Midnight)
-
- Godlike
- Posts: 10507
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
Re: Scripting
Uhm ...right here in the Coding forum - Coding, Scripting -=- Useful Tutorial Links!!Forum|User wrote:I'm just want to learn scripting, where start it?
@UTPe
Can I add your post to this tutorial thread?
-
- Masterful
- Posts: 599
- Joined: Sun Jul 12, 2009 7:10 pm
- Personal rank: Dude
- Location: Trieste, Italy
Re: Scripting
sure, no problem !papercoffee wrote: @UTPe
Can I add your post to this tutorial thread?
EDIT*** - added more docs...see files
You do not have the required permissions to view the files attached to this post.
Personal map database: http://www.ut99maps.net
"These are the days that we will return to one day in the future only in memories." (The Midnight)
"These are the days that we will return to one day in the future only in memories." (The Midnight)
-
- Inhuman
- Posts: 958
- Joined: Wed Mar 31, 2010 9:02 pm
- Personal rank: I am quite rank.
- Location: MrLoathsome fell out of the world!
-
- Godlike
- Posts: 10507
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
Re: Scripting
yeah ... right... I still play around with your "waste of time" ...I mean awesome work.MrLoathsome wrote:I spent decades coding and learning more stuff.
It was a waste of time.
-
- Godlike
- Posts: 1963
- Joined: Sat Sep 17, 2011 4:32 pm
- Personal rank: Dame. Vandora
- Location: TN, USA
-
- Masterful
- Posts: 660
- Joined: Tue Feb 12, 2008 2:47 pm
- Personal rank: Happy fool :-)
Re: Scripting
Well, I happen to think differentlyMrLoathsome wrote:I spent decades coding and learning more stuff.
It was a waste of time.
I've also spend way too much time learning the ins and outs of the Uscript, but if you want to learn coding it is a very good place to begin as loads of tutorials have been written through all the years, and you can still use Google to find lots of help on your way. You are right that the efforts are wtsted on this game, but never the less the things your learn here can be used for quite many other things but UT itself. At least thats what I do now, and with great pleasure
Retired.
-
- Godlike
- Posts: 1089
- Joined: Sun Sep 07, 2008 10:59 am
- Personal rank: ...
Re: Scripting
have to agree with TheDane , being able to code (in any language) has GREAT Benefits. Not only in one particular field or Genre ie; UT
imho being able to code in this day and age is one of the BEST things one can learn. Because you now have the ability to build practically anything program-wise and solve problems for other's , be they a Majority (Better as you could make a better wheel then what is available perhaps - metaphorically) or minority (not so bad either - hobbyist , UT etc).
a good example is something like this; http://www.simpleinvoices.org/
you see , it looks cool and works somewhat trickily and really is not as 'Simple' as they make out. However it functions and does a semi-descent job of it.
now , someone with your abilities could come along , download it , install it ... run it .. and find all sorts of bugs and 'What have yous' in it.
then you could create a Patch for it , fixing the minor bug's and weird happenings in it (for a small FEE , this is where coding becomes 'Useful' , to be able to
take a pre-existing project or create a new one and build upon it or make something 100 times better
now lets say that you only know how to code in UScript.. this is not in any way a disadvantage but rather more Avantagious , because you know 'one' coding system which is Object Orientated and is very similar to other languages out-there!.
for example you could quite easily take to programming in C,C++,JAVA,Perl,HTML,PHP,ASPX,RUBY and learn them all in relatively no time at all;
here is a great resource that I once 'Stumbled Upon' years ago , http://programming-motherfucker.com/become.html
forget the name LOL as it is really a pretty cool resource
therefore , not only is coding USEFUL but also PROFITABLE as well as FUN and EDUCATIONAL (All at once)
I Myself have many idea's / concepts and tools which could be built to not only help other's but also sustain a descent living with ,
an example is something very simple , like an APP for a mobile device which Queries 333Networks and Returns a nicely presented , easy to read status of Servers (on Mobiles , Tablets).
^This APP could then be ported East and West or (Android and IOS) and uploaded to the relevant APP-STORES. This APP could cost $2.00 and have awesome functionality and features , probably take all of 30days to fully build and ready for uploading.
now lets say 2000 people download it ... well theres $4000 for 1 months work yeah?
just food for thought..
Greetz.
imho being able to code in this day and age is one of the BEST things one can learn. Because you now have the ability to build practically anything program-wise and solve problems for other's , be they a Majority (Better as you could make a better wheel then what is available perhaps - metaphorically) or minority (not so bad either - hobbyist , UT etc).
a good example is something like this; http://www.simpleinvoices.org/
you see , it looks cool and works somewhat trickily and really is not as 'Simple' as they make out. However it functions and does a semi-descent job of it.
now , someone with your abilities could come along , download it , install it ... run it .. and find all sorts of bugs and 'What have yous' in it.
then you could create a Patch for it , fixing the minor bug's and weird happenings in it (for a small FEE , this is where coding becomes 'Useful' , to be able to
take a pre-existing project or create a new one and build upon it or make something 100 times better
now lets say that you only know how to code in UScript.. this is not in any way a disadvantage but rather more Avantagious , because you know 'one' coding system which is Object Orientated and is very similar to other languages out-there!.
for example you could quite easily take to programming in C,C++,JAVA,Perl,HTML,PHP,ASPX,RUBY and learn them all in relatively no time at all;
here is a great resource that I once 'Stumbled Upon' years ago , http://programming-motherfucker.com/become.html
forget the name LOL as it is really a pretty cool resource
therefore , not only is coding USEFUL but also PROFITABLE as well as FUN and EDUCATIONAL (All at once)
I Myself have many idea's / concepts and tools which could be built to not only help other's but also sustain a descent living with ,
an example is something very simple , like an APP for a mobile device which Queries 333Networks and Returns a nicely presented , easy to read status of Servers (on Mobiles , Tablets).
^This APP could then be ported East and West or (Android and IOS) and uploaded to the relevant APP-STORES. This APP could cost $2.00 and have awesome functionality and features , probably take all of 30days to fully build and ready for uploading.
now lets say 2000 people download it ... well theres $4000 for 1 months work yeah?
just food for thought..
Greetz.
-
- Skilled
- Posts: 177
- Joined: Sat Feb 08, 2014 12:02 pm
- Personal rank: 333networks admin
- Location: Phobos Moon
Re: Scripting
If you are new to programming/scripting in general, it also helps to look to other programming languages. Programming is not just like learning a new language, programming is a concept in which you understand which instructions you give to the computer. Often, people say "my computer is not working", where they actually mean "I gave the wrong instructions to the computer". The same applies to programming: first decide on the task that you want to execute (even on paper!) and then translate it into programming language.
I consider "Sam's Teach yourself C in 21 days" a good start: https://kldp.org/files/c+in+21+days.pdf
Uscript has similarities with C++ and Javascript, so it is useful to look into those as well.
Another important thing to remember: don't be discouraged by failure. At the beginning, things do often not go as you want. The hardest part of programming is not the writing and compiling of a program, but to determine whether it actually does what you had in mind. That's where the real work (debugging) starts.
More notes on why programming is useful: nowadays, many electronic devices come with a development kit. In other words, you can adapt your device's functions to your own need. That practically gives you the ability to say: "I don't like what it does now, so I change it into something that I do like".
Good luck!
I consider "Sam's Teach yourself C in 21 days" a good start: https://kldp.org/files/c+in+21+days.pdf
Uscript has similarities with C++ and Javascript, so it is useful to look into those as well.
Another important thing to remember: don't be discouraged by failure. At the beginning, things do often not go as you want. The hardest part of programming is not the writing and compiling of a program, but to determine whether it actually does what you had in mind. That's where the real work (debugging) starts.
More notes on why programming is useful: nowadays, many electronic devices come with a development kit. In other words, you can adapt your device's functions to your own need. That practically gives you the ability to say: "I don't like what it does now, so I change it into something that I do like".
Good luck!
-
- Masterful
- Posts: 660
- Joined: Tue Feb 12, 2008 2:47 pm
- Personal rank: Happy fool :-)
Re: Scripting
Indeed Darkelarious, once you are over the tough start it is to learn a programming language, then it's a walk in the park from there on
Some people gets confused about some tutorials beeing too advanced and hard to understand, I know óf a nice Little tutorial site for various web languages here: http://www.tizag.com/
It's made up easily to navigate through and serves small code snippets carefully explaining what is going on - I'll say it's a good place to start, and though it's non Uscript related you'll benefit from this if you plan to combine UT with a webinterface
Some people gets confused about some tutorials beeing too advanced and hard to understand, I know óf a nice Little tutorial site for various web languages here: http://www.tizag.com/
It's made up easily to navigate through and serves small code snippets carefully explaining what is going on - I'll say it's a good place to start, and though it's non Uscript related you'll benefit from this if you plan to combine UT with a webinterface
Retired.
-
- Godlike
- Posts: 1089
- Joined: Sun Sep 07, 2008 10:59 am
- Personal rank: ...
Re: Scripting
Funnily enough someone on google+ just asked if anyone could build a simple app which utilizes google maps (GPS) for Trucking Routes.
Basically as we know Trucks need to take different routes (due to height / width / load bearing restrictions).
This could be a good start. However I think some variables are missing from the current google API's... like those above.
Anyways if anyone would like to be able to build functional basic - medium type apps for android devices then here is a very simple visual development environment where small blocks of predefined code are assembled into bigger pieces to form a fully functional app.
App Inventor 2
Http://ai2.appinventor.mit.edu/
Tutorials
[youtube]VOX2rn2Z-oc[/youtube]
^screenshot from older version.
Http://preetiedul.wordpress.com/2011/12 ... -inventor/
@Dark , yes lol I started that book many years ago.. (had a physical copy).. but lost it in one of our many moves.
Also for memory not sure if that was the book but the coding samples were bugged and the results were mainly erronious iirc... perhaps it was the oher book for just C.
Re: Learning C++ , Here's an androidy-app I just found which looks interesting;
https://play.google.com/store/apps/deta ... mAWVoICwBA
@TheDane , perhaps to bring back the passion in your forum you could make a few changes and turn it into a coding resource where the Unreal-stuff is under its own thread and your other interests become foremost?
I suppose Unrealtournament.info would be a little less descriptive to encompass such a site , so it could be separate to or rebranded (easier) to something like idk..
Developers-United.info with sub Forums for each and every other Development Option.
ie; UScript / C++ / PHP / App Builders / etc.. Sections.
However if you kept A site running which correlates with 'All things development as well as democratic "Freedom of speech" then you could have something worth keeping.
Which is why you built the website to start with ^_^
However I think you (and I) can start to appreciate the work involved in running a forum.. its not just a setup and wander off type deal (like websites) *almost
Basically as we know Trucks need to take different routes (due to height / width / load bearing restrictions).
This could be a good start. However I think some variables are missing from the current google API's... like those above.
Anyways if anyone would like to be able to build functional basic - medium type apps for android devices then here is a very simple visual development environment where small blocks of predefined code are assembled into bigger pieces to form a fully functional app.
App Inventor 2
Http://ai2.appinventor.mit.edu/
Tutorials
[youtube]VOX2rn2Z-oc[/youtube]
^screenshot from older version.
Http://preetiedul.wordpress.com/2011/12 ... -inventor/
@Dark , yes lol I started that book many years ago.. (had a physical copy).. but lost it in one of our many moves.
Also for memory not sure if that was the book but the coding samples were bugged and the results were mainly erronious iirc... perhaps it was the oher book for just C.
Re: Learning C++ , Here's an androidy-app I just found which looks interesting;
https://play.google.com/store/apps/deta ... mAWVoICwBA
@TheDane , perhaps to bring back the passion in your forum you could make a few changes and turn it into a coding resource where the Unreal-stuff is under its own thread and your other interests become foremost?
I suppose Unrealtournament.info would be a little less descriptive to encompass such a site , so it could be separate to or rebranded (easier) to something like idk..
Developers-United.info with sub Forums for each and every other Development Option.
ie; UScript / C++ / PHP / App Builders / etc.. Sections.
However if you kept A site running which correlates with 'All things development as well as democratic "Freedom of speech" then you could have something worth keeping.
Which is why you built the website to start with ^_^
However I think you (and I) can start to appreciate the work involved in running a forum.. its not just a setup and wander off type deal (like websites) *almost
Last edited by Wises on Thu Jan 08, 2015 5:51 am, edited 5 times in total.
-
- Inhuman
- Posts: 755
- Joined: Thu Jun 24, 2010 10:35 pm
- Personal rank: Retard
- Location: England
Re: Scripting
I always like the fact, if you build the right app/website at the right time, you could end up with a ten figure bank accountWises wrote: now lets say 2000 people download it ... well theres $4000 for 1 months work yeah?
Greetz.
-
- Godlike
- Posts: 1089
- Joined: Sun Sep 07, 2008 10:59 am
- Personal rank: ...
Re: Scripting
it is a reality, however one needs to be able to think up something or rather be presented with a problem to solve first. for example I was looking for 2 apps just now on AndroidUT Sniper (SJA94) wrote:I always like the fact, if you build the right app/website at the right time, you could end up with a ten figure bank accountWises wrote: now lets say 2000 people download it ... well theres $4000 for 1 months work yeah?
Greetz.
1. resize 16mp camera Images down to Web size
^ found 10+ of these.
Image Resize to Web
for use with mobile devices
2. automatically (press of a button) upload to an image posting service (selectable) like postimg.org / imgur.com the image and provide a http://link for posting to forums also with 'sharing' ability.
^ nothing out there (yet)..
Soo this poses the question of.. how many other people out there in the masses need / want this kinda app?
just off the top of my head I'd guess perhaps 10,000+? , imagine the returns on 100,000 or 500,000 @ $2.00 a pop?!?
could make someone an Instant Millionaire...
someone could zap this up using the free app inventor above and put onto playstore for $1-$2 a pop and make a killing for again very little work.
Note: Also being business minded to some degree , all I would ask for is 7.5% in royalties for the above said Application , notably 'Image Resize to Web' App
Simple functionality;
~ Browse for Image (or take using camera) on device
~ Offer compression types and output (.jpg,.bmp,.png) - 2.5MB Image reduced to 250KB or even 25KB &/or By Max width/Height ie; Width 600px or Height 400px.
~ Select 'Web Service' from drop-down to send to. (postimg.org/imgur.com) or both/all?
~ Click Button (Compress & Upload) or (Compress & Share) - Share to other services like email / facebook / etc. (there will be a simple function for doing this)
~ Retrieve URL and Automatically copy link to 'Clipboard' (for posting later)
~ Optional / Advanced feature; Ability to Watermark with custom .png/.img
*Paid App / 1 week Trial / No Adds or Bullshit.
theres some good money for something so simple
also note: that just because something is already out-there , does not mean that your idea/concept is void.. because just like Icecream not everyone likes the same flavour
and different features / styles of apps can appeal to different audiences.
Last edited by Wises on Mon Jan 05, 2015 10:05 am, edited 6 times in total.
-
- Godlike
- Posts: 10507
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.