Mood is a thing for
Moderator: Moderators
Re: Mood is a thing for
It works! Apparently all that culling of pointless unitdef params was good, and all I needed was to put transportSize = 10000 back in. I thought it was unnecessary because after reading http://springrts.com/wiki/Units-UnitDefs#Transports I dyslexiaed transportSize and transportMass (size defaults to 0, mass defaults to 100000).
Now to work out some kinks...
Now to work out some kinks...
Re: Mood is a thing for
Thumping in epic thread..
2
2
- Attachments
-
- DuneTV-ThumperCU.jpg (86.18 KiB) Viewed 3448 times
Re: Mood is a thing for
worm obstacle navigation system not perfect, but that must be a feature, because worms can't be too smart
in any case, how do i get sworm's LOD to not be a brown square?
same worm up close:
or i could just set their icon distance lower than their LOD distance (speaking of which, i need to make a sand worm icon)
in any case, how do i get sworm's LOD to not be a brown square?
same worm up close:
or i could just set their icon distance lower than their LOD distance (speaking of which, i need to make a sand worm icon)
Re: Mood is a thing for
PS aside from the LOD thing, everything seems to be running smoothly. Give it a go if you like before I actually release anything to springfiles. And it might be good to have someone other than my brother and I test it if it gets put into any other map.
edit: i forgot about sound--this def. needs sound (ha ha, get it?)
(and this topic should be renamed "zoggop mumbles to himself")
edit: i forgot about sound--this def. needs sound (ha ha, get it?)
(and this topic should be renamed "zoggop mumbles to himself")
- Attachments
-
- CaL-sworm_testing-feb29_2012.zip
- (598.25 KiB) Downloaded 27 times
Re: Mood is a thing for
One question... if modeled a Kiwi (the Bird) as a Unit, could that sandworm swallow it?
Re: Mood is a thing for
I would feel sorry for the poor Kiwi. One question... HOW DOES I LODS?!
Re: Mood is a thing for
spoonguard danger!!! protect yourself!if Spring.GetMapOptions().sand_worms == "0" then
could be this: http://springrts.com/wiki/Trouble-shoot ... aring_Unitin any case, how do i get sworm's LOD to not be a brown square?
wormXZ[wID]
wormTarget[wID]
bestDist[wID]
worm[wID].x
worm[wID].z
worm[wID].blabla
Makes many things easier eg:
local function wormDie(wID)
worm[wID] = nil
end
instead of reseting all tables manually.
30there are roughly 33 game frames per second
In function wormTargetting() you could skip alot of stuff if at the start you do if isEmergedWorm[uID]
too lazy to copy the stuff in some map to test :/Give it a go if you like
With MoveCtrl instead of attach'ing the worm could also swallow buildings and units that react lolzy to being attached, try attaching an aircraft
There is some function to read piece position in world coordinates.
Also it is absolutely essential that bigger units do not get swallowed whole but are bitten into pieces.
Like the cookiemonster that does not eat cookies but just enjoys throwing crumbles in the air
Try if you can make unit pieces explode from a gadget, maybe:
Code: Select all
env = Spring.UnitScript.GetScriptEnv(unitID)
if (env) then
local pieceNumber = math.random (0,table.getn(Spring.GetUnitPieceList (unitID))) --random piece
local exploType = exploType = SFX.FALL + SFX.NO_HEATCLOUD
Spring.UnitScript.CallAsUnit(unitID, env.Explode, pieceNumber, exploType) end
kinda dislike when widgets do this because it erases drawings in a radius around x,y,z.Spring.MarkerAddPoint(x, y, z, "Worm Sign")
Spring.MarkerErasePosition(x, y, z)
But I guess it is up to the mod to add some better MiniMapPing (x,y,z) function. (iirc zK has that, at least i remember circles on the minimap if something gets attacked. Not sure if useable by other wupgets)
Re: Mood is a thing for
Thanks knorke!
I'm also not really a fan of the the whole adding a marker point and erasing it thing, but I was feeling too lazy to write something that does essentially the same thing, but more aesthetically & without accidentally erasing other marker points. :-P
Just tried it out in a 1v1 game, and discovered that worm chases airplanes like a dog chasing a laser pointer. LOL need to add an if.
I'm also not really a fan of the the whole adding a marker point and erasing it thing, but I was feeling too lazy to write something that does essentially the same thing, but more aesthetically & without accidentally erasing other marker points. :-P
Just tried it out in a 1v1 game, and discovered that worm chases airplanes like a dog chasing a laser pointer. LOL need to add an if.
Re: Mood is a thing for
Now.. i came out here.. into the sandbox..i waited..
Re: Mood is a thing for
hope you brought a thumper
much progress: sounds, lod fixed, sworm no longer ghosts as a penis, less shitty radar icon, targetting prioritization, little lightning arcs on the sand, working on a worm sign notification widget that's not just markeraddpoint&markerremoveposition (pink lightning bolt icon instead!).
(in other words, the project is not dead)
much progress: sounds, lod fixed, sworm no longer ghosts as a penis, less shitty radar icon, targetting prioritization, little lightning arcs on the sand, working on a worm sign notification widget that's not just markeraddpoint&markerremoveposition (pink lightning bolt icon instead!).
(in other words, the project is not dead)
Re: Mood is a thing for
the spice must flow.. now...
Re: Mood is a thing for
spice flows
http://ge.tt/1DQeSyE
alas, no munching bit-by-bit or sworms that come in small, medium, and large... yet.
http://ge.tt/1DQeSyE
alas, no munching bit-by-bit or sworms that come in small, medium, and large... yet.
- FabriceFABS
- Posts: 354
- Joined: 28 Jul 2010, 16:20
Re: Mood is a thing for
Hi zoggop !
You know I rencently told you that the game didn't start with your fun map on BA 7.81 + Spring 94.1
After investigations, seems that :
It starts VS kbots only.
To be sure, knorke helped me for tests.
1 human VS 1 human >> doesn't work
1 human + NullAI VS 1 human + NullAI >> Works
Would you have a look to knorke report :
Regards.
You know I rencently told you that the game didn't start with your fun map on BA 7.81 + Spring 94.1
After investigations, seems that :
It starts VS kbots only.
To be sure, knorke helped me for tests.
1 human VS 1 human >> doesn't work
1 human + NullAI VS 1 human + NullAI >> Works
Would you have a look to knorke report :
Thx ![12:11:35] <[ACE]Serveur_II> <[ACE]FabriceFABS> Oh !!
[12:11:36] <[ACE]Serveur_II> <[2up]knorke> oho
[12:11:46] <[ACE]Serveur_II> <[2up]knorke> there is mistake in gadget
[12:12:06] <[ACE]Serveur_II> <[2up]knorke> sometimes to allow AIs to play the map better
[12:12:12] <[ACE]Serveur_II> <[2up]knorke> but due to bug it fails..
[12:12:20] <[ACE]Serveur_II> <[ACE]FabriceFABS> So what is the pb exactly ?
[12:12:33] <[2up]knorke> function gadget:AllowCommand(unitID, unitDefID, unitTeam, cmdID, cmdParams, cmdOpts, cmdTag, synced)
[12:12:43] <[2up]knorke> [...]
[12:12:44] <[2up]knorke> if aiPresent then
[12:13:01] <[2up]knorke> and then many stuff, but non of that matters because with no AI, it is never run
[12:13:11] <[2up]knorke> and then at end there is just "end", no return true
[12:13:15] <[2up]knorke> so all commands get blocked
[12:13:30] <[ACE]Serveur_II> <[ACE]FabriceFABS> It's a minor fix of the map then ?
[12:13:38] <[ACE]Serveur_II> <[2up]knorke> yea i think
[12:13:44] <[ACE]Serveur_II> <[ACE]FabriceFABS> Sorry I'm real noob about spring dev :/
[12:13:48] <[ACE]Serveur_II> <[2up]knorke> guess the idea was to prevent AIs from building stupid things on sand or something
Regards.
Re: Mood is a thing for
thanks for looking into this and knorke seeing what's wrong! i think he may have mentioned this to me before, because the fix is present in the code i have backed up on my computer, but not in the archive on springfiles.
i'll rerelease it with some optional sand worms
i'll rerelease it with some optional sand worms
- FabriceFABS
- Posts: 354
- Joined: 28 Jul 2010, 16:20
Re: Mood is a thing for
Thx you VM.
Would you PM me for autohost's update ?
Regards
Would you PM me for autohost's update ?
Regards
Re: Mood is a thing for
Is there a way to test a map with two human players on the same computer? I tried running both an installed and a portable version of spring and playing on a local server. As you might expect, this didn't go over well.
a lot of
a lot of
Code: Select all
[f=0000000] Error: (13) C:\Users\zoggop\spring-94.1\spring.exe(skirmishAiCallback_DataDirs_getWriteableDir+0x3689d8) [0x00B92F78]
Re: Mood is a thing for
Yes, I just did yesterday to test http://springrts.com/phpbb/viewtopic.ph ... 04#p547326zoggop wrote:Is there a way to test a map with two human players on the same computer?
just two seperate engine installs should work...
Maybe hang is due to something else, first try it with mod+map you surely know is working. Also maybe windowed mode is better.
Re: Mood is a thing for
Anyone else having Pepe Ampere's problem?
Works fine in springlobby on windows for me. Map options are hidden at the bottom, below all the game options, but that's normal.I dont see mapOptions you talk about in any lobby.
Re: Mood is a thing for
Whooo, really nice map!
And the worm / dangereous sand thing is fabulous
ps: map options work on linux and springlobby for me, too.
And the worm / dangereous sand thing is fabulous
ps: map options work on linux and springlobby for me, too.