- Posts: 30
- Joined: Sun May 31, 2020 10:07 pm
I wanna make things like for example: if you press on something let's say, a keypad, it takes the input, and if the input is correct, a door opens. or if you press a button quickly, the door opens. I don't know if it's possible, but a small idea. but I don't even know where to start.
I have a good knowledge of JS and Python (I know what a variable is). but coding in UScript or editing the code in those scripts are tough.
So, what do you guys suggest?
~tiger attack survivor
- Posts: 263
- Joined: Wed Nov 09, 2016 1:48 am
Key pads are a complex beast, Operation Napali has such code in it if you want to browse that.
I'd say to get started with UT coding work on a few mutators first, like Vampirism (shoot someone and get 50% of the damage done back as health).
Work up to custom Weapons / Pickups etc.
UT has a -messy- code structure and it takes a long time to learn where code is being inherited from and what to watch out for in parent classes etc.
Simply reading UT code is a good place to start, try to understand how it works.
- Posts: 69
- Joined: Sat Jun 01, 2013 10:38 am
- Location: Russia
- Posts: 5454
- Joined: Wed Feb 27, 2008 6:24 pm
- Personal rank: Work In Progress
- Location: Liandri
It's a bit outdated on the UScript IDE itself (I use VS Code nowadays instead of Notepad++, and I have my own customized highlighter), but other than that, the usage of UMake and the code all should work, and I think it's a simple enough introduction to how at least make your own package.
From there, you can develop the rest by checking the actual game code, little by little, preferably through an Uncodex site, like this one:
(although this one is a bit outdated with the releases of 469 patches)
- Posts: 144
- Joined: Sat Apr 04, 2009 6:00 pm
- Personal rank: DHR
- Location: Canada
- Posts: 64
- Joined: Sun Jul 01, 2018 12:37 am
- Posts: 510
- Joined: Sun Jul 12, 2009 7:10 pm
- Personal rank: Dude
- Location: Trieste, Italy
I found this tutorial in my old folders, hope can help.
"These are the days that we will return to one day in the future only in memories." (The Midnight)