Forged Alliance Forever Forged Alliance Forever Forums 2017-06-04T00:46:58+02:00 /feed.php?f=41&t=14681 2017-06-04T00:46:58+02:00 2017-06-04T00:46:58+02:00 /viewtopic.php?t=14681&p=150202#p150202 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]>
Lots of things are like that when you are modding supcom. You want to do something that the engine can do ... but it's just not exposed to you.

Statistics: Posted by nine2 — 04 Jun 2017, 00:46


]]>
2017-06-04T00:12:26+02:00 2017-06-04T00:12:26+02:00 /viewtopic.php?t=14681&p=150200#p150200 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]> Statistics: Posted by Franck83 — 04 Jun 2017, 00:12


]]>
2017-06-03T23:13:20+02:00 2017-06-03T23:13:20+02:00 /viewtopic.php?t=14681&p=150197#p150197 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]> Statistics: Posted by RocketRooster — 03 Jun 2017, 23:13


]]>
2017-06-03T23:04:18+02:00 2017-06-03T23:04:18+02:00 /viewtopic.php?t=14681&p=150195#p150195 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]>
Anihilnine wrote:
the best I can think of is terrible: you could make your own drawLine etc by making an opaque Bitmap for each pixel


Maybe using a circle bitmap and stretching it.

Statistics: Posted by Franck83 — 03 Jun 2017, 23:04


]]>
2017-06-03T23:05:16+02:00 2017-06-03T22:58:50+02:00 /viewtopic.php?t=14681&p=150194#p150194 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]>

A pure UI solution may be using vector GetMouseScreenPos() with a Ui object (bitmap for example), sync the Ui object coord with mouse ones and convert it to map coordonate...

Statistics: Posted by Franck83 — 03 Jun 2017, 22:58


]]>
2017-06-02T03:04:31+02:00 2017-06-02T03:04:31+02:00 /viewtopic.php?t=14681&p=150083#p150083 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]> Statistics: Posted by nine2 — 02 Jun 2017, 03:04


]]>
2017-06-02T03:03:32+02:00 2017-06-02T03:03:32+02:00 /viewtopic.php?t=14681&p=150082#p150082 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]> Statistics: Posted by nine2 — 02 Jun 2017, 03:03


]]>
2017-06-01T20:49:47+02:00 2017-06-01T20:49:47+02:00 /viewtopic.php?t=14681&p=150077#p150077 <![CDATA[Re: Access to DrawCircle, DrawLine, etc.]]> Statistics: Posted by speed2 — 01 Jun 2017, 20:49


]]>
2017-06-01T19:00:21+02:00 2017-06-01T19:00:21+02:00 /viewtopic.php?t=14681&p=150072#p150072 <![CDATA[Access to DrawCircle, DrawLine, etc.]]> (Search for these here: https://www.dropbox.com/s/7jpdpptw3ygonwb/fa.lua.globals.xlsx?dl=0)

These seem like exactly the kind of thing I would expect to be able to use in a UI mod.

It turns out that it is possible to draw circles, by using decal textures, as shown by the "Additional Camera Stuff v3.2" mod, but it seems crazy to have to use these kinds of work-arounds.

Should we be looking at adding access to some of these functions, for UI mods, instead, e.g. by adding a sim callback (if this is something that would be possible)?

Statistics: Posted by crispweed — 01 Jun 2017, 19:00


]]>