UA:Source

For general topics about Urban Assault and any Urban Assault-related topic that doesn't fit anywhere else. If you're not sure, it probably goes in here.
User avatar
CharlotteLabyrinth
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 357
Joined: Thu Mar 01, 2012 3:00 pm
Location: Schloss Charlottenburg..?

Re: UA:Source

Post by CharlotteLabyrinth » Thu Aug 03, 2017 5:40 pm

This is very exquisite Zidane! Outstanding work as always! The new rendering with translucent polygons works very smooth and natural. I played around a little and so far there was no prominent graphical glitch found.

Also thank you for increasing the explosion GFX limit as well. Whilst there still seem to be a slight delay when rendering hundreds of explosion effects simultaneously, eventually all explosions get rendered promptly and accurately.

EDIT: Oops, never mind... That was an erroneous report mistake from my part. :<
;----------------------------------------------------------
;
; Vielleicht der niedlichste Hubi, Knuddel.
;
;----------------------------------------------------------

Personal Declaration: I always use different usernames across different websites. Hence if you ever see my username is being used outside of Stoudson Corporation, I absolutely have no affiliation whatsoever with that!

strages87
Firefly
Firefly
Posts: 5
Joined: Wed Jul 19, 2017 1:29 pm

Re: UA:Source

Post by strages87 » Thu Aug 17, 2017 4:42 pm

Any idea on when multiplayer might be added for the source version (It says its still not implemented on page 1)? I'd love to play some MP with people, but can't on the non-source version due to issues running it without source.

User avatar
Zidane
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 166
Joined: Mon Nov 22, 2010 8:38 pm
Location: Novosibirsk, Russia

Re: UA:Source

Post by Zidane » Thu Aug 17, 2017 5:30 pm

strages87 wrote:Any idea on when multiplayer might be added for the source version (It says its still not implemented on page 1)? I'd love to play some MP with people, but can't on the non-source version due to issues running it without source.
I can't say when because it subsystem must be writed from scratches. I was stopped on SDL2_net and will try to start with it. Also I never program normal network apps.
合体! ライオカイザー

User avatar
Gyiyg
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 139
Joined: Tue Sep 23, 2008 2:29 pm
Location: Independence, Kansas, USA

Re: UA:Source

Post by Gyiyg » Tue Sep 12, 2017 4:59 pm

The joystick support in UA:Source is really, really buggy under Linux.

So here's me plugging the thing in:

Code: Select all

[211344.979623] usb 4-5: new low-speed USB device number 5 using ohci-pci
[211345.171873] usb 4-5: New USB device found, idVendor=046d, idProduct=c215
[211345.171878] usb 4-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[211345.171880] usb 4-5: Product: Logitech Extreme 3D
[211345.171882] usb 4-5: Manufacturer: Logitech
[211345.197152] input: Logitech Logitech Extreme 3D as /devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/0003:046D:C215.0004/input/input8
[211345.197305] logitech 0003:046D:C215.0004: input,hidraw2: USB HID v1.10 Joystick [Logitech Logitech Extreme 3D] on usb-0000:00:12.0-5/input0
Here's how it act's ingame:
https://www.youtube.com/watch?v=N0MHnpRZHyA

ABS_RZ is the Rudder as in, the twist of the joystick. I don't know what purpose a rudder should serve in Urban Assault but It should not be making me move forward and backward...

ABS_THROTTLE is obviously the throttle control on the joystick but according to UA:Source it's my rotate left and right input

This is painfully incorrect. Also the joystick sensitivity is so low it's useless as I can only apparently move and turn at a snails pace. There's no obvious options in the menu or in the nucleus.ini and user.txt files to change this. No other SDL 1.2 and SDL2 program suffer this problem. No other native linux program suffers this problem either. Wine programs are also not suffering from this problem.
Just can't wait to fill you so full of psychically charged death...

User avatar
Zidane
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 166
Joined: Mon Nov 22, 2010 8:38 pm
Location: Novosibirsk, Russia

Re: UA:Source

Post by Zidane » Wed Sep 13, 2017 1:27 am

Zidane wrote: Oh, I'm forgot to add description of joystick mapping file. If you joystick has more than 4 axis or they mapped incorrect or needed button id > 8:
1. create joyconf.txt in game directory;
2. open env/sdlInputLog.txt for find needed joystick guid:
YPA SDL Input log
---------------------
Found joystick #0: DragonRise Inc. Generic USB Joystick (js)
GUID:79000600000000000000504944564944

Selected joystick: DragonRise Inc. Generic USB Joystick (js)
Axes:5 Hats:1 Buttons:12 Balls:0
3. open joyconf.txt and add line like this:
79000600000000000000504944564944: a1:3 a2:1 a3:4 b9:1
where 79000600000000000000504944564944 - guid of your joystick
a1:3 - Axis 1 mapped as axis 3 (when game will try to read axis 3 then axis 1 will be read instead)
a2:1 - Axis 2 mapped as axis 1
a3:4 - Axis 3 mapped as axis 4
b9:1 - Button 9 mapped as button 1

You may add multiple lines for various joystick guids.

Also if you connect more than one joystick and needed joystick was not first - you may write needed joystick guid in env/sdlJoy.txt
合体! ライオカイザー

User avatar
Zidane
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 166
Joined: Mon Nov 22, 2010 8:38 pm
Location: Novosibirsk, Russia

Re: UA:Source

Post by Zidane » Thu Sep 14, 2017 5:59 am

0.93-3
Gun turrets now do correct targeting. Fixed algorithm which does not correct 2d projection of target vector into unit circle. If projection vector length is not 1.0 acos and asin returns incorrect angle.

Old algorithm:
Image

New algorithm:
Image
合体! ライオカイザー

GoldStar611
BlackSect Creator
BlackSect Creator
Posts: 858
Joined: Sun Dec 02, 2007 1:16 am
Location: USA
Contact:

Re: UA:Source

Post by GoldStar611 » Fri Sep 15, 2017 2:31 pm

:( dang I used that bug so much to finish levels with ground flak when I was horrible at the game.
Image
Image

Ormu
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 840
Joined: Fri Dec 26, 2008 4:59 pm
Location: Finland

Re: UA:Source

Post by Ormu » Fri Sep 15, 2017 4:52 pm

Wait, is that bug present in original UA? I think I may have noticed it too...

Nice work again Zidane!
Image
Matthew Lever wrote:Take out Ormus as soon as you see them.
UA community Discord channel: https://discord.gg/7H4dFQH
Not all Ormus are mine. When in doubt, please ask...

User avatar
Brachy UA FREAK
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 1043
Joined: Tue Jul 08, 2008 6:23 pm
Location: Austria or next to a Parasite

Re: UA:Source

Post by Brachy UA FREAK » Sun Sep 17, 2017 1:59 pm

Runs smoothly itself yet I have a few bugs:

The non windowed largest resolution still has window borders.

When entering a level the screen placement (the indow) gets moved.

Same when you leave the specific level and go back to the map menu.

Ok maybe the issue was me fiddling with the size of the window. Now everything is borderless :D
GET YOUR HANDS OFF FROM THAT PARASITE!
Or
I LL QUADDA YOU

://i529.photobucket.com/albums/dd333/pete_kaboom/MykoniansUB1.png
://i529.photobucket.com/albums/dd333/pete_kaboom/X01-Quadda.gif

Myko Mod [MID] back alive after long hiatus!

User avatar
CharlotteLabyrinth
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 357
Joined: Thu Mar 01, 2012 3:00 pm
Location: Schloss Charlottenburg..?

Re: UA:Source

Post by CharlotteLabyrinth » Wed Sep 20, 2017 4:08 pm

Praise the Zidane! The grand debugging master of the cyclometric functions failures! (It is truly interesting to know they are practically utilised in the algorithms for calculating the direction vectors for AI. :mrgreen: )

Ormu wrote:
Fri Sep 15, 2017 4:52 pm
Wait, is that bug present in original UA? I think I may have noticed it too...

Nice work again Zidane!
Yes, it is the same flak malfunctioning glitch that was present in the original UA. :P If the targets are situated at the vertically orthogonal positions of certain degrees and distances from the flak guns, they started to aim towards wrong angular directions and couldn't fire at the targets.
;----------------------------------------------------------
;
; Vielleicht der niedlichste Hubi, Knuddel.
;
;----------------------------------------------------------

Personal Declaration: I always use different usernames across different websites. Hence if you ever see my username is being used outside of Stoudson Corporation, I absolutely have no affiliation whatsoever with that!

Post Reply