Page 4 of 25

Posted: Mon Aug 15, 2005 7:00 pm
by esfumato
This would be a lot of work and a very huge spent of energy, with all the time that you waste to do that proyect you could do a huge number of single player maps arenas or something caracters 3d objects.

Posted: Mon Aug 15, 2005 7:13 pm
by Ylor
Certainly!

But then my main interest is not to get BOD-maps (though it would be a great bonus!), but to learn more about programming and C++. And it would probably not be too hard to adjust the program so that it could make maps for other games as well, which would make it more worth the effort.

Then again I quess it's far more likely that I manage to finish a BOD map (I started making one a year or so ago that I have not yet finished [:p]) than this mega-project!

Posted: Mon Aug 15, 2005 7:24 pm
by esfumato
Well isn't a bad idea.

Posted: Mon Aug 15, 2005 7:27 pm
by sgi1981
What maximum quantity of sectors can be written down in a format "*.mp"
65535
Or
4294967295

?

Posted: Mon Aug 15, 2005 7:42 pm
by sgi1981
I shall spend better time to decipher formats "*.mp" and "*.bw", to make on DELPHI the own editor of maps, in which all will be more evident and to build a map there it will be necessary not by sectors as pieces and points, and more convenient way (on the screen in the three-dimensional image to create material environment(Wednesday) from those elements, which were to be seen, these elements too are created separately, as bricks or panels, and then from åëåìåíòîâ âñ ¸ is under construction).
And about sectors the computer "will think" and to deduce(remove) them.
Such at me think.

Posted: Mon Aug 15, 2005 11:14 pm
by Ylor
Hey, sgi1981, lucky I wrote about what I was doing, I think you just saved me a whole lot of work!! What you have been doing is exactly what I am (was) doing. Thank you! I haven't had time to read through your post exactly, but I'm sure it'll be of a lot of help! [:D]

If you too are thinking about making your own map-maker we should definitely work together. It's a complete waste of time that both of us makes our own environment handlers, script writers, translaters and so on. Though we are working with different languages I'm sure we should be able to use each others compiled classes. [:)]

Well, I've still not decided if I'm really goning to do this project, but I'll get back.. Maybe we should make a new topic about that so that we keep Prosperos wonderful scripting tutorial clean (though we've allready messed it up [:I]).

Posted: Tue Aug 16, 2005 12:08 am
by sgi1981
topic :
sgi1981 topic ¹1

Posted: Tue Aug 16, 2005 9:44 am
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">that so that we keep Prosperos wonderful scripting tutorial clean (though we've allready messed it up )<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

you're right, get out of this topic[}:)][:D]

Posted: Tue Aug 16, 2005 3:05 pm
by sgi1981
Dear Prospero: how with the help scripts to create sectors during game?
For example: as it is done(made) in MariaMod, when the hero comes into the large room - room in the beginning is empty. Then anywhere there are walls and form a labyrinth...

Posted: Tue Aug 16, 2005 10:32 pm
by prospero
See your other topic.[8D]

Posted: Wed Aug 17, 2005 1:06 pm
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by sgi1981</i>

Dear Prospero: how with the help scripts to create sectors during game?
For example: as it is done(made) in MariaMod, when the hero comes into the large room - room in the beginning is empty. Then anywhere there are walls and form a labyrinth...
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

You can find it in the scripts[;)]

Posted: Mon Oct 03, 2005 10:54 pm
by sgi1981
PROSPERO.

You will give further lessons on scripts on BLADE.
I know, that in standard modules scripts BLADE there are a lot of subroutines!
For example, in the module BLADEX my program has learned(found out) such functions

Bladex. GetSector (
Bladex. GetEntity (
Bladex. ActivateInput (
Bladex. DeactivateInput (
Bladex. AddScheduledFunc (
Bladex. GetTime (
Bladex. GetCharType (
Bladex. CreateEntity (
Bladex. CreateSound (
Bladex. GetTimeActionHeld (
Bladex. GetObjectEntitiesVisibleFrom (
Bladex. GetCurrentMap (
Bladex. SetCallCheck (
Bladex. SaveProfileData (
Bladex. StartProfile (
Bladex. DisableProfiler (
Bladex. EnableProfiler (
Bladex. SetEventTableFuncC (
Bladex. SetEventTableFunc (
Bladex. LoadSampledAnimation (
Bladex. SetAnimationFactor (
Bladex. AssocKey (
Bladex. CheckPyErrors (
Bladex. UnBindAll (
Bladex. AddBoundFunc (
Bladex. Bind2 (
Bladex. AddParticleGType (
Bladex. SetParticleGVal (
Bladex. SetSun (
Bladex. GetEntitiesAt (
Bladex. InsideActionArea (
Bladex. AddAnimFlags (
Bladex. AddAnmRStep (
Bladex. AddAnmLStep (
Bladex. AddAnmRRelease (
Bladex. AddAnmLRelease (
Bladex. AddStopTests (
Bladex. AddAnmEvent (
Bladex. AddBipedAction (
Bladex. SetActionEventTable (
Bladex. CreateTimer (
Bladex. TakeSnapShot (
Bladex. SetActionCameraMovement (
Bladex. AddTranTime (
Bladex. AddWatchAnim (
Bladex. ShareAllAnimations (
Bladex. AddTriggerSector (
Bladex. SetTriggerSectorFunc (
Bladex. SetAutoGenTexture (
Bladex. AddInputAction (
Bladex. SetListenerPosition (
Bladex. GetAppMode (
Bladex. RemoveAfterFrameFunc (
Bladex. SetAfterFrameFunc (
Bladex. ActivateInput, (
Bladex. ReadBitMap (
Bladex. AddCombustionDataFor (
Bladex. AnmTypeRSteps (
Bladex. AnmTypeLSteps (
Bladex. LoadLevel, (
Bladex.nEntities (
Bladex. GetScreenXY (
Bladex. CreateBipedData (
Bladex. LoadAnmRaceData (
Bladex. SaveAnmRaceData (
Bladex. AddFloorCTolerance (
Bladex. SetTime (
Bladex. OpenProfileSection (
Bladex. CloseProfileSection (
Bladex. OpenDebugChannel (
Bladex. BodInspector (
Bladex. GetBloodLevel (
Bladex. LoadLevel (
Bladex. ReadLevel (
Bladex. GetNewExclusionGroupId (
Bladex. GetSound (
Bladex. DeleteStringValue (
Bladex. AddMusicEventMP3 (
Bladex. AddMusicEventADPCM (
Bladex. ExeMusicEvent, (
Bladex. GetMusicEvent (
Bladex. SetDrawObjectShadows (
Bladex. ReadAlphaBitMap (
Bladex. GetPTime (
Bladex. GenerateEntityName (
Bladex. SetMouseState (
Bladex. GetMusicVolume (
Bladex. SetMusicVolume (
Bladex. GetAnimationDuration (
Bladex. GetMutilationLevel (
Bladex. CleanArea (
Bladex. GetTriggerSectorFunc (
Bladex. SetTimeSpeed (
Bladex. GetScreenRect (
Bladex. GetTextWH (
Bladex. WriteText (
Bladex. KillMusic (
Bladex. SetTimeSpeed, (
Bladex. KillMusic, (
Bladex. CreateSpark (
Bladex. ExeMusicEvent (
Bladex. RemoveTriggerSectorFunc (
Bladex. SetTriggerSectorFunc, (
Bladex. RemoveScheduledFunc (
Bladex. GetDrawObjectShadows (
Bladex. AddScheduledFunc, (
Bladex. CDStop (
Bladex. SetAppMode (
Bladex. SetMenuTgapFunc (
Bladex. GetMusicEventPriority (
Bladex. AddMusicEventWAV (
Bladex. GetCommandLine (
Bladex. SetTriggerSectorData (
Bladex. GetTriggerSectorData (
Bladex.nSectors (
Bladex. GetTriggerSectorName (
Bladex. GetTriggerSectorGroup (
Bladex. GetTriggerSectorPoints (
Bladex. GetTriggerSectorFloorHeight (
Bladex. GetTriggerSectorRoofHeight (
Bladex.nTriggerSectors (
Bladex. GetLastPlayerCType (
Bladex. ShutDownSoundChannels (
Bladex. PauseSoundSystem (
Bladex. BeginLoadGame (
Bladex. SetCurrentMap (
Bladex. SetSaveInfo (
Bladex. GetSaveInfo (
Bladex. LoadSoundDataBase (
Bladex. SaveSoundDataBase (
Bladex. SaveParticleSystemsData (
Bladex. LoadParticleSystemsData (
Bladex. LoadWorld (
Bladex. GetWorldFileName (
Bladex. SaveCombustionData (
Bladex. LoadCombustionData (
Bladex. ReassignCombustionData (
Bladex. SaveEntitiesData (
Bladex. LoadEntitiesData (
Bladex. LoadMusicState (
Bladex. SaveMusicState (
Bladex. SetCombos (
Bladex. GetCombos (
Bladex. ResumeSoundSystem (
Bladex. DoneLoadGame (
Bladex. GetnScheduledFuncs (
Bladex. GetScheduledFunc (
Bladex. GetnAfterFrameFuncs (
Bladex. GetAfterFrameFuncName (
Bladex. GetAfterFrameFunc (
Bladex. GetnTimers (
Bladex. GetTimerInfo (
Bladex. SetStringValue (
Bladex. DeleteEntity (
Bladex. GetMouseState (
Bladex. CreateDFCAnimation (
Bladex. CreateFCAnimation (
Bladex. SetBloodLevel, (
Bladex. GetStringValue (
Bladex. CreateMaterial (
Bladex. SetDefaultMaterial (
Bladex. DeleteStingValue (
Bladex. SetRunString (
Bladex. StopTime (
Bladex. CloseLevel (
Bladex. Quit (
Bladex. SetAutoEngageCombat (
Bladex. GetAutoEngageCombat (
Bladex. SetAecGap (
Bladex. SetBloodLevel (
Bladex. SetMutilationLevel (
Bladex. GetAecGap (
Bladex. GetSoundVolume (
Bladex. SetSoundVolume (
Bladex. GetSSQuality (
Bladex. SetSSQuality (
Bladex. GetEAXOverride (
Bladex. SetEAXOverride (
Bladex. GetSpeakerConfig (
Bladex. SetSpeakerConfig (
Bladex. GetWindowId (
Bladex. GetCurrentMap! = "Barb-M1": StatusFile.write (
Bladex. GetCurrentMap! = "Ruins-M4": StatusFile.write (
Bladex. GetCurrentMap! = "Dwarf_M3": StatusFile.write (
Bladex. GetCurrentMap! = "Ragnar-M2": StatusFile.write (
Bladex. GetWeaponCombos (
Bladex. SetInputMode (
Bladex. RemoveInputAction (
Bladex. SaveSSConfig (
Bladex. SetRootWidget (
Bladex. GetMapType (
Bladex. AddStepSound (
Bladex. AddMaterialStepSound (
Bladex. AddActionStepSound (
Bladex. GetnParticleGType (
Bladex. GetParticleGType (
Bladex. GetParticleGVal (
Bladex. AddGhostSector (
Bladex. SetGhostSectorSound (
Bladex. GetGhostSectorSound (
Bladex. SaveScreenShot (
Bladex. RestartTime (
Bladex. DrawBOD (
Bladex. PauseSoundSystemButMusic (
Bladex. GoToTime (
Bladex. GetEnemiesVisibleFrom (
Bladex. Bind (
Bladex. GetTimeSpeed (
Bladex. SetSolidMask (
Bladex. SetGhostSectorGroupSound (
Bladex. Input (
Bladex. CloseDebugChannel (
Bladex. RemoveBoundFunc (
Bladex. AddTextureMaterial (
Bladex. GetTrailType (

I do not know till now purpose(assignment) of all these subroutines.

Posted: Tue Oct 04, 2005 1:29 am
by prospero
Yes.....I suppose I know what about half of them are for. Some I have
a vague idea and the rest are mostly a mystery.[8)]


The last one 'GetTrailType' is interesting. I once found the file that defines all the trail properties, but I cannot find it again.[:(]
I have looked all though the files.[:0] I am begining to think I imagined it.[:I]

If anyone finds it, plzzzzzzzzzzzzzzzzzzzz let me know.[:p]

Posted: Tue Oct 04, 2005 2:27 am
by big truck
[:)]
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">I am begining to think I imagined it.
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

No, I don't think so...[8D]


[:)]
In Scripts\Bipeds, I have found the following codes...

Code: Select all

def DefaultTrail(Name):
	import Bladex
	trail=Bladex.GetTrailType(Name)
	trail.Time2Live=0.3
	trail.Color=40,40,40
	trail.Transparency=0.7
	trail.ShrinkFactor=1.0
	


def Init():
	import Bladex
	import netgame
	
	if netgame.GetNetState() == 1:
		DefaultTrail("Default")
		DefaultTrail("EstelaGris1")
		DefaultTrail("EstelaRoja1")
		DefaultTrail("EstelaAmarilla1")
		DefaultTrail("EstelaAzul1")
	else:
		trail=Bladex.GetTrailType("Default")
		trail.Time2Live=0.3
		trail.Color=40,40,40
		trail.Transparency=0.7
		trail.ShrinkFactor=1.0
		
		trail=Bladex.GetTrailType("EstelaGris1")
		trail.Time2Live=0.4
		trail.Color=40,40,40
		trail.Transparency=0.6
		trail.ShrinkFactor=1.0
		
		trail=Bladex.GetTrailType("EstelaRoja1")
		trail.Time2Live=0.6
		trail.Color=70,0,0
		trail.Transparency=0.5
		trail.ShrinkFactor=1.0
		
		trail=Bladex.GetTrailType("EstelaAmarilla1")
		trail.Time2Live=0.6
		trail.Color=40,40,0
		trail.Transparency=0.7
		trail.ShrinkFactor=1.0
		
		trail=Bladex.GetTrailType("EstelaAzul1")
		trail.Time2Live=0.6
		trail.Color=0,0,40
		trail.Transparency=0.7
		trail.ShrinkFactor=1.0

print "Done Trails.Init()"
[8)]

Posted: Tue Oct 04, 2005 3:51 am
by prospero
That's the one BT.[:D][:D][:D]

Thanks a mill.