Search

Search found 295 matches

by zoggop
27 Mar 2015, 01:31
Forum: General Discussion
Topic: Path finding
Replies: 66
Views: 4425

Re: Path finding

i remember when i was writing a config for shard, i wrote a periodic check if the unit had indeed left the factory. if not, i had it try another move order in another direction. much what players do, except they swear more.
by zoggop
23 Mar 2015, 11:32
Forum: Map Creation
Topic: Mood is a thing for
Replies: 133
Views: 11417

Re: Mood is a thing for

It it eating an energy storage? (try with a mobile unit?) ah, no that's a peewee, its colvol is just a cylinder apparently. holdSteady=true/false should just change how passenger's orientation behaves... From those pictures I see no reason why passenger should be invisible agreed. i would say it's ...
by zoggop
23 Mar 2015, 06:00
Forum: Map Creation
Topic: Mood is a thing for
Replies: 133
Views: 11417

Re: Mood is a thing for

okay, the whole problem was

Code: Select all

holdSteady = true,
in the unit def
by zoggop
23 Mar 2015, 05:42
Forum: Map Creation
Topic: Mood is a thing for
Replies: 133
Views: 11417

Re: Mood is a thing for

okay, now all the worm unit script does is: function script.Create() local x,y,z = Spring.GetUnitPosition (unitID) if (x and y and z) then local nearunits=Spring.GetUnitsInSphere (x,y,z, 32) or "nothing" if (nearunits~="nothing") then for _, nearunitid in ipairs (nearunits) do if (nearunitid~=unitID...
by zoggop
22 Mar 2015, 17:49
Forum: Map Creation
Topic: Mood is a thing for
Replies: 133
Views: 11417

Re: Mood is a thing for

thank you so much for taking a look! There was too much other error spam to test the map. The sync/unsynced seperation got changed a bit and requires "stricter" use of if gadgetHandler:IsSyncedCode() then ... else... ya, loading up the map for the first time in a while and getting all this error spa...
by zoggop
21 Mar 2015, 23:41
Forum: Map Creation
Topic: Mood is a thing for
Replies: 133
Views: 11417

Re: Mood is a thing for

https://github.com/zoggop/cattle-and-lo ... nMouth.lua

did a quick echo, the piece ("foodmagnet") is 10
by zoggop
21 Mar 2015, 22:53
Forum: Map Creation
Topic: Mood is a thing for
Replies: 133
Views: 11417

Re: Mood is a thing for

Updating this thing to work in 98, and thought i'd try to make the worm eating animation actually grab the unit and bring it down. Spring.UnitScript.AttachUnit is working, but the attached unit disappears once it's attached. I can still select the attached unit, and see its selection box (so I can s...
by zoggop
21 Mar 2015, 00:14
Forum: Map Releases
Topic: Sea of Dunes
Replies: 16
Views: 1699

Re: Sea of Dunes

as someone who has spent far too long agonizing over dune heightmaps, i feel your pain. the map looks lovely! i haven't seen those kind of metal spots, i like them. my preference is for less symmetrical, sharper-topped dunes, but those may be a pain to make playable. i like how (in BA at least) the ...
by zoggop
12 Mar 2015, 07:10
Forum: Map Creation
Topic: ancient procedural map generation
Replies: 0
Views: 824

ancient procedural map generation

https://lastlog.de/misc/spring/ https://lastlog.de/misc/spring/tiny02.jpeg https://github.com/qknight/libnoise-viewer/ https://github.com/qknight/libnoise-viewer/blob/master/screenshots/RidgedMulti1.png?raw=true https://github.com/qknight/HeightMapColorizer https://github.com/qknight/HeightMapColori...
by zoggop
09 Mar 2015, 06:10
Forum: Map Releases
Topic: Lunatic Bowl
Replies: 11
Views: 1210

Re: Lunatic Bowl

sorry entheru, i think i got a little http://40.media.tumblr.com/82511129eb3e178f470cb524bbb5c356/tumblr_ndii6hTnnp1u1vp1qo1_500.jpg just thought, if it's possible to swap the locations of tiles in-game, one could just throw together a map of your tiles, and then re-arrange them when loading the map...
by zoggop
07 Mar 2015, 04:31
Forum: Map Releases
Topic: Lunatic Bowl
Replies: 11
Views: 1210

Re: Lunatic Bowl

lololol i just did a slapdash conversion to LÖVE, and a height map of 100 craters rendered in 10 seconds. the same process takes 81 seconds in Spring. i had no idea Spring had so much overhead?
by zoggop
06 Mar 2015, 18:43
Forum: Art & Modelling
Topic: Random WIP 2015+
Replies: 129
Views: 18612

Re: Random WIP 2015+

amazing
by zoggop
06 Mar 2015, 18:25
Forum: Map Releases
Topic: Lunatic Bowl
Replies: 11
Views: 1210

Re: Lunatic Bowl

by "stamp" do you mean using Spring.SetMapSquareTexture? or do you mean more specifically a texture tile that gets stamped on top a heightmap tile, as notAmap was I assume going to do. i do not know what Rebinaraization of the map texture means? if at all, i was thinking of taking the route of essen...
by zoggop
06 Mar 2015, 09:15
Forum: Map Releases
Topic: Lunatic Bowl
Replies: 11
Views: 1210

Re: Lunatic Bowl

picasso, if you mean in Lunatic Bowl, no. in the map-making-map, Loony, they are *only* triggered in-game (/luaui loony shower <number of meteors>). theoretically, in-game meteor impacts as part of gameplay would be easy to do, but the pathfinding would become crap wouldn't it? and the texture isn't...
by zoggop
06 Mar 2015, 08:31
Forum: Map Releases
Topic: Lunatic Bowl
Replies: 11
Views: 1210

Lunatic Bowl

PepeAmpere asked for a map, so here's this thing . it took two thousand lines of lua to make such fuglyness realizing now i should have done it in LÖVE or LuaAV or something. previewing the heightmap and metal map directly in Spring is cool, but cool enough for all the interlua comms, memory limitat...
by zoggop
05 Mar 2015, 18:27
Forum: Lua Scripts
Topic: SlopeMap access through Lua API
Replies: 15
Views: 1275

Re: SlopeMap access through Lua API

see the GetSlopeMapImage function in http://springfiles.com/spring/lua-scrip ... eightmap-0
just use the Y normal value (why this works is beyond me, i don't understand what a normal is)
by zoggop
23 Feb 2015, 21:32
Forum: Lua Scripts
Topic: Xrayshader widget
Replies: 3
Views: 843

Re: Xrayshader widget

[f=0000000] Loading: LuaUI\Widgets\gui_xray_shader.lua [f=0000000] ERROR: 0:20: 'assign' : cannot convert from 'Position 4-component vector of float' to 'varying 3-component vector of float' [f=0000000] Xray shader compilation failed. [f=0000000] false [f=0000000] Error in Initialize(): [string "Lu...
by zoggop
17 Feb 2015, 00:46
Forum: Map Creation
Topic: Specular Tex issue
Replies: 44
Views: 3204

Re: Specular Tex issue

i can confirm normals do have that effect. i once tried it:
Image

Go to advanced search