Page 1 of 1
Why does MOHAA scripting have to be so difficult?
Posted: Mon Dec 01, 2003 10:24 pm
by m4rine
Why does it? I know the game is on a weird engine (like Quake 3 + modifications + modifications + modifications) but why can't it be like PHP? That would so much easier (even i would be able to do it). If you wanted to print a message when a player walks through a door in PHP it would be like this:
Code: Select all
if ( $player_walk_through == $door )
{
print "You walked through the door!";
}
simple. but with MOHAA scripting it would be like, well i don't actually have a clue, but i have seen it done and while i understood the logic in it, the syntax was a load of bollocks. I am going to attempt to learn how to moh script - but i cant find a simple down-to-earth tutorial on how to get started - like a MOHAA scripting in easy steps sort of tut.
No script
Posted: Mon Dec 01, 2003 11:20 pm
by tltrude
You don't need scripting for that. Just place a trigger_multiple in the opening and set the following key/value.
Key: message
Value: You walked through the door!
Key: wait
Value: 5
The wait is to keep it from blinking.
Posted: Tue Dec 02, 2003 12:45 am
by omniscient
um, even i knew that, and im an idiot. MoHAA scripting can be learned mostly by common sense. its the syntax thats hard, but even thats not to difficult. as far as a tut bjarne has a great one, but i forgot the site hehe. i bet he will post it here though.
Posted: Tue Dec 02, 2003 11:35 am
by Angex
Try here :
http://www.planetmedalofhonor.com/rjuka ... guage.html
Also look through the documentaion that comes with the MoHRadiant there's some handy stuff in there too.
Posted: Tue Dec 02, 2003 3:26 pm
by Bjarne BZR
omniscient wrote:um, even i knew that, and im an idiot. MoHAA scripting can be learned mostly by common sense. its the syntax thats hard, but even thats not to difficult. as far as a tut bjarne has a great one, but i forgot the site hehe. i bet he will post it here though.
Its actually here on .MAP as well. In the reference tutorial section.
Posted: Wed Dec 03, 2003 7:59 pm
by m4rine

i never knew that oh well i'm thick but which tut is it in i've got 36 of the .map tuts saved on my pc so i do read them (i have to or i'd be completely without a clue

)
omniscient wrote:its the syntax thats hard
m4rine wrote:i understood the logic in it, the syntax was a load of bollocks
exactly what i said

Posted: Wed Dec 03, 2003 11:14 pm
by Bjarne BZR
It's this one:
/t.php?id=82
...with these 3 appendixes:
/t.php?id=83
/t.php?id=84
/t.php?id=85
Posted: Thu Dec 04, 2003 2:57 pm
by m4rine
Posted: Thu Dec 04, 2003 3:50 pm
by jv_map
lol

good luck scripting

make sure to enjoy

.
Posted: Thu Dec 04, 2003 11:32 pm
by Bjarne BZR
m4rine wrote:I actually think it is quite simple, and as i know PHP it will prob be quite easy to learn.
He he, well sometimes you just need a little pointer and all works out great. Looking forward to some wicked scripting from U in the future then M8

Posted: Thu Dec 04, 2003 11:45 pm
by omniscient
it also has a relation to an old old OLD language, GWBaisic, when u do the math type functions.