Mirage Source

Free ORPG making software.
It is currently Sun Apr 28, 2024 9:05 pm

All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: frmMapeditor
PostPosted: Fri Apr 06, 2007 11:22 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
Can someone make a tutorial, or Explain how I can make a separte form for my mapeditor? I hate having it in my frmMirage and I can't find a way to make it a seperate form in the source -_-.

Thanks for your time.

-- Styre


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 4:54 am 
Offline
Pro
User avatar

Joined: Wed Sep 20, 2006 1:06 pm
Posts: 368
Location: UK
Google Talk: steve.bluez@googlemail.com
You can use the Oasis v0.3.0 source to figure this out. It may even be possible to rip it. http://www.os.nevetsweb.com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 6:14 am 
try downloading an Elysium Diamond source and look how they did it.

http://www.elysium.splamm.com


Top
  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 8:10 am 
Offline
Knowledgeable
User avatar

Joined: Mon May 29, 2006 11:38 am
Posts: 293
Location: Cambridge, UK
Or don't be a lazy source ripper and learn?

_________________
Image
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 8:17 am 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
I'd prefer the last. That's why I asked for help here -_-. But I'll look at those sources and see how they did it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 8:17 am 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
It's actually a pretty good way to learn to rip from source codes. As long as you give proper credit, who cares anyways?

When i went to MS from Konfuze, i tried ripping a bunch of Konfuze's features, it helped me to learn a lot.

_________________
Image
Image
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 9:27 am 
Offline
Knowledgeable
User avatar

Joined: Mon May 29, 2006 11:38 am
Posts: 293
Location: Cambridge, UK
Obsidian wrote:
It's actually a pretty good way to learn to rip from source codes. As long as you give proper credit, who cares anyways?

When i went to MS from Konfuze, i tried ripping a bunch of Konfuze's features, it helped me to learn a lot.


Fair play, people are different back in the day when I copy and pasted I didn't learn much.

_________________
Image
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 1:01 pm 
It's really not hard, move all the controls and the code to a new form. Find where it calls all the stuff for the mapeditor and change frmMirage to frmMEdit or frmMapEditor or w/e you decide. It's REALLY simple.


Top
  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 4:13 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
i guess i wasn't trying rip stuff as easy as the map editor. here's a basic rundown of what you need to do.

basically move the entire picMapEditor to a new form that you create. Then everywhere in the code, change the frmMirage.picMapEditor, to frmMapEditor (.visible, etc.)... it really is quite simple to do.

_________________
Image
Image
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 10:53 am 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
Tried what Obsidian said. It words fine expecpt for 1 thing. I have no buttons at all on my editor. And I can't seem to find where it comes from.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 11:35 am 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Styre wrote:
Tried what Obsidian said. It words fine expecpt for 1 thing. I have no buttons at all on my editor. And I can't seem to find where it comes from.

You need to move the code from frmMirage that are related to the buttons to frmMapEditor.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 12:04 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
Did that.

I'll edit with a screenie in a sec.

EDIT: My MApeditor when I open it In game

Image

It should look like the basic Mirage Mapeditor


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 1:54 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Make sure the picture box is visible and you don't change the visibility in the code.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 2:39 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
I didn't change any options when transferring it to a form, and I don't think my code says it needs to be like that look:

Code:

' // MAP EDITOR STUFF //
Option Explicit

Private Sub optLayers_Click()
    If optLayers.Value = True Then
        fraLayers.Visible = True
        fraAttribs.Visible = False
    End If
End Sub

Private Sub optAttribs_Click()
    If optAttribs.Value = True Then
        fraLayers.Visible = False
        fraAttribs.Visible = True
    End If
End Sub
Private Sub picBackSelect_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
    Call EditorChooseTile(Button, Shift, x, y)
End Sub

Private Sub picBackSelect_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
    Call EditorChooseTile(Button, Shift, x, y)
End Sub

Private Sub cmdSend_Click()
    Call EditorSend
End Sub

Private Sub cmdCancel_Click()
    Call EditorCancel
End Sub

Private Sub cmdProperties_Click()
    frmMapProperties.Show vbModal
End Sub

Private Sub optWarp_Click()
    frmMapWarp.Show vbModal
End Sub

Private Sub optItem_Click()
    frmMapItem.Show vbModal
End Sub

Private Sub optKey_Click()
    frmMapKey.Show vbModal
End Sub

Private Sub optKeyOpen_Click()
    frmKeyOpen.Show vbModal
End Sub

Private Sub scrlPicture_Change()
    Call EditorTileScroll
End Sub

Private Sub cmdClear_Click()
    Call EditorClearLayer
End Sub

Private Sub cmdClear2_Click()
    Call EditorClearAttribs
End Sub



Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 2:43 pm 
The main image you copied over, set it's visible attrib to true.


Top
  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 2:48 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
Yeeey thanks Advocate ,, I was checking the forms visibility for true -_- I hate it when I overlook something simple.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 2:56 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Yeah, no thanks "Robin" who pointed out the picture box was invisible :roll:

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 3:00 pm 
Haha. Yeah, the credit really does go to Robin. I just put what he said in simpler terms. ^_^


Top
  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 3:09 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Let's share the credit!

[/gay moment]

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 3:11 pm 
Offline
Regular

Joined: Thu Mar 22, 2007 3:32 pm
Posts: 31
meh ,, not as gay as a school mate of me is -_- alright cookie for Robin as he had the Idea first


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 3:21 pm 
I dunno if I wanna share anything with you Robin. O_o

Specially since that was a gay moment of yours.

*Hides*


Top
  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 3:35 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Advocate wrote:
I dunno if I wanna share anything with you Robin. O_o

Specially since that was a gay moment of yours.

*Hides*


Hey, I don't get turned on by guy's who are taken.

But stay away from Kenko for a while.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 09, 2007 3:37 pm 
Why am I staying away from Kenko? He hates me, remember?

Btw, we're going to get this thread locked prolly. O_o

Problems fixed though, by us, so maybe we won't get into trouble.

XD


Top
  
 
 Post subject: Re: frmMapeditor
PostPosted: Thu Dec 16, 2021 7:41 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 490984
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
 Post subject: Re: frmMapeditor
PostPosted: Fri Feb 11, 2022 2:18 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 490984
Mari257PERFBettRaelMollNeveVoglXVIICentKeikSkypLiesXVIIGregMetaSpecShinwwwgTerrDulcBrucStev
RondSladProgAtlaAdobXIIIWillSummMiguDereMistTickStraRebeDickRexoPalmThomMennCeylTescSunsNott
MicrSieLElegXVIIABECRomaLoveBandRickGeorMODOSamuPariCircHeavCircKoffWoodsizeNikiCaprCotoHerb
WillPushSelaELEGPaliVentMichThrePaliPaliZoneRondSilvAlexBATTFuxiZoneUmbrMarySamuELEGSwarBarn
ZoneZoneZoneWillJennEdouZoneZoneVIIIZoneAgatXVIIZoneSailLawrWindZonediamWashZoneClasZoneZone
MichGottAnnoCasiFlayRockHotpZanuOlivMajoMatiPostEnjoDamiMWReExpePoweAutoSTARLionJeffEncyFolk
RegiDotsEditRobeHautStefDreaAdobWindFlanWundUnitValeVersPediwwwnJeweJorgndexJohaLillEdwaFrie
AnatMagiLeonRichXXIIJohnVictSystXeliXVIIEdwaJeffVasiDigiOxidGreaJeweVIIIWarwAudiVivaHiddIain
SergEleaAlbeGerdZettXVIIVideHardExceJerrRighStudTotaMarkKeviFranStevMichHomeCustWindCasiCasi
CasiMotlJakuIntrJemmDrawsuppTresRobeRebeJeweminuMPEGtuchkasStepTibe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group