Author Topic: Normal Flipper v1.1.5 (with source code) - a tool to make one-way-through polys  (Read 10781 times)

0 Members and 1 Guest are viewing this topic.

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Description: Normal Flipper is a mapping tool to make one-way-through polygons, that is impossible with PW or any other map editors.
See demo map and demo map 2 and demo map 3. And some real maps that are using this feature: ctf Glory and ctf Adacia


Requirements: none.

Installation: unrar to Soldat folder.

Download program: attached | mirror 1 58 kb

Download source (cpp): attached | mirror 1 33 kb

FAQ:

Q: Never heard of any one-way-through polygons. How does it work?
A: It inverts normal to сertain side of the polygon so collision won't be detected.

Q: Are one-way-through polygons glitchy?
A: Of course this feature isn't official, but they work almost without any problems. Using OWT polygon is much more relible then to use teleport.

Q: How to use Norml flipper?
A: Open compiled map, select wanted polygon and flip normal to the side you whant to make OWT. Save the map. You can see number of selected polygon in PW's properties pannel.

Q: Why nobody ever used them before?
A: Dunno. This idea isn't my actually. About two years ago Anna showed me some experimental map with such polygons made with some hex editing.

Q: Is there any problems with Normal flipper?
A: Do not recompile compiled maps with fliped normals - they are getting screwed. If you want to update your map compile uncompiled version and then use flipper with compiled version again.
« Last Edit: September 14, 2009, 06:27:44 am by VirtualTT »

Offline Dusty

  • Veteran
  • *****
  • Posts: 1015
It's quite easy to pass the poly from the wrong side. Otherwise this is pretty awesome hehe!

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Can't say that is quite easy, but that is only the metter of demo map anyway.
The use of several polygons makes getting back almost impossible.

[EDIT]
just check out demo map 2
« Last Edit: March 30, 2009, 09:15:03 am by VirtualTT »

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Cool work. I've added it to the Fan Apps list.
There are other worlds than these

Offline Crescendo

  • Major(1)
  • Posts: 31
Doesn't start up for me, it comes up with an error saying something like "collateral accessing is erroneous", my OS is Vista.
If you're reading this you're a moron

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Normal Flipper v1.1.0 test version is available!
« Reply #5 on: April 04, 2009, 10:30:08 am »
Could you post screenshot with error message?

[EDIT]
So the real mapping expirience showed that using flipper the way it is now could be a big problem: it's easy to flip few polygons, but when it comes to real maps, you need to do this with 20-30 polygons every time you compile a map... So i decided to make improved version with simple scripting support. Test version is available.
Bugs fixed:
- some startup issues
- polygon number edit box couldn't process four-digit numbers



Requirements: none.

Installation: unrar to Soldat folder.

Download: mirror 1 50 kb <Test version>

Script structs:
Code: [Select]
<full path to map file>
<poly number>-<normal to flip>
<poly number>-<normal to flip>
...
scripts are being saved as Unicode (UTF-16) text files with .nfs extention.
« Last Edit: June 01, 2009, 04:08:15 am by VirtualTT »

DarkCrusade

  • Guest
AWESOME thing man, now you dont need 220 polygons for OTW :)

To the thing that you can get back: copy the same polygon into itself and it should work :)

Offline Mr. Domino

  • Flagrunner
  • ****
  • Posts: 969
  • Don't just sit there and waste your precious time.
    • XBLIG.co
That's pretty neat. Reminds me of Bakuretsu Muteki Bangaioh, and for a while I wished I could have polygons which exhibit multiple properties such as this. Off hand, this would be perfect for duckhunt servers, and I'm sure other uses will come into play with some experimentation.

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Now i'we done what i should have done from the begining: normal flipper now shows real polygons instead of ugly numbers.



Requirements: none.

Installation: unrar to Soldat folder.

Download: mirror 1 50 kb <Test version>
« Last Edit: June 01, 2009, 04:07:50 am by VirtualTT »

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
lol awesome. the only problem  I see is the propulsion and that bullets can't go through, but grenades get an extra speed.

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
you can use only player colliders if you want to have one way with bullets that go through.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
or you can place colliders infront of OWT poly to prevent nade throwing

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Normal Flipper v1.1.0 (with source code) is officially updated
« Reply #12 on: April 09, 2009, 04:51:10 am »
Ok Normal flipper now is officially updated to v1.1.0
Changes v1.0.0-v1.1.0
  • Added simple scripting support.
  • Added simple polygon rendering.
  • Added help file.
  • Fixed startup issues.
  • Fixed polygon number edit box couldn't process four-digit numbers.
  • New icons.
« Last Edit: April 09, 2009, 04:52:42 am by VirtualTT »

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Normal Flipper v1.1.1 HOTFIX -_-
« Reply #13 on: April 11, 2009, 11:17:23 am »
v1.1.1
  • Fixed bug with help button
  • Fixed bug with patch menu item
  • Fixed bug with polygon drawing area being different color than a window
  • Fixed bug with current polygon wasn't refreshed after reloading the map

DarkCrusade

  • Guest
Nice, I like it :)

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Normal Flipper updated to v1.1.2
« Reply #15 on: April 28, 2009, 09:56:08 am »
Normal flipper updated again!
Changes v1.1.1 - 1.1.2
  • Added Run Soldat Service menu item.
  • Added Recent maps (from PW's ini) menu.
  • Fixed various small bugs.
  • Added error message if Normal flipper isn't installed in Soldat folder.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Doesn't work

I get a window which says 'A tool to make OWT polygons has stopped working' and it blathers on about trying to find a solution.

When I tried 1.1.1 it ran fine but when i went to patch the map, it said patch operation failed.

Vista Home Premium.
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Could you post the map and the *script* (or just tell what polygons you want to transform), i'll see what i can do.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Attached.

It should be noted that the error with 1.1.2 happens as soon as I double click the .exe
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
ok... i've performed some bugfixing... i hope that new version will work fine...
NF v1.1.3
Also since you are using Vista and Soldat is located in Program files NF might be blocked by UAC.
« Last Edit: June 01, 2009, 04:07:21 am by VirtualTT »

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Cool it works fine now, thanks.
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Great.
So Normal Flipper was officially updated to v1.1.3. Source code for new version is also available. Links are in the first post.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Found a couple of bugs while using NF 1.1.3:

1) When you go to Script > save as script, it says it will save it as .nfs, but if you don't put .nfs on the end yourself it saves it as .PMS
2) When you use Script > load script, the last number doesn't show up in the output window, e.g. it will be like
5-2
6-3
7-

This happened whether I loaded a script saved as .nfs or .PMS
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Found a couple of bugs while using NF 1.1.3:

1) When you go to Script > save as script, it says it will save it as .nfs, but if you don't put .nfs on the end yourself it saves it as .PMS
2) When you use Script > load script, the last number doesn't show up in the output window, e.g. it will be like
5-2
6-3
7-

This happened whether I loaded a script saved as .nfs or .PMS

1. I was unable to trace this bug, since this never happened to me. However i've added code that forcibly changes extension to .nfs
2. Fixed.

Normal Flipper v1.1.4
« Last Edit: June 16, 2009, 02:05:45 pm by VirtualTT »

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Now all you need to do is integrate it into polyworks :P
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Normal Flipper v1.1.5 released
« Reply #25 on: June 16, 2009, 02:12:22 pm »
ok... here is another bugfix release...

-Fixed bug with incorrect auto-inserted script file name in Save script as... dialog.
-Fixed bug with duplicated Recent maps.
-Fixed Acces violation when trying to Reload map data if no map was loaded before.
-Fixed Acces violation when trying to Patch map if wrong map name was specified in the script.

see first post for download link

The more i'm trying to improve NF the more bugs it appears to have...  :( I don't have any beta-testers so i just deal with the issues that i'm finding while mapping...

DarkCrusade

  • Guest
Well, I didn´t get how to use it and I refuse that I don´t use it anymore for my maps since ctf_VanishingPower that I´ve sent you, VTT :) I guess I will check the next version then and see whether I get it then ;D

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
I don't think there will be any changes in the interface in new version when (and if) it will be released. I just don't know how to make it even simpler than it is now. Basically the only way to improve UI is to integrate it into map editor. So you need to wait untill Soldat Map Studio will come out....  ;)