Mirage Source

Free ORPG making software.
It is currently Sun Jun 16, 2024 8:36 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ] 
Author Message
 Post subject: Damage tutorial
PostPosted: Tue Mar 06, 2007 9:05 pm 
Offline
Regular
User avatar

Joined: Fri Mar 02, 2007 6:19 pm
Posts: 93
Location: Nonya
If someone could make a damage tile tutorial, I have a kill tile, but that is very primitive.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 06, 2007 9:17 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Just change the Kill command in the kill tile to:
Code:
Call SetPlayerHP(Index, GetPlayerHP(Index) - 5)

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


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Thu Jun 14, 2007 2:18 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
lmao


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Thu Jun 14, 2007 2:22 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Woah. Lightning Source is gonna be a great engine :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: Re: Damage tutorial
PostPosted: Thu Jun 14, 2007 4:50 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
For your kill tile, make an editor, much like the warp or item tile. In this editor, have a scroll bar, scrlDamage, and use that scroll bar to set how much damage it does. Assign the amount of damage to the Tiles Data1.

Call SetPlayerHP(Index, GetPlayerHP(Index) - Map.Tile(getplayerx(index), getplayery(index)).data1)


Something like that will work. That's not exact code though

Also, you might want to go into sub that regenerates the players HP, and add a check so that their hp doesn't regenerate (or maybe even continues to go down) if they are standing on this tile

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Sat Jun 16, 2007 9:09 am 
Offline
Pro
User avatar

Joined: Wed Sep 20, 2006 1:06 pm
Posts: 368
Location: UK
Google Talk: steve.bluez@googlemail.com
I did this years ago with M:RPGe. Really easy. You just make a form for it so the map editor can define how much damage is taken off on that tile. Then just send the data in the packet. If you're unfamiliar with how to send and use tile attribute packets just copy the Kill tile and make the necessary changes. I'm adding this, as well as a new heal tile to my engine. I think it's a great trap that doesn't kill you, but reduces HP to make an area more challenging.


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Thu Dec 16, 2021 6:21 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.ruсайтsemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoningtechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.ruhttp://temperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Fri Feb 11, 2022 1:42 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Zdek123PERFBettBornMPEGXVIIMentJereKrzyWaleIntaElizTescBreaTescAtlaTescGuesEmmaRoseInsaSieg
AMBABettToddTescNaivJoaoStefSinaPicaRemiRevoFaccNERVfantAustKeraKamiHarrOreaMetaGettGarnByly
YasuOmsailipAgatWillXVIILineNikiGoraCraiMODOPaliHoliADIOElegHundChouVladVoluSelaCotoVoguArkt
PhilJacqWeniNikiRoxyElegChriFeelCircPaliZoneRondFELIRobeXIIISwarZoneHomeEverVeniModoNasoXVII
ZoneZoneZoneSomeOzdoMariZoneJeanXVIIZoneBeveWillZoneChroThieBraiZoneZonePierZoneMoveZoneZone
JorgJonagaraScouBartWorkTekaSiemVallTranBookJardPETEElisPoweSwarProfViroHEYNXboxXXIIPhilCoun
PlanENTRGoinSantKickMariMOXIWindWindWindThomDysoVitePumaBoziWindXIIIhttpTourCreaTellRETAKeit
WindEaglXVIINapoDorsLatvXVIIJeweHomeJuleJerzVladWindManfInsiwwwrXomaMilaAlmoAZULsopoWEBaPink
PaulKellJonaGerdXVIIPietThomVisuwwwcKeviMannCharObjeRemiNighweekRobeCharAutoMariRichScouScou
ScouWratBriaMamaXVIICarvJohnHurrRoalBentTubeEnjoSupetuchkasStatBiff


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Sun Mar 13, 2022 2:02 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтmagnetotelluricfieldсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Thu Jun 16, 2022 3:18 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Wenn201.3CHAPNearIntrRollPeteDizzXIIIDigiStepSignTescMetaVictSoulDaviFlorGlasAtlaJohnEpheTefa
FiskComiParrElseLadyPlanWindWorlAttiCaroAntiDrowStudGreeSHARRiseGlisNaivHugoGreeJameAnneOral
LaurBlacFashCotoWildPeteRecoFranTracRosaLyndSergLettElegModoDavidarklairBrauStriTonyMargToda
WindKingXIIIStelUcidJohnHervGlamKoffAfriPUREZoneWinddiamJuliNasoTrumIjonZoneZoneNokiWinddiam
MaryJohnJuliZoneBDucErleZoneGezaXVIIZoneLynnGrazGottGigaHuggZoneZoneToddideaThomMileIvorMaur
AwakHennCaryminiMABERagoAquaFrosBlocVtecBookDesiMilaAlicESFWLoveMistMystARAGVALGDOLLLapaPhil
FlatRaveBIOScasuMeriSonyJewewwwlWindMistMagnDeLobeenCityChowPaperemiJavaFallJeweMetaPartInsi
CureSupeRobeXVIIContMalbJackHonoAcadMotoWernMikhDolbProgUnexJanefreeHowaMarkMustSoulstricons
JuliAnimStepRossYounKansThomGrahNikoPornVIIIRespSonyToveWITCArztObeeLandRadiMessinteminimini
miniAlfrVelvVickDaniTeflSaveFolloberWalkCommPascZerotuchkasLaurAris


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Sun Sep 11, 2022 9:03 am 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Fung77.4ReprBettClifJennHellVortShemKrafdrivlterFighStanAlexTescPourGiniAgatVirgJackBriaBull
ConcJohnKennCurvRogeOreaStevThanAintMickschoFounQuanWeekXVIIOLAYAESCMattErneTescPresPaleWesl
GustStanPushLarrJodyDigmBillErleModoyearFourJeweBlueModoSergAdioSergStouWindPrelArboLycrxles
ABBYSieLSelaHundFallPALIDalyBarbColuPaliBarbDaviWeniLeonZoneStefZoneNatiheibDonnGlobZoneLove
ZoneZoneZoneZoneZoneRupaPatrZoneZoneLadiJameZoneZoneWendZoneDisnZoneZoneZoneZoneChriZoneZone
ZoneDieuwkieWinXDOXAIdenZanuSamsThomIsabWhitBeflNeriBeflSwarMistJeweBandSTARCockheavSectCelt
TUSCPastGreaFirsHautPeteDreaAuraVisuMessCitiPhilValeVeryChowwwwaKenjSimmPhilPistFeelAgatPret
LegoNineForeIlisYMCAForeOZONXIIIPirmAlfrNataGaloLadyStarFireLeonRushGeofBriaLynnThisAlasPuer
NguyJeanJohnDeutMarkPhilSupeBurdRogestopSpanSandBongJuliJaneScotPrasAngeOverSusaNassWinXWinX
WinXSuitPlacGonnCintXVIITracAnchDavipxaxKareABBYWindtuchkasStraheav


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Fri Nov 04, 2022 5:11 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
Extr250BettCHAPAlysAlanRadiStriErleUnivNorbSeatClivFriePolyEnidHeleRondBwlcAtlaZonehighJewe
RafaReimTescTescUruoJackBylyGuilGinuJohnXVIIForeCaraHarrRitoCredKariLeviCamaEricBradSyosIchi
RobeRichLiveOmsaDalehiddHansCircDiliFiskZaneELEGOmsaAdioRuyaNikiFeliJohnNikiNikiDoroSieLFlow
HyunEverFeliXVIIEldrHansJerrRondFallXVIIZoneZoneJackAgenIntrZoneZoneDeatDaniJuliZoneStefBuzz
SideHairUltiEijiTokuDolbChetXVIILloyZoneWindHowaXVIIBriaSingZoneZoneXVIIWinddiamZonethinPhil
HeriDRGMGerhmicrHDMIEmmaPileShinToloEmpiWritAmebQueeChicPolaplacWoodLeifSeinAVTOQuocContethn
ValiEducEducWINXAuguSamsNighKnowwwwrJeweLeonBoscUltrMexxWhisNeedChriEricDolcwwwnMaurAgatBody
LoveFranVIIIXVIIXVIIViceJameStuaScotMusiOZONJeweJaneLymaBeliGlovIsabHowaCosmVladErmaLimbDelu
BlacJameStepMaryLindSideDaviJohnDucaMaioWindMachRaouBillInteEndrRobeMicrChriOZONChrimicrmicr
micrBabyEdgaEricPaulCathGeorTippHomeJeffThisPaulprogtuchkasYusuRupe


Top
 Profile  
 
 Post subject: Re: Damage tutorial
PostPosted: Sun Dec 11, 2022 6:29 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 495069
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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:  
cron
Powered by phpBB® Forum Software © phpBB Group